Fatal Error with Widgets
-
Hello,
When I upgraded from 2.9.1 to 2.9.2 using the automatic upgrade, I had various fatal errors. The first one was when I logged into wordpress I could no longer access my dashboard. It gave me a fatal error:Fatal error: Call to undefined function wp_dashboard_setup() in /home/username/public_html/wp-admin/index.php on line 15
I managed to find a fix for this by doing the following:
Change this line in wp-admin/index.php:
require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);
to this line:
require_once(‘./includes/dashboard.php’);I am not sure if this was a good idea but it works. I wouldn’t want this to create more problems?
The second issue is when I want to access my widgets from the dashboard I get the following fatal error:
Fatal error: Call to undefined function wp_list_widgets() in /home/leysin9/public_html/leysinpark.ch/wp-admin/widgets.php on line 351
I have tried many things and cannot find a fix.
Could someone please help me.Thank you very much,
Blaise Hefti
My widgets.php file looks like this:
[Code moderated] Please use a pastebin for more then 20 lines of code.
- The topic ‘Fatal Error with Widgets’ is closed to new replies.