Hi @alexpr1987 ,
Thank you for reaching out to our team!
Our plugin supports PHP 8+ versions up to the most recent one. May I kindly ask which version of our plugin are you using currently?
Hello. i am using version 2.9.1, i think is the last. I have hosting on siteground, i try change php to below versione 8- and it work, have any idea?
Hi @alexpr1987 ,
Yes you seem to be using our latest version, an odd issue is what you mention however. We’re more than happy to take a look, but would it be possible if you can provide us the error you receive when you’re using PHP 8.0 and above? Also the specific PHP version would also help a lot, along with the error report you see. You can directly either copy-paste here, or you can also provide a screenshot – whichever method is the most convenient for you.
Hello!
I’m also having problems with PHP 8.2.19 and version 2.9.1 and earlier of the plugin.
The server log has this entry:
AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/ultimate-social-media-icons/views/sfsi_other_banners.php:127
I have been able to solve it by changing that line to:
if (empty($sfsi_dismiss_optimization) || $sfsi_dismiss_optimization === ‘1’ || (isset($sfsi_dismiss_optimization[‘show_banner’]) && $sfsi_dismiss_optimization[‘show_banner’] == “yes”)) {
In fact, I’ve changed all the similar ifs in that script to:
if (empty($sfsi_dismiss_*) || $sfsi_dismiss_* === ‘1’ || (isset($sfsi_dismiss_*[‘show_banner’]) && $sfsi_dismiss_*[‘show_banner’] == “yes”)) {
Hope that helps
Thank you very much marketinet.
@efedinler1 i have the same problem with id marketinet say. I think need to add this control for all ID in the script as marketinet say.
Can you manage in next release?
Thank you
Hi @marketinet & @alexpr1987 , thank you for the detailed feedback!
Our development team is currently taking a look at this specific issue and your input on it, and I will provide you further feedback on how to move forward as soon as possible.
Hello, i have update last version but have same problem. Can you give me feedback on that?
Thank you.
Regards
Hi @alexpr1987 ,
Please accept my apologies for the late response. We have released a new version recently, could you kindly update the plugin and check again? The error should be cleared now.
Hello Efe, thank for answer. I have update to version 2.9.2 but the problem is still present.
Need to put PHP 7 to work, with PHP 8 not working.
Regards