• Resolved tuftz

    (@tuftz)


    I am relatively new to WordPress so please bear with me.

    On one of the sites I manage when I try to log on the site I am receiving the error messages:

    Warning: require (/homepages/29/d239719487/htdocs/SantaBarb-Dem-Service/wp-includes/widgets.php) [finction.require]: failed to open stream: No such file or directory in /homepages/20/d239719487/hotdocs/SantaBarb-DemService/wp-settings.php on line 144

    This message is immediately followed by:

    Fatal error: require() [function.require] Failed opening required ‘(/homepages/29/d239719487/htdocs/SantaBarb-Dem-Service/wp-includes/widgets.php’ (include_path=’.:/user/lib/php5′) in /homepages/20/d239719487/hotdocs/SantaBarb-DemService/wp-settings.php on line 144

    This site was upgraded to WP version 4.0.0 and the php version is currently 5.2 I can update this to 5.4 or 5.5 if necessary but I hesitate to do this until I understand what this error message means.

    I sincerely appreciate any help with this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Also, definitely upgrade to 5.4 at least. PHP discontinued support and development for the 5.2 branch back in 2011.

    Thread Starter tuftz

    (@tuftz)

    Thank you very much MacManX for your reply/suggestion.

    After taking the steps that you recommended the original error messages are gone BUT replaced with a new one:

    Fatal error: Class ‘Ai1ec_Agenda_Widget’ not found in /homepages/29/d239719487/htdocs/SantaBarb-DemService/wp-includes/widgets.php on line 324

    Line 333,334, 335 reads:

    323 function register($widget_class) {
    324 $this->widgets[$widget_class] = new $widget_class();
    325 }

    I do not recall any Ailed Agenda Widget on this site. Any further thoughts?

    Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter tuftz

    (@tuftz)

    Thank you very much MacManX – you are the man!

    Manually deactivating the Plugins worked. Don’t know why I didn’t think of that one but live and learn new stuff. Now I should be able to rest the plugins normally.

    Thanks again.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning followed by Fatal Error’ is closed to new replies.