Title: Throws Errors Under PHP 8.0
Last modified: February 17, 2023

---

# Throws Errors Under PHP 8.0

 *  [inndesign](https://wordpress.org/support/users/inndesign/)
 * (@inndesign)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/throws-errors-under-php-8-0/)
 * The plugin is good under PHP 7.4, but we had to update the dedicated servers’
   PHP to 8.0. As a result, in every instance where a hosted website had this plugin
   installed, errors are thrown. Therefore we had to disable it globally.
   Example:**
   Warning**: Trying to access array offset on value of type bool in **/home/domain/
   public_html/wp-content/plugins/autoclear-autoptimize-cache/autoclear-autoptimize-
   cache.php** on line **236**
 * I found that it conflicts with all recent versions of **LayerSlider** (tested
   7.6.1 through 7.6.8). When Autoclear Autoptimize Cache is disabled, all PHP warnings
   cease when installed alongside **LayerSlider**.

The topic ‘Throws Errors Under PHP 8.0’ is closed to new replies.

 * ![](https://ps.w.org/autoclear-autoptimize-cache/assets/icon.svg?rev=1911024)
 * [Autoclear Autoptimize Cache](https://wordpress.org/plugins/autoclear-autoptimize-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoclear-autoptimize-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoclear-autoptimize-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/autoclear-autoptimize-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoclear-autoptimize-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoclear-autoptimize-cache/reviews/)

## Tags

 * [PHP 8.0](https://wordpress.org/support/topic-tag/php-8-0/)

 * 0 replies
 * 1 participant
 * Last reply from: [inndesign](https://wordpress.org/support/users/inndesign/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/throws-errors-under-php-8-0/)
 * Status: not resolved