-
AuthorPosts
-
June 19, 2021 at 11:21 am #1306504
Hi
I am getting this warning at the top of all pages. I cannot access Admin (all I get is this message below) and do not understand how to fix it. Help please?
Warning: Creating default object from empty value in /home/customer/www/leeaspland.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/leeaspland.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php:28) in /home/customer/www/leeaspland.com/public_html/wp-includes/pluggable.php on line 1329
Thanks
Lee
June 19, 2021 at 4:44 pm #1306513Hi
Am getting the same issues as the other user on this site https://www.swansg.org/
Warning: Creating default object from empty value in /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php:28) in /home/customer/www/swansg.org/public_html/wp-includes/pluggable.php on line 1329
Trying to access the admin site all results in the following:
Fatal error: Uncaught Error: Call to undefined method avia_sc_post_metadata::popup_key() in /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/post_metadata/post_metadata.php:147 Stack trace: #0 /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(850): avia_sc_post_metadata->popup_elements() #1 /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(77): aviaShortcodeTemplate->extra_config() #2 /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/post_metadata/post_metadata.php(72): aviaShortcodeTemplate->__construct(Object(AviaBuilder)) #3 /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1373): avia_sc_post_metadata->__construct(Object(AviaBuil in /home/customer/www/swansg.org/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/post_metadata/post_metadata.php on line 147
Please advise on how to fix this.
Thanks
June 19, 2021 at 6:19 pm #1306521Hi
Update on this error – hosting had been upgraded to later version of PHP and wasn’t compatible with the version of Enfold the site was running.
Changed the PHP version to an older version, updated Enfold, applied the newer version of PHP and all works.
June 20, 2021 at 12:35 pm #1306558That was helpful WWTdigital. When I go back to the old PHP version the site
works. Enfold was up to date anyway. Then I re-updated PHP and Enfold does not work properly. Where does the problem lie? With Enfold I think.June 21, 2021 at 6:27 am #1306652Hi Lee,
Could you try updating the theme to the latest version (4.8.3) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
RikardJune 21, 2021 at 10:29 am #1306690Hi Rikard
That has all worked thanks. Why was the theme not updating?
Cheers
Lee
June 22, 2021 at 10:23 am #1306896Hi Lee,
I’m not sure to be honest with you, did you add the token in the backend before you updated? If you should have problems with the automatic updates in the future, then please try installing this plugin: https://envato.com/market-plugin/
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.