• Resolved leonjb

    (@leonjb)


    I updated my wordpress install earlier.. Firstly I was checking site as it looked like a hacker had been in and had a little play with my ban system.. Anway I updated wordpress while I was at it, and got this 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 xxxxxxxxxxxxxxxxxxxxx/wp-includes/plugin.php on line 429

    Since then I have not been able to get back in the dashboard, and no members can login either.. The site works bar the login for members and me. I have deactivated the plugins and reactivated them via ftp to check for plugin problems, but as yet found none causing trouble..

    I am at a loss to find a soltion, usually I find one on the forum here, but have found nothing thats why I am asking for help.. the site is The God Light Thanks in advance for those that might reply..

Viewing 11 replies - 1 through 11 (of 11 total)
  • If it’s not a plugin, it’s your theme that’s causing that error. The basics of the error are that the systme is trying to find a function called _show_post_preview but that function doesn’t exist. Normally that happens when an incomplete theme/plugin update happens, which isn’t that often.

    To see if it realyl is the theme, do the same thing that you did with the plugins to your theme folder. That will force the system to fall back to the default theme, and you’ll be able to log into the admin area at least.

    Thread Starter leonjb

    (@leonjb)

    I changed theme file name putting old infront to de-activate it and nothing happened.. its really odd, I have also turned off theme plugins by changing name and that did not fix it either.. Though I will check again as I mainly did plugins that dealt with a preview.. If that fails I will probably have to manually install the new wordpress update.. maybe its got a duplicate file or a duplicate command coming in..

    Your site is still using your original theme. What exactly did you rename?

    Thread Starter leonjb

    (@leonjb)

    I have renamed all theme plugins and 90% of the plugins under /wp-content/plugins the theme is goodnews I have the theme folder listed as /goodnews4 Ive tried changing name and no deactivation and most of the plugins do not de-actiavte when I change name especially the theme original ones.. There is also a problem when you click to login, more error messages there.. Its puzzled me, usually I fix things in an hour or so.. All I can think is I will have to upload the new update for wordpress from scratch via ftp I usually rename a plugin with some xxx’s before for speed.. xxxpluginname.php

    Try flushing the cache of your caching plugin.

    Thread Starter leonjb

    (@leonjb)

    How do you do that if you can’t get in the dashboard.. only ftp files and phpadmin I can get in..

    Try asking the caching plugin’s developer via the plugin’s dedicated sub-forum.

    Thread Starter leonjb

    (@leonjb)

    I cleared the cache files by deleting them from the hyper-cache folder through ftp I have since de-activated all plugins and reactivated them and the theme and no change.. All I can think is its down to the install, maybe I need to reinstall manually.. Nothing I do seems to effects much, the strange thing is some plugins stay on even though I de-activate them..

    I am still seeing cached pages on your site. Contact the caching plugin’s developer.

    Thread Starter leonjb

    (@leonjb)

    ok esmi.. It does seem to be a problem the cache, the problem I had before all this was my ban system had somehow got messed up and everyone was getting banned..

    Contacted hyper cache, we will see.. When I try to get in wp-admin I get an extra error message, they both seem related..

    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 xxxxxxxxxxx/wp-includes/plugin.php on line 429

    Warning: Cannot modify header information - headers already sent by (output started at xxxxxxxxxxxxxxxxx/wp-includes/pluggable.php on line 899

    Thread Starter leonjb

    (@leonjb)

    Ok I fixed it.. I manually uploaded the new files.. It turned out that none of the plugins were clashing, must have been something in the automatic update that corrupted things..

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Update Problems With 3.7.1’ is closed to new replies.