This topic has 13 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson
PLEASE HELS! After placing a css code in function.php this happend
Fatal error: Uncaught Error: Call to undefined function et_get_static_blocks() in /var/www/lecc.dk/public_html/wp-content/themes/legenda/framework/vc.php:777 Stack trace: #0 /var/www/lecc.dk/public_html/wp-includes/plugin.php(525): etheme_VS_setup(”) #1 /var/www/lecc.dk/public_html/wp-settings.php(392): do_action(‘init’) #2 /var/www/lecc.dk/public_html/wp-config.php(99): require_once(‘/var/www/lecc.d…’) #3 /var/www/lecc.dk/public_html/wp-load.php(37): require_once(‘/var/www/lecc.d…’) #4 /var/www/lecc.dk/public_html/wp-blog-header.php(12): require_once(‘/var/www/lecc.d…’) #5 /var/www/lecc.dk/public_html/index.php(17): require(‘/var/www/lecc.d…’) #6 {main} thrown in /var/www/lecc.dk/public_html/wp-content/themes/legenda/framework/vc.php on line 777
More info
Hello,
Please specify what code exactly you have added and the direct path to the file. As I see functions.php file in the directory wp-content/themes/legenda doesn’t have any custom code.
Thank you.
Best regards,
Jack Richardson.
thank you for reply.
i followed this link and added one of the css codes in function.php
https://wordpress.org/support/topic/remove-sale-tag-on-product-image
we have removed the css again, but this error is still there
can you please try to make it work.
Thank you in advance
Hello,
As I see you’re using old theme version 2.9.
May we update the theme?
Best regards,
Jack Richardson.
yes for sure. thank you
Can you correct this mistake I have made?
Can you update me thank you?.
Hallo?
Hello,
Please take our apologies for a delay.
I’ve updated the theme for you. Please clear browser cache and check the site.
Best regards,
Jack Richardson.
THANK YOU SO MUCH!!!
Hello,
You are welcome.
Best regards,
Jack Richardson.
The issue related to '‘Fatal error: Uncaught Error: Call to undefined function et_get_static_blocks()’' has been successfully resolved, and the topic is now closed for further responses