Support

Account

Home Forums General Issues Blank Page when Theme Activated

Solved

Blank Page when Theme Activated

  • Hi there,

    I’m getting a blank page and the following Debug errors when I activate a theme with ACF installed, setup and activated.

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /mnt/stor3-wc2-dfw1/507041/blog.arnoldfurnace.com.au/web/wp-content/wp-includes/functions.php on line 3017
    
    Warning: Cannot modify header information - headers already sent by (output started at /mnt/stor3-wc2-dfw1/507041/blog.arnoldfurnace.com.au/web/wp-content/wp-includes/functions.php:3019) in /mnt/stor3-wc2-dfw1/507041/blog.arnoldfurnace.com.au/web/wp-content/wp-includes/pluggable.php on line 899

    If you can think of any way to fix this, that would be awesome.

  • Actually just solved this. The theme was using ACF lite, and so I just commented out the middle row in the following code:

    define( 'ACF_LITE', true );
    //include_once('theme-utilities/includes/acf/acf.php');
    include_once('theme-utilities/includes/acf/acf-config.php');

    Seems to work for now, but if you have a better idea, please let me know!

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Blank Page when Theme Activated’ is closed to new replies.