• eventors

    (@eventors)


    Hello,
    I am trying to delete a plugin, but when I do I get a fatal error message on all pages of my WP installation:

    Fatal error: Call to undefined function headerads() in /home3/ournewpr/public_html/withlacoocheegulfpreserve/wp-content/themes/hmtpro5/header.php on line 754

    I want to get rid of this plugin without reinstalling Theme. Does anyone know how to find the files to delete?

    The site is: http://withlacoocheegulfpreserve.com
    The plugin is: WP CONVERSION PHOENIX

    The site looks fine when the plugin is activated, but I want to delete it because I don’t need it anymore.

    Thank You
    Jeff

Viewing 3 replies - 1 through 3 (of 3 total)
  • vtxyzzy

    (@vtxyzzy)

    You might try replacing the header.php file in your theme with a fresh copy.

    If that does not work, perhaps you could define a dummy function headerads in your functions.php until you can find out why the error is there.

    Something like this (UNTESTED):

    if ( !function_exists('headerads') ) {
       function headerads() {
          return '';
       }
    }
    Thread Starter eventors

    (@eventors)

    Thanks,
    I didn’t want to re-install the theme, so it makes sense to just copy the header php file from the fresh theme files. Can I get the header php file directly from an unzipped version of the theme files? And can I use FTP to do this?
    Thanks,
    Jeff

    vtxyzzy

    (@vtxyzzy)

    Yes to both.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove Corrupted Files’ is closed to new replies.