Warning: Creating default object from empty value in… after the new wordpress 4.3

Asked on August 27, 2015 in Troubleshooting.
Answered

I can’t edited my site anymore it is saying this: Waring: Creating default object from empty value in…. Can anyone help me?

oscarmadsen Layers User
Reply
  • Possible Answers to Your Question:

  • 2 Answer(s)
    Answered on August 27, 2015. Best answer

    Hi there,

    1. Make sure Layers has been updated to 1.2.4
    2. Deactivate all plugins if the issue persists. If that solves it, you have a plugin that needs to be updated before it wil work well with 4.3
    3. Make sure WP_DEBUG is set to false in your wp-config.php:
    
    define('WP_DEBUG', false);
    
    
    Vail Joy Layers Team
    Reply
    Answered on August 27, 2015.

    I edited the wp-config.php and added these lines, it worked for me:

    define('WP_DEBUG', false);
    ini_set( 'display_errors', 0 );
    Reply