PHP Fatal error: Allowed memory size (WordPress 6.8)
-
I can’t use Query Monitor on local site. In admin i’m getting
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 266240 bytes) in HIDDEN-FULL-PATH/web/wp-content/plugins/query-monitor/classes/Backtrace.php on line 137
OS: Zorin OS 17.3 x86_64
Web server: nginx/1.26.3 (Valet Linux v2.3.11)
PHP: 8.3
DB: mysql Ver 15.1 Distrib 10.6.21-MariaDB
Browser: Latest Chrome on Linux
How I tested:
Clean site install (WordPress 6.8).
Removed all themes (except Twenty Twenty-Five) and plugins.
Active theme is Twenty Twenty-Five (v 1.2).
In wp-config.php setdefine( 'QM_ENABLE_CAPS_PANEL', true );
Install Query Monitor.
Trying activate Query Monitor. GettingPHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 266240 bytes) in HIDDEN-FULL-PATH/web/wp-content/plugins/query-monitor/classes/Backtrace.php on line 137
.
Open front-end. Front-end is working without errors.
Trying open back-end and getting PHP Fatal error.
Renaming query-monitor folder to query-monitor-bcp and then back-end and front-end working again.
In wp-config.php setdefine( 'QM_ENABLE_CAPS_PANEL', false );
Renaming query-monitor-bcp folder to query-monitor and activating Query Monitor plugin. This time back-end and front-end working as expected. No errors.
- You must be logged in to reply to this topic.