Title: PHP 8 incompatibility issue
Last modified: April 25, 2022

---

# PHP 8 incompatibility issue

 *  [mdifelice](https://wordpress.org/support/users/mdifelice/)
 * (@mdifelice)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-incompatibility-issue/)
 * We discovered an issue with your plugin that we would like to inform you about.
   Basically, the file `modules/animated-gradient/module.php`, on the line 127, 
   calls the function `implode` on the `$color` variable, which is never initialized.
   If the variable is not filled by the previous loop, it will generate a TypeError,
   causing the page to stop executing (it thinks it is a string instead of the expected
   array).
 * We propose to initialize the variable `$colors` as an array on the line 121 (
   just before the loop).
 * We would like to know if you plan to address this soon. Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Hardik Sharma](https://wordpress.org/support/users/hardiksharma/)
 * (@hardiksharma)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-incompatibility-issue/#post-15590753)
 * Hi [@mdifelice](https://wordpress.org/support/users/mdifelice/),
    Thanks for 
   reporting a bug. We will fix this in the next release. we are going to release
   it soon

Viewing 1 replies (of 1 total)

The topic ‘PHP 8 incompatibility issue’ is closed to new replies.

 * ![](https://ps.w.org/addon-elements-for-elementor-page-builder/assets/icon.svg?
   rev=3415246)
 * [Addon Elements for Elementor (formerly Elementor Addon Elements)](https://wordpress.org/plugins/addon-elements-for-elementor-page-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addon-elements-for-elementor-page-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addon-elements-for-elementor-page-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/addon-elements-for-elementor-page-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addon-elements-for-elementor-page-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addon-elements-for-elementor-page-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hardik Sharma](https://wordpress.org/support/users/hardiksharma/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-incompatibility-issue/#post-15590753)
 * Status: not resolved