Okay
  Public Ticket #2820698
Warning: Creating default object from empty value
Closed

Comments

  •  1
    c7movieman started the conversation

    Hi,
    I’m receiving this error:

    `Warning: Creating default object from empty value in /home/customer/www/blacksmithroofing.com/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_filesystem.php on line 29
    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/blacksmithroofing.com/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_filesystem.php:29) in /home/customer/www/blacksmithroofing.com/public_html/wp-includes/pluggable.php on line 1329`

    However, I cannot access the file the error refers to.

    Any help is appreciated,

    Thank you

  •  1,919
    Judith replied

    Hi There,

    Thanks for contacting us.

    That message would occur when using PHP 7.4+ on your server along with an outdated version of Salient (less than v13). You can remove it by updating to the latest theme version: http://themenectar.com/docs/salient/updating-salient/

    Kind regards,

  •  1
    c7movieman replied

    Thank you very much!

    I am unable to log in to the wp-admin of the website to upgrade due to the error. Is there another method to update the latest theme version without access to the administrator section?

    I downgraded the PHP version to 7.3 to see if that would allow me access, however, the error still appears.

  •  1,919
    Judith replied

    Hi There,

    Please check this out:https://blogvault.net/cant-access-wordpress-admin-login/.

    Thanks.

  •  8,938
    Tahir replied

    Hey Again,

    Downgrading to PHP 7.3 has worked for some users. Are you on the latest version of Salient 13.0.5 ?. 

    You can turn off the Warnings and then login. Please see: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/ . 

    Thanks


    ThemeNectar Support Team 

  •  1
    c7movieman replied

    Thank you for the responses. Unfortunately, none of the options from blogvault.net/cant-access-wordpress-admin-login applied. I am unable to see what version of Salient I am running. I'd be happy to upgrade, but I can't access the wp-admin area due to the error. I followed the like provided, however, after following the instructions, the error messages continues to display on the wp-admin page.

  •  1
    c7movieman replied

    Amendment to the last response. I was able to comment out a small bit of code in class.redux_filesystem.php and it allowed access to the admin login page. I was then able to make the necessary updates and all is working now. Thanks for the assistance!!

  • sovereignApe replied

    Hi,

    I am getting these two errors when trying to log in:

    Warning: Creating default object from empty value in /home/customer/www/riverviewdrywall.ca/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_filesystem.php on line 29 Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/riverviewdrywall.ca/public_html/wp-content/themes/salient/nectar/redux-framework/ReduxCore/inc/class.redux_filesystem.php:29) in /home/customer/www/riverviewdrywall.ca/public_html/wp-includes/pluggable.php on line 1340

  •  8,938


    ThemeNectar Support Team