500 Error when I acivate the plugin
-
When I activate plugin I became an 500 server Error. I can I do?
-
You need to check the error logs to find out what caused the 500 server error. In the meantime, if you delete the ewww-image-optimizer folder from your plugins directory, it will deactivate it.
Yes I made it, Server logs are clean.
In your wp-config.php file, look for a debug option, and turn that from FALSE to TRUE. Then try reactivating EWWW and see what happens (and of course you can just delete the plugin again after it causes the 500 error.
I trie that, it become an Error “Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81 bytes) in /www/wp-includes/pomo/mo.php on line 268” wenn I activated the plugin
Can you bump your memory limit to 256 and see if that takes care of it? Seems unusual that it would be using much memory at all on a fresh install, but if we can start there, then we can see what can be done to whittle it down to more reasonable levels (it’s been a while since I did memory profiling on the plugin).
128 is my limit.
My suspicion is that some plugin is doing something with generating images on the backend (where it shouldn’t be) and causing EWWW to use more memory than normal. I just tested it on an install with over 100,000 images, and I’m using 5MB of memory. I had to check it about 15 times to make sure, and even installed this plugin to verify it: https://wordpress.org/plugins/debug-bar/
The only page I could find which uses more memory is the Bulk Optimize page, but it doesn’t even sound like you’re getting that far before you hit the OOM errors (out of memory).
And what can I do?
I would try disabling your other plugins, and see if EWWW works then. Then enable them one at a time to see which one causes trouble with EWWW. You might also install that debug bar plugin which allows you to see memory usage, that way you can check where your memory usage is after you activate each plugin.
I found the plugin wich causes this error. I have BuddyPress plugin. What can I do?
That’s strange, so if you have everything else active with EWWW, it’s OK, but as soon as you activate buddypress, it goes 500?
I’ll take a look on my dev site and see if I can find out anything. I think I already have it installed there.
Yes that is right. I think the buddypress has, very high settings. It can be a Problem on the wordpress and not with the EWWW.
I activated it on my dev site, and it doubled the usage, but that still only took me to 8MB, but if you have other addons for Buddypress, that can get worse yet, and then add in any number of other plugins, and I could see how EWWW + Buddypress would be enough to push you over 128MB on memory. Seems like you were probably really close to your memory limit before EWWW, and it was just enough to push your site over the limit.
The topic ‘500 Error when I acivate the plugin’ is closed to new replies.