Hi @thunder_god
It’s possible this could have been a temporary issue, based on that Invalid token
message, but you might want to try the following to make it less likely to happen:
? Add the following to your wp-config.php file (before the “That’s all! Stop editing…” message) to increase the amount of memory and time available for image optimization (this can be a larger number if your host/server will allow):
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
set_time_limit(0);
? Install our cURL Fix helper plugin to have your server allow more time for optimization to complete before timing out (works simply by activating).
? Install our Bulk Optimization Buffer helper plugin to reduce the number of images optimized at once from 4 down to just 1, which eases server load during optimization (works simply by activating – refresh Bulk page after).
? Install our Don’t Use Image Magick helper plugin to have your server use an image manipulation module called GD, as when Imagick is used, it can sometimes make optimization very slow or not work well (works simply by activating).
Please feel free to let me know what you think. If you have any further questions on this, I’ll be glad to continue assisting however I can!
Best Regards
Marko