Archived topic
Theme and Child Theme errors
1 reply · Started by troyw on September 13, 2022
Hey team,
I have been having many, many problems with this website recently, most due to Woocommerce I hasten to add. As we explore the many errors, we have come across these two, which Woocommerce have suggested I raise with you.
The first appears to be with the GP Theme itself;
2022-09-13T05:40:28+00:00 CRITICAL Uncaught Error: Call to undefined function create_function() in /srv/htdocs/wp-content/themes/generatepress/functions.php:10
The other is with my Child Theme;
2022-09-13T06:06:06+00:00 CRITICAL Uncaught Error: Call to undefined function generate_do_microdata() in /srv/htdocs/wp-content/themes/generatepress-child/header.php:20
Are you able to offer any ideas as to what these errors are and how I can resolve these?
Thanks
Hi Troyw,
As a standard step for debugging, can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/
If that doesn't work, may we know what PHP version you're using in this site?