Title: PHP 8.0 Error
Last modified: September 15, 2022

---

# PHP 8.0 Error

 *  Resolved [Richard Bystricky](https://wordpress.org/support/users/repetebox/)
 * (@repetebox)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-8-0-error-8/)
 * When I upgraded to PHP 8.0, site works fine but in Dashboard when I went to Plugins
   it showed: There has been a critical error on this website.
 * This is the critical error:
 * Uncaught Error: Call to undefined function is_executable() in /www/hosting/repekum.
   sk/www/wp-content/plugins/ewww-image-optimizer/unique.php:450
 * Is there any solution for this please?

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

 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-8-0-error-8/#post-16014379)
 * Hey Richard,
 * That is a server issue, where your server has the is_executable() disabled in
   the PHP configuration (or your webhost has disabled it for you). It doesn’t have
   anything to do with PHP 8.0 and is used to check directory permissions. Essentially,
   a directory must be executable or you can’t put anything in it. So, I would talk
   with your Webhost to see why they have disabled it (there really isn’t any reason
   to) and/or just request that they enable it.
 *  Thread Starter [Richard Bystricky](https://wordpress.org/support/users/repetebox/)
 * (@repetebox)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-8-0-error-8/#post-16014617)
 * Thank you very much for your answer. It was great help.
 * I followed your advice and problem is solved.

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

The topic ‘PHP 8.0 Error’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Richard Bystricky](https://wordpress.org/support/users/repetebox/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/php-8-0-error-8/#post-16014617)
 * Status: resolved