Critical Error PHP Fatal Error Failed opening required class-wp-dependencies.php

  • Unknown's avatar

    The site has a critical error which disable us from access the wp-admin

    Through FTP error_log the below seems to be causing the issue:

    PHP Fatal error: require(): Failed opening required ‘/home/yx1o2mvajdj0/public_html/indexandco/wp-includes/class-wp-dependencies.php’ (include_path=’.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php’) in /home/yx1o2mvajdj0/public_html/indexandco/wp-includes/script-loader.php on line 23

    PHP Warning: require(/home/yx1o2mvajdj0/public_html/indexandco/wp-includes/class-wp-dependencies.php): failed to open stream: No such file or directory in /home/yx1o2mvajdj0/public_html/indexandco/wp-includes/script-loader.php on line 23

    I tried deactivating all plugins through plugins.hold but it didn’t resolve anything and still couldn’t access wp-admin

    Most of the site is still up just one section is not accessible.

    Can someone provide some solutions?

    I don’t have a site linked to this WordPress.com account

  • Unknown's avatar

    Hi there,  

    Please provide us with the URL of the website you’re referring to so that we can point you in the right direction.  

    Thank You! :)

  • Unknown's avatar

    Thank you! here is one page that brings up the critical error CLICK HERE

  • Unknown's avatar

    Hi there,  

    I can see your site is not hosted on WordPress.com and uses open-source WordPress software (from WordPress.org) and this forum is focused on sites hosted on WordPress.com.  

    The WordPress.com and WordPress.org sites are completely different: https://wordpress.com/support/com-vs-org  

    You can also look at the troubleshooting guide here:  https://wordpress.org/support/forum/how-to-and-troubleshooting

    In addition, you might want to consider posting your question at WordPress.org’s support forum, where people are familiar with such problems and can help you in a more efficient manner: https://wordpress.org/support/forums  

    Hope this helps! :) 

  • The topic ‘Critical Error PHP Fatal Error Failed opening required class-wp-dependencies.php’ is closed to new replies.