Fatal error: Allowed memory size of …
-
I installed the latest version of your plugin 6.5.8 on a clean installed WordPress environment (wp:6.5.8 php:8.2) and noticed a memory error.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/wp-content/plugins/wp-retina-2x/classes/core.php on line 1478
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0This issue was not observed when updating from 6.5.7.
The error seems to be occurring in the
pre_option_xxx
hook ofget_option()
in WordPress core.It seems that the
pre_option_wr2x_options
hook keeps running in succession.
Is it possible thatget_all_options()
of theMeow_WR2X_Core
class callsupdate_options()
,sanitize_options()
, and thenget_all_options()
again?I can also reproduce this issue in WordPress Playground.
https://playground.wordpress.net/?plugin=wp-retina-2x
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.