All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Please read about the changes to BoldMinded add-on licensing.

Ticket: Memory Limit Issue

Status Resolved
Add-on / Version Custom System Messages
Severity Critical
EE Version

Jon Wright Design

Jun 06, 2012

I’m using CSM on MSM, latest version of everything.

The extension is working fine on one of my sites, but not the second. I get a memory limit error instead of the CSM Error page on submission.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85840 bytes) in .../expressionengine/modules/channel/mod.channel.php on line 275

The form error works fine when I disable CSM and use the native EE error page.

#1

BoldMinded (Brian)

Thats a new one to me, but most likely not a CSM issue. Line 275 of that file is $this->build_sql_query();, so its the channel module that is having the issue. Since you’re using CSM y ou’re undoubtably using a custom/normal template as the error page, correct? When you disable CSM it uses the native error pages, which don’t process other tags, e.g. the channel:entries tag. Try removing any channel:entries tags you have in your error template and see what happens.

#2

Jon Wright Design

That did the trick, thanks very much!

#3

BoldMinded (Brian)

No problem. I guess your next step is to figure out what is wrong with that entries tag. Make sure your profiler is on so you can see the queries being executed.

Login to reply