Critical Error on theme ThingReal

Latest Reply from inkedkoi at 2024-08-17 11:38:53
Hello,

I'm dealing with a critical Wordpress error with the ThingReal theme when its activated. So, to debug I've uploaded a fresh copy of the ThingReal theme with zero edits to see if the error happens with zero customizations under a WP-Staging. Sure enough the theme does break and so the Debug log shows this is the culprit for the theme break:


Fatal error: Uncaught Error: Call to undefined function create_function() in /home/XXXXXX/public_html/1723912986685/wp-content/themes/thingreal_test/inc/widgets/facebook.php:121

Stack trace: #0 /home/XXXXXX/public_html/1723912986685/wp-content/themes/thingreal_test/functions.php(102): include_once()

#1 /home/advantag/public_html/1723912986685/wp-settings.php(668): include('/home/XXXXXX/...')

#2 /home/XXXXXX/public_html/1723912986685/wp-config.php(115): require_once('/home/XXXXXX/...')

#3 /home/advantag/public_html/1723912986685/wp-load.php(50): require_once('/home/XXXXXX/...')

#4 /home/advantag/public_html/1723912986685/wp-admin/admin.php(34): require_once('/home/XXXXXX/...')

#5 /home/advantag/public_html/1723912986685/wp-admin/themes.php(10): require_once('/home/XXXXXX/...')

#6 {main} thrown in /home/XXXXXX/public_html/1723912986685/wp-content/themes/thingreal_test/inc/widgets/facebook.php on line 121



How might this be fixed?
Thank you :)

Leave a reply

Add codeAdd image