Warning function array – advice please!
-
Hello, I tried auto-updating wordpress on my site to 3.6 last night and it took a very long time and didn’t complete. It prompted me to keep trying the auto-update, so I tried a few more times to update, then resorted to a manual update when that didn’t work. I followed the instructions to the letter here, but I now have the following in the header of every page on my site:
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 /mydomainname.co.uk/public_html/wp-includes/plugin.php on line 406
When I try to access the wp-admin page I just get a screen with the same text above, followed by
Warning: Cannot modify header information – headers already sent by (output started at /mydomainname.co.uk/public_html/wp-includes/plugin.php:406) in /mydomainname.co.uk/public_html/wp-includes/pluggable.php on line 875
As I can’t get into the wp-admin panel to do anything (i.e. try it with a different theme), I have tried disabling the plugins one by one by removing them via FTP (I first tried renaming the plugins folder to plugins.hold – but this made no difference). I have also tried replacing the wordpress files again (as per the upgrade).
I have read a number of other posts on this issue but I don’t think any of them apply to me as I don’t have any of the plugins mentioned.
I am not at all experienced in php and am at a loss here as to what to do. Any help would be much appreciated!
Many thanks.
- The topic ‘Warning function array – advice please!’ is closed to new replies.