• Hi community,
    I am having trouble with a website and I get these two reports after trying to visit my website: Warning: require(/homepages/27/d732247384/htdocs/beheroes/wp-includes/class-wp-widget-factory.php): failed to open stream: Permission denied in /homepages/27/d732247384/htdocs/beheroes/wp-settings.php on line 218

    Fatal error: require(): Failed opening required ‘/homepages/27/d732247384/htdocs/beheroes/wp-includes/class-wp-widget-factory.php’ (include_path=’.:/usr/lib/php7.1′) in /homepages/27/d732247384/htdocs/beheroes/wp-settings.php on line 218

    The website has been automatically updated on the 03 August to 4.9.8 and I guess this caused the trouble.

    I already searched every single forum and it seems like nobody had this specific problem.
    I uploaded the new wordpress zip after this scheme: https://codex.www.ads-software.com/Updating_WordPress#Step_1:_Replace_WordPress_files
    And I also adjusted the file permissions.
    The Plugins are renamed, so they are “kind of deactivated”

    Cheers,
    Lennart

    The page I need help with: [log in to see the link]

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

    (@macmanx)

    Make sure that permissions on the /wp-includes/class-wp-widget-factory.php file are set to either 644 or 755 (and it’s possible only one of those will work, depending on server configuration).

    https://codex.www.ads-software.com/Changing_File_Permissions

    Thread Starter Lennart Spee

    (@lennartspee)

    I did this already before… it did not help.
    Some other advices or ideas?

    Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: require failed to open stream: Permission denied / Fatal error Wp-Widge’ is closed to new replies.