• Resolved applegateian

    (@applegateian)


    Hi guys

    I am a bit stuck. Since trying to carry out the automatic upgrade to 3.6 my site threw the following error:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_show_post_preview' was given in /websites/123reg/LinuxPackage21/an/ne/tt/annettenix.com/public_html/adminarea/wp-includes/plugin.php on line 406

    The theme is called Craft from ThemeTrust.

    I had a look at plugin.php but couldn’t see anything obvious, any thoughts?

    Thanks,

    Ian

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you replicate the problem using the default Twenty Thirteen theme with all other plugins deactivated?

    Thread Starter applegateian

    (@applegateian)

    Annoyingly, the default theme was removed. I can’t add a new theme through the site, presumably I could upload Twenty Thirteen via FTP to test it?

    Thread Starter applegateian

    (@applegateian)

    Tried uploading TwentyTen but live preview is showing me:

    Fatal error: Call to undefined function get_post_format_slugs() in /websites/123reg/LinuxPackage21/an/ne/tt/annettenix.com/public_html/adminarea/wp-includes/theme.php on line 1262

    [No bumping. This is a volunteer-staffed forum – not real-time chat. If it’s that urgent, consider hiring someone.]

    What version of WordPress are you running?

    Thread Starter applegateian

    (@applegateian)

    Looks like 3.5.1 -thanks

    Why are you using an old copy of WordPress? Were you aware that your site is currently running a very real risk of being hacked? You need to upgrade WordPress asap. by:

    – switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    Thread Starter applegateian

    (@applegateian)

    That worked perfectly esmi, thanks so much for the suggestion

    (I don’t manage the site, just helping out!)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress upgrade causing an error’ is closed to new replies.