Code: Select all
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 129805252 bytes) in .../plugins/system/debug/debug.php on line 347
Solution:
plugins/system/debug/debug.php on line 347 can be made more robust:
Replace...
Code: Select all
echo str_replace('</body>', implode('', $html) . '</body>', $contents);
Code: Select all
echo str_replace('</body>', '', $contents);
echo implode('', $html) . '</body>';
Hope that helps someone,