{"id":19044083,"date":"2026-10-13T18:45:29","date_gmt":"2026-10-13T18:45:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/elementor-editor-fatal-error-in_array-null-in-widget-creation-module-php\/"},"modified":"2026-10-13T18:45:29","modified_gmt":"2026-10-13T18:45:29","slug":"elementor-editor-fatal-error-in_array-null-in-widget-creation-module-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/elementor-editor-fatal-error-in_array-null-in-widget-creation-module-php\/","title":{"rendered":"Elementor editor fatal error: in_array() null in widget-creation\/module.php"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello Elementor Support Team,We are experiencing a persistent fatal error when attempting to open the Elementor editor on our WordPress website, solvdebt.com.Our hosting provider, Rocket.net, investigated the issue and identified the following PHP fatal error:PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null givenError location: wp-content\/plugins\/elementor\/modules\/widget-creation\/module.php:128The stack trace points to: Elementor\\Modules\\WidgetCreation\\Module-&gt;custom_widgets_category_has_widgets()Environment:\u2022 Elementor: 4.2.4\u2022 Elementor Pro: 3.32.3\u2022 PHP: 8.3.35\u2022 Theme: TheGem Elementor Child\u2022 WPML installedTroubleshooting already performed:Rocket.net tested rolling back and updating plugin versions, but the issue persists.Their engineers confirmed that no WPML-related errors are currently appearing. They also identified a potential compatibility concern between Elementor 4.2.4 and Elementor Pro 3.32.3.The Elementor Pro license currently shows &#8220;Mismatch&#8221;, but we have not established whether this is related to the editor failure.Could you please advise:1. Is this a known bug in the Widget Creation module?2. Could the Elementor and Elementor Pro version combination be causing the problem?3. Is there a safe fix or workaround that we can test on staging?4. Can the Widget Creation module be temporarily disabled without affecting existing Elementor layouts?We have a staging environment and a backup available for safe testing.Our priority is to restore the Elementor editor without losing existing page designs or content.Thank you for your assistance.<\/p>\n","protected":false},"template":"","class_list":["post-19044083","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19044083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19044083\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19044083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}