• Resolved jaunalgi

    (@jaunalgi)


    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 3 years ago by jaunalgi.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Amit Barai Alit

    (@amitbarai013)

    Hi @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 so that our developer team can check the issue deeply and assist you?

    Thank you.

    Thread Starter jaunalgi

    (@jaunalgi)

    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.array-key-exists.php

    Thank you

    I used the contact form with the information reported here.

    • This reply was modified 2 years, 11 months ago by jaunalgi.
    Plugin Support Amit Paul

    (@paulamit)

    Hello @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

    (@paulamit)

    Hello @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

    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

    (@paulamit)

    Hello @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

    (@paulamit)

    Hello @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.