• Resolved minhong1

    (@minhong1)


    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 1 year, 4 months ago by minhong1.
Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @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.www.ads-software.com/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.