Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Memory Error after Upgrade

Started by Claud Rusnac 8 years ago · 4 replies · 1432 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 Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Colin Hume, 1 week ago
2 59 5 days ago