Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Memory Error after Upgrade

Started by Claud Rusnac 8 years ago · 4 replies · 1933 views
8 years ago

I upgraded to v1.5.4, but not getting a memory error:

2018-11-09 17:49:03] grav.CRITICAL: Allowed memory size of 134217728 bytes exhausted (tried to allocate 266240 bytes) - Trace: #0 /web/html/nisp/vendor/filp/whoops/src/Whoops/Run.php(382): Whoops\Run->handleError(1, 'Allowed memory ...', '/web/html/nisp...', 272) #1 /web/html/nisp/system/src/Grav/Common/Errors/SystemFacade.php(36): Whoops\Run->handleShutdown() #2 [internal function]: Grav\Common\Errors\SystemFacade->handleShutdown() #3 {main} [] []

👍 1
8 years ago

Narrowing this down - tried to index using TNTsearch and got this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /Web/app/user/plugins/shortcode-core/vendor/thunderer/shortcode/src/Parser/RegularParser.php on line 294

8 years ago

There appears to be some issue with the Shortcode Core v2.7.2 plugin.

8 years ago

Looks like changing parser: regular -> parser: regex in shortcode-core.yaml fixes this problem.

8 years ago

There could be another solution to this problem, that is if you would still want to use previous chosen option you had..
In the php.ini file you can choose your memory_limit, which can be set to

  • 128MB
  • 256MB
  • 512MB
  • 1G
    ...

Just an extra solution for memory limit issues 🙂

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 225 8 hours ago
Support · by alex, 2 months ago
8 666 23 hours ago
Support · by Supple, 5 days ago
1 97 1 day ago
Support · by TomW, 1 week ago
3 158 3 days ago
Support · by TomW, 6 days ago
2 105 5 days ago