-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fatal error: Allowed memory size of 134217728 bytes exhausted #3
Comments
Thanks for reporting this. This might be a server config error. It looks like you are on local. Can you check the value of memory limit in your php.ini and try to change with
Don't forget to restart apache Alternatively, try clearing your cache and let me know if it works. |
Hi there, I've cleared cache several times, reloaded the plugin from GPM after removing it with an 'rm -rf', no change. I will triple check, but I'm seeing this on the production server as well, I didn't do a lot of testing up there because I don't make a habit of such things, but I'll confirm. The only change in environment is the update you pushed out three days ago, however. Your time is appreciated! I'll do some more checking and report back. |
ah, I have an idea, but first:
|
It happens if I do nothing at all related to SEO in any way. If I create a new page the memory error is already showing, if I then click 'Save' (to actually commit the page to disk), I get the Invalid Security Token error. Basically with the plugin enabled, I can't create content. |
I guess you already took a look at this: https://learn.getgrav.org/troubleshooting/common-problems#invalid-security-token I will investigate this further tomorrow but its very weird that turning it off seems to fix your problem. One last thing : does removing the config yaml in user/config/seo.yaml change something? |
When I remove If I disable the plugin, no token error. |
ok thats a first step, and thats why it did not change even after uninstall/reinstall at first. |
I wish I could provide more info. There doesn't seem to be a definitive way to get useful debug logging from Grav. There's rarely anything useful until you cause a real exception and resulting stack trace. |
Any update on this? |
No, I was going to ask you the same thing? Still does not work in either the dev (nginx on MacOS Sierra) or prod (Apache on Centos) environments. |
Hmm, at this point, I don't know what to do. |
Sometimes i have the same problem only with new plugin and when i first try to use but only when i clear cronology in web browser or file |
So this just.. stopped happening. I can't explain why, but seems to be resolved now, in both environments. |
hmm strange, let me know if it happens again. |
Hi Sh0velMan I updatted the plugin with new features, and now it works on any Grav install, without editing any template. If you update, make sure to restore the templates that had to be removed for the previous version of the plugin to works. Let me know how it goes and if you have some problem. The v2.0.4 is available on the GPM by enabling testing: true in the configuration. |
Here's the full error text:
Additionally, I get an "Invalid Security Token" error when I try to save a page.
I have reinstalled using GPM, no change. If I disable the plugin, I can once again save pages.
This just started after the last update.
Let me know what other info you require! Thanks!
The text was updated successfully, but these errors were encountered: