Title: Plugin Fatal Error
Last modified: October 19, 2023

---

# Plugin Fatal Error

 *  Resolved [minhong1](https://wordpress.org/support/users/minhong1/)
 * (@minhong1)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-fatal-error-25/)
 * Good evening,
 * I am here for my issue here, as soon as rename my plugin folder as plugin.old
   then rename again.
 * I tried to reactivate all the plugins, when it comes to content control plugin,
   it seems to appear “Plugin could not be activated because it triggered a **fatal
   error**.” with following details.
 * **Warning**: include(/var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-content/plugins/content-control/vendor/composer/../../vendor-prefixed/
   trustedlogin/client/src/Form.php): Failed to open stream: No such file or directory
   in **/var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-content/
   plugins/offload-media-cloud-storage/includes/s3/vendor/composer/ClassLoader.php**
   on line **571**
 * **Warning**: include(): Failed opening ‘/var/www/vhosts/smartdecordesign.com/
   learning.smartdecordesign.com/wp-content/plugins/content-control/vendor/composer/../../
   vendor-prefixed/trustedlogin/client/src/Form.php’ for inclusion (include_path
   =’.:/opt/plesk/php/8.0/share/pear’) in **/var/www/vhosts/smartdecordesign.com/
   learning.smartdecordesign.com/wp-content/plugins/offload-media-cloud-storage/
   includes/s3/vendor/composer/ClassLoader.php** on line **571**
 * **Fatal error**: Uncaught Error: Class “ContentControl\Vendor\TrustedLogin\Form”
   not found in /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/
   wp-content/plugins/content-control/vendor-prefixed/trustedlogin/client/src/Client.
   php:136 Stack trace: #0 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-content/plugins/content-control/classes/Controllers/TrustedLogin.php(77):
   ContentControl\Vendor\TrustedLogin\Client->__construct() #1 /var/www/vhosts/smartdecordesign.
   com/learning.smartdecordesign.com/wp-content/plugins/content-control/classes/
   Plugin/Core.php(224): ContentControl\Controllers\TrustedLogin->init() #2 /var/
   www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-content/plugins/
   content-control/classes/Plugin/Core.php(211): ContentControl\Plugin\Core->register_controllers()#
   3 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-content/
   plugins/content-control/classes/Plugin/Core.php(51): ContentControl\Plugin\Core-
   >initiate_controllers() #4 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-content/plugins/content-control/content-control.php(127): ContentControl\
   Plugin\Core->__construct() #5 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-content/plugins/content-control/content-control.php(143): ContentControl\
   plugin_instance() #6 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-content/plugins/content-control/classes/Plugin/Install.php(106): ContentControl\
   plugin() #7 [internal function]: ContentControl\Plugin\Install::activate_site()#
   8 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-content/
   plugins/content-control/classes/Plugin/Install.php(93): call_user_func_array()#
   9 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-content/
   plugins/content-control/classes/Plugin/Install.php(31): ContentControl\Plugin\
   Install::do_multisite() #10 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.
   com/wp-includes/class-wp-hook.php(310): ContentControl\Plugin\Install::activate_plugin()#
   11 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-includes/
   class-wp-hook.php(334): WP_Hook->apply_filters() #12 /var/www/vhosts/smartdecordesign.
   com/learning.smartdecordesign.com/wp-includes/plugin.php(517): WP_Hook->do_action()#
   13 /var/www/vhosts/smartdecordesign.com/learning.smartdecordesign.com/wp-admin/
   plugins.php(194): do_action() #14 {main} thrown in **/var/www/vhosts/smartdecordesign.
   com/learning.smartdecordesign.com/wp-content/plugins/content-control/vendor-prefixed/
   trustedlogin/client/src/Client.php** on line **136**
 * May I know how do I solve this? Because it’s affecting my client’s website.
 * Just a context, I also uninstalled the whole thing and reinstalled again. But
   after a few hours, it seems to have the same problem again.
    -  This topic was modified 2 years, 7 months ago by [minhong1](https://wordpress.org/support/users/minhong1/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-fatal-error-25/#post-17137710)
 * [@minhong1](https://wordpress.org/support/users/minhong1/) – Sorry to hear you
   had issues like that, been there, never fun to get that call..
 * Ok so top to bottom.
 * The first 2 indicate another plugin’s autoloader is trying to load files in our
   namespace, they likely shouldn’t be, so I’m not sure if we can fix that easily
   on our side or need to get the team at **`offload-media-cloud-storage`** to put
   some checks on their autoloader method to not run for other namespaces than their
   own.
 * Honestly it shoulnd’t be a problem, and you say it works fine for a while then
   breaks suddenly, that makes me think something is scanning the site and removing
   files it should be, which explains why it works for a bit then breaks: [https://plugins.trac.wordpress.org/browser/content-control/trunk/vendor-prefixed/trustedlogin/client/src/Form.php](https://plugins.trac.wordpress.org/browser/content-control/trunk/vendor-prefixed/trustedlogin/client/src/Form.php)
 * If you can install it clean and it doesn’t throw those errors, that is where 
   I’d start, looking for something that might be scanning/removing files.
 * Let me know.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-fatal-error-25/#post-17137710)
 * Status: resolved