Title: Fatal Error: Failed opening required file
Last modified: March 19, 2024

---

# Fatal Error: Failed opening required file

 *  Resolved [sprucelydesigned](https://wordpress.org/support/users/sprucelydesigned/)
 * (@sprucelydesigned)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-failed-opening-required-file/)
 *     ```wp-block-code
       PHP Fatal error: Uncaught Error: Failed opening required '/srv/htdocs/wp-content/plugins/miniorange-oauth-20-server//admin\helper\constants\class-miniorange-oauth-20-server-oauth-constants.php' (include_path='/:.') in /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/public/class-miniorange-oauth-20-server-public.php:18 Stack trace: #0 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/includes/class-miniorange-oauth-20-server.php(122): require_once() #1 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/includes/class-miniorange-oauth-20-server.php(76): Miniorange_Oauth_20_Server->load_dependencies() #2 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/mo_oauth_settings.php(86): Miniorange_Oauth_20_Server->__construct() #3 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/mo_oauth_settings.php(90): run_miniorange_oauth_20_server() #4 /wordpress/core/6.4.3/wp-settings.php(473): include_once('/srv/htdocs/wp-...') #5 /srv/htdocs/wp-config.php(102): require_once('/wordpress/core...') #6 /wordpress/core/6.4.3/wp-load.php(55): require_once('/srv/htdocs/wp-...') #7 /wordpress/core/6.4.3/wp-cron.php(46): require_once('/wordpress/core...') #8 {main} thrown in /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/public/class-miniorange-oauth-20-server-public.php on line 18
       ```
   
 * Error thrown on latest version 6.0.4. Maybe a trailing slash issue?

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

 *  Thread Starter [sprucelydesigned](https://wordpress.org/support/users/sprucelydesigned/)
 * (@sprucelydesigned)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-failed-opening-required-file/#post-17513176)
 *     ```wp-block-code
       PHP Fatal error: Uncaught Error: Failed opening required '/srv/htdocs/wp-content/plugins/miniorange-oauth-20-server//admin\helper\constants\class-miniorange-oauth-20-server-oauth-constants.php' (include_path='/:.') in /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/admin/helper/class-miniorange-oauth-20-server-customer.php:15 Stack trace: #0 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/admin/class-miniorange-oauth-20-server-save-settings.php(27): require_once() #1 /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/admin/class-miniorange-oauth-20-server-admin.php(195): Miniorange_Oauth_20_Server_Save_Settings->__construct() #2 /wordpress/core/6.4.3/wp-includes/class-wp-hook.php(324): Miniorange_Oauth_20_Server_Admin->mo_oauth_server_admin_init_save_settings('') #3 /wordpress/core/6.4.3/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /wordpress/core/6.4.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /wordpress/core/6.4.3/wp-admin/admin.php(175): do_action('admin_init') #6 /wordpress/core/6.4.3/wp-admin/plugins.php(10): require_once('/wordpress/core...') #7 {main} thrown in /srv/htdocs/wp-content/plugins/miniorange-oauth-20-server/admin/helper/class-miniorange-oauth-20-server-customer.php on line 15
       ```
   
 * Fixed the first error by replacing the back slashes with forward slashes. Then
   the error above also showed the same issue. Replacing slashes fixes the error.
 *  Plugin Support [Manas](https://wordpress.org/support/users/manaspatil/)
 * (@manaspatil)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-failed-opening-required-file/#post-17513236)
 * Hi there,
 * Thank you for bringing this to our attention. Our team is looking into this and
   we will release an update shortly to address this.
 * Meanwhile, we can provide you with an updated version of the plugin that will
   address this issue, you can reach out to us using the contact form in the plugin
   or the email address mentioned in the plugin FAQs.
 * Thanks,
   Team miniOrange
 *  Plugin Contributor [Nimesh](https://wordpress.org/support/users/nimeshatxecurify/)
 * (@nimeshatxecurify)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-failed-opening-required-file/#post-17515684)
 * Hi [@sprucelydesigned](https://wordpress.org/support/users/sprucelydesigned/),
 * This issue you faced was introduced in v6.0.4 of the plugin, and we have patched
   it in v6.0.5. Please update to the latest version for a seamless SSO.
 * Thanks for using miniOrange. Please do not hesitate to reach out if you need 
   anything.

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

The topic ‘Fatal Error: Failed opening required file’ is closed to new replies.

 * ![](https://ps.w.org/miniorange-oauth-20-server/assets/icon-128x128.png?rev=1679776)
 * [WP OAuth Server ( Login with WordPress )](https://wordpress.org/plugins/miniorange-oauth-20-server/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/miniorange-oauth-20-server/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/miniorange-oauth-20-server/)
 * [Active Topics](https://wordpress.org/support/plugin/miniorange-oauth-20-server/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/miniorange-oauth-20-server/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/miniorange-oauth-20-server/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Nimesh](https://wordpress.org/support/users/nimeshatxecurify/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-failed-opening-required-file/#post-17515684)
 * Status: resolved