Fatal Error on Activation
-
Hi,
I’m getting a following error when activating a plugin.
“Plugin could not be activated because it triggered a fatal error.”However, plugin is installed successfully. I have tried deleting a plugin completely and reinstalled it again, still it didn’t resolved the issue.
Any solution or help would be appreciated.
-
Hi @shaunj,
Please read the WordPress troubleshooting guide here: https://wordpress.org/support/article/common-wordpress-errors/
It is likely that you will need to carry out some of the steps in this follow-on article: https://wordpress.org/support/article/debugging-in-wordpress/
Together, the steps in these articles will allow us to build a picture of why this is happening on your installation.
Ben
Hi Ben,
yes, I’ve gone through the articles and I haven’t found any error in the error logs.
Also, whenever I activate the plugin, an empty box appears at top of list of the plugins on plugins page with an error “Plugin could not be activated because it triggered a fatal error.” That is really strange.
Hi Shaun,
Yes, that is very strange – now you have wp_debug set up, it should be telling us a bit more about the error. The details are normally in a line directly below.
I’m at a loss as to why your installation is not working with the plugin. This is one of those times I actually wish other users had the same issue as it becomes easier to determine the cause!
Until we can collect some more information, I will mark this as resolved, but please come back to me if you think you have a possible cause.
Ben
-
This reply was modified 5 years, 4 months ago by
Ben Roberts. Reason: What I write makes no sense
Definitely Ben. Thank you for looking into this.
Hi Ben,
I have tried activating Block, Suspend plugin again after receiving the new update, it still couldn’t be activated. However, I was able to see the fatal error this time. Hope this could help resolve the issue.
Fatal error: Out of memory (allocated 412098560) (tried to allocate 20480 bytes) in wp-includes/meta.php on line 1074
Hi @shaunj,
This article will help – https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
Ben
No, it didn’t solved the problem either. Following is the link to the screenshot of the error upon activation.
Hi @shaunj,
Did you speak to your hosting provider as suggested at the bottom of the article?
You will need to raise that memory limit. It is the only solution I am afraid and a very common problem.
Ben
Hi Ben,
Yes’ I did contacted my web host and they increased the limit. However, it didn’t solved the issue.
Okay, let’s see how they got on.
Can you go into Tools > Site Health, and then ‘Info’ at the top.
Next, hit the button that says ‘Copy site info to clipboard’.
Please pop that in an email to me at support@bouncingsprout.com.
Ben
I’ve just sent you the email.
Thanks @shaunj,
That all looked fine.
Can I also confirm you have deactivated all the plugins, then tried activating buddypress followed by BSR? Nothing else.
Ben
Yes, I’ve tried that too. It didn’t worked either.
Okay. Sadly, it looks like we’ve reached the end of troubleshooting. There is something preventing the plugin from activating on your installation.
This happens occasionally and I understand how frustrating it must be.
I’m sorry we couldn’t get the issue resolved on this occasion.
Ben
Hi @shaunj,
I had an entirely separate issue with activation come up, and there is now a new version available that resolves it.
It doesn’t look like yours, but might be worth giving the new version a go anyway.
Ben
-
This reply was modified 5 years, 4 months ago by
The topic ‘Fatal Error on Activation’ is closed to new replies.