Is there any Wordpress Expert?
Hi Folks,
My blog is accessible but I have not been able to login to my dashboard since two weeks as I keep getting the following message:
Fatal error: Call to undefined function sanitize_key() in /home1/zayaf121/public_html/wp-includes/post.php on line 1001
I tried to deactivate all plugins using CPanel but it didn't work. I was advised to update wordpress manually but I'm afraid to take the risk as I'm not savvy with certain terms.
Here's a link to my posts that are working:
http://muslimweddingflight.com/site-map
I would appreciate your assistance to resovle this issue.
Regards,
Fayaz
Reason: Need an expert's opinion on Wordpress
Just download the complete WordPress code from wordpress.org and replace the file post.php under wp-includes.
Also try to rename the plugin folder under Wp-content to disable all plugins.
You can also edit the WP-config in the root directory and add
define( 'WP_DEBUG', true );
at the very bottom, to see any further errors on your blog.
You seem to have manually edited the html codes of your theme, and it has gone wrong. Please remember to change theme code only through Child theme way. If you don't know how to do that, it's better that you don't edit any html or theme related codes.
You can do two things to resolve this issue.
- Get into your hosting website control panel and update the wordpress, that should override your earlier code change. If the update gets done successfully without any problem, you will not lose any files.
- Or alternatively, you can first download the theme that is there on your website , and then copy the files of that exact theme one by one, from the downloaded folder to your hosting site's wordpress folder. It should be almost same as point 1, but even more difficult.But since it will be manual, the chances of wordpress upgrade going wrong will be avoided.
Before doing anything, take a complete back up of all your files using the options in your hosting site's control panel. Most websites provide the facility of making back up of website files at any point of time.
Discliamer:- I am not wordpress expert, but I do have some experience of managing wordpress based websites.
Sign in to reply to this thread