Website http://www.aeon-europe.com works fine user-side, but when trying to access WordPress the following error appears on screen:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /web/htdocs/www.aeon-europe.com/home/wp-includes/class-wp-query.php on line 3726
I've already tried the following changes: in file default-constants.php define( 'WP_MEMORY_LIMIT', '256M'), and in file wp-confing ho aggiunto define ('WP_MEMORY_LIMIT', '256M').
I can't modify the php.ini file because I can only update up to 7.1.11 version unless I change server, which is unfortunately non an option right now (we've got a big event coming up and the website has to stay operational).
What can I do to solve the problem?
Thank you so much