-
AuthorPosts
-
March 17, 2018 at 8:32 am #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 358I 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-922490I 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.
March 17, 2018 at 8:33 am #928402I am sorry forgot to provide my website http://www.bldcpump.com
March 18, 2018 at 7:54 am #928631Hi,
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,
RikardMarch 23, 2018 at 12:32 pm #931947we are experiencing the same problem, did the header change resolve the issue @jarredzhang?
March 23, 2018 at 2:12 pm #931969Can confirm we are also getting 500 error on a single product since this update.
March 24, 2018 at 7:41 am #932238Hi 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,
VictoriaMarch 27, 2018 at 11:12 am #933571I 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.
March 28, 2018 at 6:39 am #934018Hi jarredzhang,
You just need to turn off debug display:
If you need further assistance please let us know.
Best regards,
Victoria- This reply was modified 6 years, 7 months ago by Victoria.
March 28, 2018 at 4:16 pm #934382Dear 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
March 28, 2018 at 7:13 pm #934440Hey!
Could you please post FTP logins here privately here as well? Issue does not seem to be related to theme files.
Cheers!
YigitMarch 28, 2018 at 7:48 pm #934466I’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
March 28, 2018 at 8:06 pm #934477Applied 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.
March 28, 2018 at 10:20 pm #934577Hi,
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 -
AuthorPosts
- The topic ‘Enfold 4.2.6 update problem’ is closed to new replies.