• ElegantJohn

    (@elegantjohn)


    I just upgraded my WP to 2.3.1 after doing the usual. ie: backup, deactivating plugins, etc.

    When I click on “Site Admin”, I get this fatal error:

    Fatal error: Call to undefined function: wp_enqueue_script() in /home/fronter/public_html/mexicotrucker/wp-admin/admin.php on line 29

    Ok, I remove that line and the next error is in wp-admin/index.php, same call to the above on line 17. I remove the offending line and voila, I have access to my Admin Panel, but……..

    Now, I get this error call at the top of my Admin Panel

    Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘wp_print_scripts’ was given in /home/fronter/public_html/mexicotrucker/wp-includes/plugin.php on line 164

    Going to reactivate the plugins, all activate as normal until I get to this excellent plugin NGGallery, and I receive this error.

    Fatal error: Call to undefined function: wp_register_script() in /home/fronter/public_html/mexicotrucker/wp-content/plugins/nggallery/admin/admin.php on line 19

    Anybody got any ideas to fix these problems

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ElegantJohn

    (@elegantjohn)

    Thread Starter ElegantJohn

    (@elegantjohn)

    Bumperoo!

    moshu

    (@moshu)

    Well, removing lines from the core files – might be a temporary solution sometimes, but it is not recommended.

    When WP is “complaining” about a missing function… usually, it is about incomplete or corrupted files.

    If uploading again doesn’t help, you may consider getting a fresh copy because files easily get corrupted during these operations:
    – download
    – unzip
    – upload
    Which means if it was corrupted during the download and/or unzip… uploading the same files again and agian won’t help.

    It is just a guess but you could give it a try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to access Admin Panel after upgrade to 2.3.1’ is closed to new replies.