-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin could not be activated because it triggered a fatal error. #5
Comments
Thanks @paaljoachim this plugin is designed to be used with Altis from HM https://www.altis-dxp.com/ With that said, all the Altis CMS modules are open source and can be seen here: https://github.com/orgs/humanmade/repositories?q=altis&type=source&language=&sort=name Finally, this plugin has only that single Altis dependency, so if you comment out line 12 I think the plugin should run fine on any network install. https://github.com/humanmade/disable-accounts/blob/main/plugin.php#L12 |
We can replace this with the Composer autoload if we're publishing there |
We should mention Altis and at least |
Considering that I've created #8 as a fix. |
Thanks! Would it be possible to tag a release with this change so that Packagist picks it up? |
0.2.2 is now tagged :) |
WordPress 5.8.
Multisite.
The following error message is seen upon activation.
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught Error: Call to undefined function Altis\register_class_path() in /home/easywebd/public_html/dev/mytestingbox.com/wp-content/plugins/disable-accounts-main/plugin.php:12 Stack trace: #0 /home/easywebd/public_html/dev/mytestingbox.com/wp-admin/includes/plugin.php(2286): include_once() #1 /home/easywebd/public_html/dev/mytestingbox.com/wp-admin/plugins.php(191): plugin_sandbox_scrape('disable-account...') #2 {main} thrown in /home/easywebd/public_html/dev/mytestingbox.com/wp-content/plugins/disable-accounts-main/plugin.php on line 12
The text was updated successfully, but these errors were encountered: