WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] fatal error: call to undefined function, header won't load so website won't load (4 posts)

  1. rdayley
    Member
    Posted 3 years ago #

    I keep getting the following error:

    Fatal error: Call to undefined function adrotate_banner() in /home/content/m/m/a/mmaclark/html/wordpress/wp-content/themes/mmaclarksville/header.php on line 42

    I believe this is line 42:

    <?php if (function_exists('suckerfish')) {suckerfish();} ?>

    My website won't work now, it starts to load and then stops and across the home page it just gives me that error.

    i was trying to upgrade to version 3.0.4 and it didn't work, I called godaddy and they said to just restore my old database and then change my theme to a standard wordpress theme (we have a custom theme) but after i restored it now I'm getting this error on my home page. And, now I'm worried about changing anything else at all until this is resolved.

    Can anyone help?

    Thanks

  2. Tara
    Member
    Posted 3 years ago #

    try:

    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually to find the culprit.

    If you don't have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.

    -switching to the default theme ("twentyten") for a moment by renaming your current theme's folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    If you don't have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.

    -If the above steps do not resolve the issue, Download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.

  3. rdayley
    Member
    Posted 3 years ago #

    Thanks, I ended up manually upgrading to 3.0.4 and then once i did that and reinstalled the plugings it worked.

  4. Tara
    Member
    Posted 3 years ago #

    you are welcome. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic