Title: Optimisation is stuck
Last modified: March 2, 2023

---

# Optimisation is stuck

 *  Resolved [jvinzent](https://wordpress.org/support/users/jvinzent/)
 * (@jvinzent)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/optimisation-is-stuck/)
 * Hi,
 * we recently migrated to PHP 8.1. Since, optimization seems to fail.
 * Here are some results of the helper plugin :
   `$_POST` requests to `https://marsactu.
   fr/wp-cron.php` blocked -> cURL error 28: Operation timed out after 10001 milliseconds
   with 0 bytes received
 * `$_POST` requests to `http://marsactu.fr/wp-cron.php` blocked -> Blocked by `.
   htaccess` file, a firewall, or the host (http code is `403 Forbidden`).
 * Do you think these errors are responsible of the failure ?
 * Thanks for your help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foptimisation-is-stuck%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/optimisation-is-stuck/#post-16521360)
 * Hi [@jvinzent](https://wordpress.org/support/users/jvinzent/)
 * I am sorry to hear about the optimization issues!
 * It might be best to contact your host provider in order to unblock the requests
   and to check if there is a firewall or security module that could block those
   self-requests.
 * The 403 Forbidden error means that your server is for some reason blocking the
   requests needed between your server and ours for optimization to happen.
 * If you are using any security plugin you could try to deactivate it and check
   optimization again.
 * Feel free to let me know how it goes.
 * Best Regards,
 * Ioanna
 *  Thread Starter [jvinzent](https://wordpress.org/support/users/jvinzent/)
 * (@jvinzent)
 * [3 years ago](https://wordpress.org/support/topic/optimisation-is-stuck/#post-16541010)
 * Hi,
 * our host provider solved these errors but we get stuck, possibly by another :
   
   FS_CHMOD_DIR0770 (504) Should be 0775 (509).
 * FS_CHMOD_FILE0660 (432)Should be 0664 (436).
 * But a first check on rights seems OK to them (I’m not familiar with this as far
   as I am concerned) 
   drwxrwx— user user wwwdrwxrwxr-x user user wp-contentdrwxrwxr-
   x user user uploads(where user is the user)
 * Thanks for your help
 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [3 years ago](https://wordpress.org/support/topic/optimisation-is-stuck/#post-16547470)
 * Hi [@jvinzent](https://wordpress.org/support/users/jvinzent/)
 * This kind of issue is related to permissions. In this case, as well you need 
   to contact your host provider in order to check if your permissions settings 
   are correctly configured. The permissions should be 755 or 775 for folders and
   644 for files.
 * Let me know if you need further assistance. I’ll be happy to help.
 * Best Regards,
 * Ioanna
 *  Thread Starter [jvinzent](https://wordpress.org/support/users/jvinzent/)
 * (@jvinzent)
 * [3 years ago](https://wordpress.org/support/topic/optimisation-is-stuck/#post-16565012)
 * Hi,
 * our host provider told us to modify wp-config.php file, where the MYSQL rights
   were not as required. Now we have
 * define( ‘FS_CHMOD_DIR’, ( 0775 & ~ umask() ) );
   define( ‘FS_CHMOD_FILE’, ( 0664&
   ~ umask() ) );
 * According to our host provider, permissions for files are also correct. But we
   still have the same error in Imagify Tools. What could be wrong ?
   (the topic 
   is not resolved, I don’t know why it is checked)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Optimisation is stuck’ is closed to new replies.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [jvinzent](https://wordpress.org/support/users/jvinzent/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/optimisation-is-stuck/#post-16565012)
 * Status: resolved