Hello, there is a script running with huge number of records in the database. Under this project rented a VPS 4GB RAM.
The script is run from the admin area of WP and returns an error
E_ERROR Error in file �wp-db.php� at line 1889: Allowed memory size of 268435456 bytes exhausted (tried to allocate 80 bytes)
Tried to add in wp-config:
define('WP_MEMORY_LIMIT', '512M'); define('WP_MAX_MEMORY_LIMIT', '512M');
The I is not changed ... Always Allowed memory size of 268435456 bytes.
In php.ini memory_limit 1024M
How to show WordPress that the memory has changed?