• Resolved broslavski

    (@broslavski)


    After updating the plugin to version 3.21.2, the following notifications appeared on the frontend of the pages:

    Warning: Undefined array key "icon" in /wp-content/plugins/elementor/includes/widgets/icon-box.php on line 695

    Warning: Undefined array key "icon" in /wp-content/plugins/elementor/includes/widgets/icon-box.php on line 708

    Do I need to make any code changes to get rid of the problem or should I wait for the next plugin update?

Viewing 15 replies - 1 through 15 (of 15 total)
  • LogoLogics

    (@logologics)

    Hi,

    You might want to try and clear all possible cache and regenerate CCS in Elementor settings. Click on the Elementor tab and you should see that option.

    demonshi

    (@demonshi)

    I have the same problem. After updating Elementor 3.21.2, it shows the error – Undefined array key “icon”

    wp-content/plugins/elementor/includes/widgets/icon-box.php:695
    wp-content/plugins/elementor/includes/widgets/icon-box.php:708

    There is no caching on the site. “Regenerate CCS” in Elementor tools doesn’t help.

    WP 6.5.2
    PHP 8.1

    Thread Starter broslavski

    (@broslavski)

    @demonshi is right. Regenerating CSS doesn’t fix the problem.

    markusoooo

    (@markusoooo)

    Revert back to previous version of Elementor. Seems like someone tried to “fix” Icon Box bug and created another one.

    Elementor > Tools > Version Control
    and choose Rollback Version 3.20.4 and Reinstall v3.20.4

    Thread Starter broslavski

    (@broslavski)

    @markusoooo Yes, I did the same until it’s fixed.

    eloou

    (@eloou)

    same problem here.

    The rollback to v3.20.4 fixed this problem

    • This reply was modified 7 months ago by eloou.
    strawberry4467

    (@strawberry4467)

    Hi,

    I had to downgrade the Elementor plugin and disable updates. Please let me know when the developers have fixed the bug.

    eloou

    (@eloou)

    for those who want to fix it before new update :
    https://github.com/elementor/elementor/issues/25837

    Thread Starter broslavski

    (@broslavski)

    Thank you @eloou. Let’s wait for the developers to notice the problem and fix it in future updates.

    iontulburedev

    (@iontulburedev)

    Same issue here. Rolled back to 3.20.3 for both Free & Pro plugins and it “solved” the issue .

    Plugin Support Joel

    (@joelsm)

    Hi there.

    I hope this message finds you well.?

    I wanted to address the recent PHP warnings encountered on your WordPress site. This happens with PHP version 8 and higher and Debug mode enabled.

    It’s important to note that warnings, in the context of WordPress, serve as notifications about potential issues but do not disrupt the functionality of your production site.

    Our team is actively engaged in resolving this issue to ensure a seamless experience for you.

    Since Elementor doesn’t officially support? PHP 8+, I recommend temporarily downgrading to the stable version 7.4 to check if the issue persists. To avoid any immediate impact, you can disable WP debug mode as another temporary measure.

    Add this line to their wp-config.php file to hide the warnings: https://prnt.sc/7namXXAU1evo

    define('WP_DEBUG_DISPLAY', false)

    Rest assured, these warnings do not affect your site’s stability or performance.

    You can track the progress and implementation of changes in our plugin updates by visiting our changelog?? page.

    I sincerely apologize for any inconvenience this may have caused.

    Thank you and have a great day!

    Thread Starter broslavski

    (@broslavski)

    Thank you for your response, @joelsm. Please let us know when this problem is fixed.

    Plugin Support Joel

    (@joelsm)

    Hi there,

    Please update the last Elementor version 3.21.3 – 2024-04-25

    • Fix: Error notices appear in the editor and front end when using Icon Box widget (#25837)

    This solves the issue!

    We are wishing you a pleasant day ahead.

    Kind Regards,

    markusoooo

    (@markusoooo)

    Hello @joelsm.

    Thank you for your response.
    I will play a role of nitpicking prick here, hope you excuse me for few lines of text.

    Link you suggested about PHP v8+ and Elementor compatibility states, that PLANS are to support PHP v8+ as standard in 2024, since PHP v7+ are already outdated (of course stating also this is subject to change, to have wiggle room, I guess in this kind of situation). There is even encouragement at the end of the article to upgrade from “older and unsupported PHP versions”. So, I find your suggestion to temporarily downgrade, to fix this kind of issue a bit funny.

    You also suggest temporarily disabling WordPress debugging messages. Well, is it really good idea to disable ALL (Warning, Error) WordPress messages?
    Maybe, if you like to live dangerously, I guess.

    I know you posted an apology for inconvenience in here, but I cannot get over these suggested solutions, which may cause more issues in the long run. Why not just suggest rollback of the Elementor version instead, or lead us to next update date?

    Anyway, have a nice day too, Joel.
    MarkusoOoO out.

    Thread Starter broslavski

    (@broslavski)

    After updating to version 3.21.3, the problem was fixed. Thank you.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Warning notification after Elementor update’ is closed to new replies.