Hello @dumel
Thank you for reaching out and I am happy to help!
In most cases, this is related to the enironment and that the limits are reached on your server.
Try adding the following lines to your wp-config.php and make sure to add the code just before the line
/* That’s all, stop editing! Happy blogging. */
set_time_limit(600);
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
If modifying your wp-config.php file doesn’t solve this, you’ll have to address the issue within your server settings instead of within WordPress.
To increase the PHP memory limit and upload limit, change these lines in PHP.ini
memory_limit = 128M
upload_max_filesize = 12M
post_max_size = 13M
file_uploads = On
max_execution_time = 180
The actual numbers are examples so you shoul increase those.
Let me know if this helps!
Thanks!
Thread Starter
Dumel
(@dumel)
Hi Marko
Thank you for the prompt reply! The site already has resources assigned that exceed your requirements. Memory is at 1024MB and upload_max_filesize / post_max_size is at 64MB. The only parameter less than your requirement is max exec time which I prefer to leave at 60s. This error is instantaneous so I dont think it is a time-out limitation.
Hello @dumel
Thank you for your feedback.
Are you referring to the wp-config.php wp limits or the php.ini?
CAn you please sahre if this is a multisite? Please try to purge all caches and clear your borwser cache completly and, sign in again and see if the problem re-occurs.
Thanks!
Thread Starter
Dumel
(@dumel)
Thank you. Clearing all cache solved the issue.
Thread Starter
Dumel
(@dumel)
Actually I spoke to soon. I was able to enable cloudflare but when I went to settings it gave me the same error again.