Hi just bought your plugin but it is throwing errors for me. When I run it is says “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 28672 bytes) in /var/www/vhosts/petards.com/httpdocs/wp-includes/wp-db.php on line 1924”
I’ve increased memory to 3000M everywhere and validated it has worked.
also if I turn off “Posts, Pages, Custom Post Types” and just do the other tables I get these errors:
http://www.fingodev.co.uk/petards-error.txt
Are you able to help please? This is urgent for the client so any help greatly aprpeciaetd.
OnPoint Plugins
I have released a new version 5.0.3 just now of the basic plugin which allows you to override the memory limit using the WP_MEMORY_LIMIT constant in your wp-config.php
Example:
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
You will now be able to set this to whatever is necessary for the queries to complete.
luke
Thanks for jumping on it so quickly, I actually added
define( ‘WP_MEMORY_LIMIT’, ‘3000M’ );
into the config file and it was using 3000M but didn’t work.
I actually found a workaround in the end. The only solution I could find was to add this line just before the error
ini_set(‘memory_limit’, ‘-1’);
Seemed to run then.
Best regards,