Given "Toolset Types" is enabled
When I try to activate a plunging
Then that plugin fails to enable and the error "Plugin could not be activated because it triggered a fatal error." is shown.
--------------------------------------
Given "Toolset Types" is disabled
When I try to activate a plunging
Then that plugin is activated
--------------------------------------
What I have tried:
1. Disable all plugins
2. Enable plugins one at a time
If "Toolset Types" is active then all subsequent attempts to enable a plugin (any plugin) fail with the error "Plugin could not be activated because it triggered a fatal error.". No entries are listed in the log, and no additional error message has been extracted from PHP or WordPress.
I logged in to your site and I could see the problem with trying to activate plugins while Types is already active.
I checked the debug.log, and while I couldn't find any errors directly relating to this, I did see that a very large debug.log is being generated (80k entries since yesterday) as every requests is generating hundreds of deprecation notices.
I see you are running PHP version 8.2.10, which would account for so many deprecation notices, and may account for the problem activating Types.
Are you able to update the server to use an 8.1.x version of PHP and re-test?
The topic ‘[Closed] Plugin could not be activated because it triggered a fatal error’ is closed to new replies.