Fatal error after selecting theme
-
Hi,
I have the following problem (see below) in a localhost based site, which I restored (or actually migrated would be the more correct term) from a previous back-up.
After doing the restoration using updraft-plus (with which I had done the back-up previously) I replaced the references to the urls of the original site with the ones of the current site.
After selecting the theme, when I try to login, that is calling the url https://localhost/p4r (which is where the backup is now running) I get the following message:Fatal error: Uncaught Error: Call to undefined function create_function() in D:\xampp\htdocs\p4r\wp-content\themes\peak\framework\option-tree\includes\ot-functions-admin.php:69 Stack trace: #0 D:\xampp\htdocs\p4r\wp-includes\class-wp-hook.php(303): ot_register_theme_options_page('') #1 D:\xampp\htdocs\p4r\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 D:\xampp\htdocs\p4r\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #3 D:\xampp\htdocs\p4r\wp-settings.php(578): do_action('init') #4 D:\xampp\htdocs\p4r\wp-config.php(96): require_once('D:\\xampp\\htdocs...') #5 D:\xampp\htdocs\p4r\wp-load.php(50): require_once('D:\\xampp\\htdocs...') #6 D:\xampp\htdocs\p4r\wp-admin\admin.php(34): require_once('D:\\xampp\\htdocs...') #7 D:\xampp\htdocs\p4r\wp-admin\index.php(10): require_once('D:\\xampp\\htdocs...') #8 {main} thrown in D:\xampp\htdocs\p4r\wp-content\themes\peak\framework\option-tree\includes\ot-functions-admin.php on line 69 There has been a critical error on this website. Please check your site admin email inbox for instructions.
and can’t access the admin interface any longer. However the site itself is still running
What can I do to access the admin interface (and fix the problem which is apparently have to do with the theme I am using)?
- The topic ‘Fatal error after selecting theme’ is closed to new replies.