Support

Home Forums Translations Default object from empty value – line 69 error

Default object from empty value – line 69 error

Posted: June 26, 2014 at 1:08 pm

Viewing 1 reply thread


Robert Hanna

June 26, 2014 at 1:08 pm

Hi there, I’ve been an EE3 user for a few years, and all of a sudden on one of our sites we started getting this error:
Warning: Creating default object from empty value in … templates/registration_page.php on line 69

Does anyone know what this is for? We are using Version 3.1.21.P.2640, and an updated WP and TwentyEleven theme.

Thanks, Rob


Lorenzo Orlando Caum

  • Support Staff

June 26, 2014 at 1:45 pm

Hi Robert,

Warnings like those will appear if you are running older software. Note that a PHP Notice or Warning is not an error message.

You can update which should clear theses messages and then turn debug display off through the following WP Debug macro:

define('WP_DEBUG', false);
  if (WP_DEBUG) {
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 0);
}

The macro above should go into your wp-config.php file and should replace any existing debugging macro. If the warning does not go away, then check with your web host about turning off display errors through the php.ini file.

Cheers


Lorenzo

Viewing 1 reply thread

The support post ‘Default object from empty value – line 69 error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso