There’s probably no universal solution. Your theme is broken, or one of your plugins is broken, or someone or something has been messing with your core WordPress files. If it happened to me, I’d start my investigations by switching to a basic theme like TwentyThirteen and disabling all plugins, to see whether that makes the problem go away.
Ben
(@benmears)
I’m getting a similar error and I have no idea what caused it.
Fatal error: Call to undefined function get_post_format_slugs() in /home1/*mywebspace*/public_html/wp-includes/theme.php on line 1264
I also get this same error message when I try to edit my site using *mywebspace*/wp-admin, which means I can’t change themes or try to figure out what caused the problem.
I’m not a programmer (one of the main reasons I use WordPress) so any help here is appreciated. How do I get past this error message and get my site back?
thanks in advance
Do what I suggested in my last reply. Log in to your web hosting account to get access to your WordPress installation in the file system. Alternatively, use FTP to access the files. Rename or delete all the plugins so that WordPress cannot load them. Rename or delete all the themes except the standard themes originally supplied with WordPress.
Ben
(@benmears)
Thanks, that worked.
For reference, I logged into HostGator Control Panel and went to Software/Services > Fantastico De Luxe. Under Blogs > WordPress I removed WP and then reinstalled it, which got my site back to a fresh start.