• I just install a Theme (German Newspaper), and when I runned it, I don’t see any of may widgets in the sidebar, so I reinstall my previous theme (Breaking News) to see what problems have the newest, but my surprise was, that, I can management my widget anymore:

    Fatal error: Call to undefined function add_meta_box() in /home4/XXXXXX/public_html/XXXXXXX/wp-admin/includes/dashboard.php on line 129

    Before this I had login in the widget’s dashboard without problms.

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter boylucas

    (@boylucas)

    Ok I know my English is horrible, but realy need your help, I hope that you could help me…

    Remember, my widgets’ dashboard was working well, but after I tried that theme, it ceased to function and when I click the link, it only says “Fatal error: Call to undefined function add_meta_box() in /home4/XXXXXX/public_html/XXXXXXX/wp-admin/includes/dashboard.php on line 129”

    I have the same problem trying to switch from “Breaking News”, so I think we have found the culprit.

    Question is, what can be done about it?

    Call to an undefined function is almost always a missing or corrupt file. Somewhere a file got switched between new and old or left out when you reinstalled.

    Sounds like we can either uncomment the call for add_meta_box in dashboard.php, or replace the corrupted/missing file to solve this then.

    Unfortunately, I don’t know which is safer, and have no idea where to put the function php-file (or where to get it in the first place)

    Any ideas/expert advice?

    dashboard.php is in wp-admin/includes. Before moving any files you might compare file sizes/dates with a fresh copy of 2.7. You should be able to do this using your ftp program.

    I have exactly the same problem after upgrading to version 2.7 – when I click on widgets in my dashboard I get the same error. I used the automatic upgrade option and have just tried downloading version 2.7 and uploaded just the dashboard.php file and this has made no difference – there is a problem with lne 129 on the dashboard.php as noted above with the following error – Fatal error: Call to undefined function add_meta_box() in /mounted-storage/home43a/sub002/sc32306-YRBZ – please help

    Fatal error: Call to undefined function add_meta_box() in /mounted-storage/home43a/sub002/sc32306-YRBZ

    Where is the dashboard php here?

    This is really simple. Thoussands of people use WP with no problem. Call to undefined function is a missing or contaminated file (especially if your blog was working fine before the upgrade). I have seen people download the files 5 times and finally get it right. Follow this http://codex.wordpress.org/Upgrading_WordPress_Extended , make sure your db is backed up.

    I used the automatic upgrade and the end of the error has this on it – wp-admin/includes/dashboard.php on line 129, as above

    The auto upgrade is a plugin that takes you through all the steps as shown on the link you placed above, also, I extracted the dashboard.php file and re-uploaded this on it’s own

    Seems like all you can do is . . .

    You can retry the autoupgrade.
    Do the upgrade manually. (this is what I think you need to do)
    Go thru each file and compare what you have on the local machine vs server
    Fall back to a previous version, hoping all your backups are ok.
    Hope someone comes along with an easy solution.

    Went through it all twice, but every time I thought I was in the clear and tried to access my widgets, I got the same error message about add_meta_box() in dashboard.php.

    Then I tried deactivating the plugins, and there was no problems. So, that got me thinking …

    I hope you’ll pardon me for gloating a bit, ’cause I actually figured this out myself …

    What plugin do I have installed that could interfere with the Widgets menu through a call in dashboard.php? Widgetizable Dashboard plugin, of course.

    With that deactivated, everything is fine again – except the Middle East πŸ˜›

    Hope this’ll help you guys with the same problem. (WP2.7 dashboard is pretty customizable anyhow)

    Then I tried deactivating the plugins, and there was no problems.

    You want to do this before any upgrade is installed. It is part of the basic instructions.

    Glad you got it working!

    You want to do this before any upgrade is installed. It is part of the basic instructions.

    Yeah, no worries. But re-activating them after upgrade made the issue come back, hence the de-actvation ;P

    I honestly don’t have the balls to break basic instructions!

    I give up!
    Thank god I don’t have lots of stuff in this test site…going to delete the whole thing and start again

    +1

    Some brokenness here.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Problems with the Widget’s Dashboard’ is closed to new replies.