Title: Compatibility PHP 8.0
Last modified: February 25, 2022

---

# Compatibility PHP 8.0

 *  Resolved [jaunalgi](https://wordpress.org/support/users/jaunalgi/)
 * (@jaunalgi)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/)
 * Hello,
 * After testing our website with PHP 8.0 (last major version is 8.1) the website
   gave us a blank page. The logs are self-explanatory :
 * `PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on 
   string in .../public_html/wp-content/plugins/essential-addons-for-elementor-lite/
   includes/Traits/Generator.php:343`
 * The line is `${$file[ 'type' ]}[ $file[ 'context' ] ][] = $file[ 'file' ];`
 * With PHP 7.4, there is no such error so it points out the PHP version. 8.0 was
   released on November 2020.
    — Forgot to say but the plugin is up to date.
    -  This topic was modified 4 years, 3 months ago by [jaunalgi](https://wordpress.org/support/users/jaunalgi/).

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

 *  [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15404264)
 * Hi [@jaunalgi](https://wordpress.org/support/users/jaunalgi/) ,
    Hope you are
   doing well.
 * It seems strange as we are also using the Essential Addons for Elementor in the
   PHP 8.0.0 and didn’t find such issue. I can assure you that our plugin is compatible
   with the latest version of PHP.
 * Will you please contact us from here: [Contact Support](https://wpdeveloper.com/support/new-ticket/)
   so that our developer team can check the issue deeply and assist you?
 * Thank you.
 *  Thread Starter [jaunalgi](https://wordpress.org/support/users/jaunalgi/)
 * (@jaunalgi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15465647)
 * I do not know why you marked it as resolved. Far from it! You may not have reproduced
   it but it does not mean there is not a problem. The logs speak for themselves
   and I even point out the line of the problem and the file.
 * After the update of plugin, the error still exist with PHP 8.0. By the way 8.0.0
   is 1 year and a half old. I am stuck to a almost 2 year version of PHP.
    Same
   error, same line, nothing has changed. Please **fix it**.
 *     ```
       log
       PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /home/XXX/public_html/wp-content/plugins/essential-addons-for-elementor-lite/includes/Traits/Generator.php:343
       ```
   
 * I mean, it is not that hard to fix. Just check you are dealing with an array 
   and not a string. It is part of best practices.
 * * [https://www.php.net/manual/en/function.is-array.php](https://www.php.net/manual/en/function.is-array.php)
   *
   [https://www.php.net/manual/en/function.array-key-exists.php](https://www.php.net/manual/en/function.array-key-exists.php)
 * Thank you
 * —
 * I used the contact form with the information reported here.
    -  This reply was modified 4 years, 2 months ago by [jaunalgi](https://wordpress.org/support/users/jaunalgi/).
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15499805)
 * Hello [@jaunalgi](https://wordpress.org/support/users/jaunalgi/),
 * Greetings. Hope you’re doing good.
 * First of all, sorry for the inconvenience caused. I have already talked about
   the issue that you’re facing with my Dev team. They’re seriously taking to investigate
   this issue. Please allow us some time. Hope we will get the proper reason behind
   it and find the solution as well soon.
 * And then I will get back to you with the update regarding it.
 * Hope you understand. Thank you!
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15508717)
 * Hello [@jaunalgi](https://wordpress.org/support/users/jaunalgi/),
 * Hope you’re doing good.
 * And also sorry for taking your time. However, I’m coming up with a piece of good
   news. We have fixed the issue with PHP (8.0) that you’re facing. Please download
   this updated file from here and install it:- [https://d.pr/f/VbV2Bn](https://d.pr/f/VbV2Bn)
 * Hopefully, you will not face the issue anymore and enjoy the plugin again.
 * Let me know the update on how it works.
 * Thank you!
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15521387)
 * Hello [@jaunalgi](https://wordpress.org/support/users/jaunalgi/),
 * Hope you’re doing good.
 * Would you kindly inform us did you try the updated version that I had previously
   given? If yes, would you please tell me the feedback regarding that, is your 
   issue fixed or not? It may help us to review that updated version again.
 * Thank you!
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15544139)
 * Hello [@jaunalgi](https://wordpress.org/support/users/jaunalgi/),
 * Hope you’re doing good.
 * As we’re not getting any response from you, We believe that your issue has been
   solved. And so we mark this topic as resolved now.
 * Thank you!

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

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

 * ![](https://ps.w.org/essential-addons-for-elementor-lite/assets/icon-256x256.
   gif?rev=3182943)
 * [Essential Addons for Elementor - Popular Elementor Templates & Widgets](https://wordpress.org/plugins/essential-addons-for-elementor-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-addons-for-elementor-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/compatibility-php-8-0/#post-15544139)
 * Status: resolved