Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #928399

    Yesterday, after I upgraded my Enfold Child theme to 4.2.6, I have encountered this problem:
    At the top of my website, it appears two notice message:

    Notice: Undefined index: use_standard_lightbox in /home/bldcpump/public_html/wp-content/themes/enfold/functions.php on line 329
    Notice: Undefined index: use_standard_lightbox in /home/bldcpump/public_html/wp-content/themes/enfold/functions.php on line 358

    I searched the forum and found out somebody also encountered the same problem:
    https://kriesi.at/support/topic/enfold-4-2-6-blank-screen-after-upgrade/#post-922490

    I have upgrade my PHP version to PHP7.0 and I really don’t know how to solve this problem, could you provide some help? I will attached WP admin logins information in the private content.

    If you can not help, please could you send the old version Enfold? I want to downgrade my theme.

    In addition, is there any way to stop receiving the theme update notice? In fact, it is a real risk for my website.

    #928402

    I am sorry forgot to provide my website http://www.bldcpump.com

    #928631

    Hi,

    Sorry for the problems. Did you try to replace the content of your header.php file with the content in this reply?

    If you are updating your production site without doing any checks then updating anything can be a real risk, any update can potentially crash your site. If you should need a process to keep your site safe on updates then I would recommend something like this.

    Best regards,
    Rikard

    #931947

    we are experiencing the same problem, did the header change resolve the issue @jarredzhang?

    #931969

    Can confirm we are also getting 500 error on a single product since this update.

    #932238

    Hi mrkuji and hotspot,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
    Can you please check server log for error?

    Best regards,
    Victoria

    #933571

    @Rikard @Victoria

    I am sorry for the late reply. I have replaced the header.php content as Rikard’s suggestion. But it did not work! I have provided my admin access in the private content, could please help to look and solve it?

    In addition, could you please send the old version Enfold? I want to downgrade my theme.

    #934018

    Hi jarredzhang,

    You just need to turn off debug display:

    Debugging WordPress: How to Use WP_DEBUG

    If you need further assistance please let us know.
    Best regards,
    Victoria

    • This reply was modified 6 years, 7 months ago by Victoria.
    #934382

    Dear Victoria,

    Thank you for reaching out!

    When I added the following code to my wp-config.php file, it showed me other error message.

    // Turn debugging on
    define(‘WP_DEBUG’, true);

    // Tell WordPress to log everything to /wp-content/debug.log
    define(‘WP_DEBUG_LOG’, true);

    // Turn off the display of error messages on your site
    define(‘WP_DEBUG_DISPLAY’, false);

    // For good measure, you can also add the follow code, which will hide errors from being displayed on-screen
    @ini_set(‘display_errors’, 0);

    The error message is:

    Notice: Constant WP_DEBUG already defined in /home/bldcpump/public_html/wp-config.php on line 84

    Notice: Constant WP_DEBUG_LOG already defined in /home/bldcpump/public_html/wp-config.php on line 87

    Notice: Constant WP_DEBUG_DISPLAY already defined in /home/bldcpump/public_html/wp-config.php on line 90

    When I only added singe code:

    // Turn off the display of error messages on your site
    define(‘WP_DEBUG_DISPLAY’, false);

    It also showed me error message.

    How should I do now?

    And Why this problem did not appear in the previous upgrade? Could you please send me a older version Enfold theme so that I can solve this problem temporary?

    best regards,

    Jarred

    #934440

    Hey!

    Could you please post FTP logins here privately here as well? Issue does not seem to be related to theme files.

    Cheers!
    Yigit

    #934466

    I’m having this issue also!
    Please help!
    I updated everything through the actual theme update function within Admin panel. Now I’m getting:

    [28-Mar-2018 17:47:37 UTC] PHP Fatal error: Can’t use function return value in write context in /home/dishclip/public_html/<sitename>/wp-content/themes/enfold/header.php on line 6

    #934477

    Applied the fix that was recommended in the other post. It was a good wake up call to find out I’m still using PHP 5.4 but would have been nice if enfold theme had accounted for this possibility. The whole site crashed and crashed hard with 500 error. It wasn’t actually obvious that this was the issue until I disabled all the plugins because this wasn’t the first error I was getting.

    #934577

    Hi,

    We are sorry that it was not working previously right and we didnt taken that in consideration.
    Thank you for letting us know, pelase fee free to create a new ticket if you need soemthign else.

    Best regards,
    Basilis

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Enfold 4.2.6 update problem’ is closed to new replies.