Fatal error after installing new plugin

5 replies
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
#error #fatal #installing #plugin
  • Profile picture of the author DigitalDanny
    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.
    {{ DiscussionBoard.errors[5760661].message }}
    • Profile picture of the author thetradeking
      Originally Posted by DigitalDanny View Post

      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.
      Thanks Danny. The plugin was activated so need to inactive all plugins and reactivate. Appreciate your help.
      {{ DiscussionBoard.errors[5763694].message }}
  • Profile picture of the author tweakr
    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.
    Signature

    Free AdPress Theme for WordPress .

    {{ DiscussionBoard.errors[5765159].message }}
    • Profile picture of the author thetradeking
      Originally Posted by tweakr View Post

      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.
      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??
      {{ DiscussionBoard.errors[5767639].message }}
  • Profile picture of the author strangerstudios
    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.
    {{ DiscussionBoard.errors[5772373].message }}

Trending Topics