Got error ‘PHP message: PHP Warning: Undefined array key “promotionWidgets”

This topic has 4 replies, 2 voices, and was last updated 3 months, 1 weeks ago ago by Toby Bourke

  • Avatar: Toby Bourke
    Toby Bourke
    Participant
    August 28, 2025 at 06:59

    Hey Support,

    I have been getting Critical errors on my website, when trying to edit the home page via elementor.

    Attached is the screenshot I get when I select Edit with Elementor on the all pages menu.

    The error logs I get are below:

    ##DOMAIN### [Thu Aug 28 06:52:20 2025] [error] [client ##IPADDRESS##:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “promotionWidgets” in /home/sites/17b/4/42ef4028a4/##DOMAIN###/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php on line 165; PHP message: PHP Fatal error: Uncaught TypeError: Elementor\\Core\\Editor\\Loader\\Common\\Editor_Common_Scripts_Settings::ensure_numeric_keys(): Argument #1 ($array) must be of type array, null given, called in /home/sites/17b/4/42ef4028a4/##DOMAIN###/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php on line 165 and defined in /home/sites/17b/4/42ef4028a4/##DOMAIN###/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php:180\nStack trace:\n#0 /home/sites/17b/4/42ef4028a4/##DOMAIN###/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(165): Elementor\\Core\\Editor\\Loader\\Common\\Editor_Common_Scripts_Settings::ensure_numeric_keys(NULL)\n#1 /home/sites/17b/4/42ef4028a4/##DOMAIN###/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(167): Elementor\\Core\\Editor\\Loader\\Common\\Editor_Common_Scripts_Settings::get()\n#2 /home/sites/17b/4/42e…’

    I have removed my domain and public ip hidden as this is a public forum and wish to keep my website private

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 28, 2025 at 07:53

    Hello,

    Thank you for reaching out to us.

    We kindly recommend that you temporarily downgrade the version of the Elementor plugin (https://wordpress.org/plugins/elementor/advanced/) until the developers of the Pro Elements plugin release a fix for the current issue.

    We appreciate your understanding and patience in this matter.

    Best regards,
    8Theme’s Team

    Avatar: Toby Bourke
    Toby Bourke
    Participant
    August 28, 2025 at 11:13

    Confirming that reverting back to version 3.31.2 of the elementor app, was the fix.

    Thankyou

    Avatar: Toby Bourke
    Toby Bourke
    Participant
    August 28, 2025 at 11:14

    Thanks for the support! My topic “Got error ‘PHP message: PHP Warning: Undefined array key “promotionWidgets”” has been successfully resolved.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Got error ‘PHP message: PHP Warning: Undefined array key “promotionWidgets”’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.