Fatal error after installing new plugin

by 5 replies
6
Hi Guys

I was using 2.8.5 and yesterday installed WordPress SEO Plugin and now getting this error message

Fatal error: Call to undefined function home_url() in /home/****/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 369

By the looks of it as the plugin is not compatible with the older version am using this issue has come to life.

I am not able to login to the dashboard as well to uninstall the plugin.

How do I resolve this?

Pls help

Thanks
#programming #error #fatal #installing #plugin
  • You can:

    1: Rename/Delete the plugin by using FTP, and rename/remove the plugin files and folders.

    2: If the plugin altered the tables in the database you need to deactivate it(if it was activated), use phpmyadmin and navigate
    to the wp-option table and locate the active_plugins column and delete the the active plugins in the options_value field. If you do this
    then you need to reactivate the plugins you want to use.
    • [ 1 ] Thanks
    • [1] reply
    • Thanks Danny. The plugin was activated so need to inactive all plugins and reactivate. Appreciate your help.
  • Yes, you are correct the plugin is not compatible with your version of WordPress the home_url was added in the 3.0 version.
    Follow Danny's advice and then either upgrade WP or find an older version of the plugin to use with your site. Just be aware that there have been security upgrades done to the WP core since the version you are using so your site won't be secure if you choose not to upgrade.
    • [ 1 ] Thanks
    • [1] reply
    • Thanks tweakr. Once i can get inside the admin panel the next thing is to to upgrade but would like to back up the files 'as is' before upgrading as am worried all the customisation that has been so far will be lost.

      How do I the backup? is there is a easier way like a plugin etc??
  • I use WP DB Backup, which is a plugin available in the WP repository.
    WordPress › WP-DB-Backup « WordPress Plugins

    You'll also want to backup the site files... So at least your wp-content folder, or preferably everything in your site's web folder.

Next Topics on Trending Feed