-
Notifications
You must be signed in to change notification settings - Fork 1.5k
⌛ 🔗 Elementor Connect throws PHP Deprecation warning on localhost when unable to connect with Elementor API (Duplicate of #32923) #33530
Copy link
Copy link
Open
Labels
compatibility/php-8Indicates a compatibility problem with PHP versions 8.0 or newer.Indicates a compatibility problem with PHP versions 8.0 or newer.component/codeIndicates when a topic is related to a component’s code.Indicates when a topic is related to a component’s code.component/connectReferences any component related to the Elementor Connect - License Activation, Library Connection,References any component related to the Elementor Connect - License Activation, Library Connection,duplicateIndicates when an Issue or a Discussion is a duplicate of another Issue or Discussion.Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion.mod*[Temp.] For internal use only.[Temp.] For internal use only.mod/b*[Temp.] For internal use only.[Temp.] For internal use only.mod/d*[Temp.] For internal use only.[Temp.] For internal use only.mod/e*[Temp.] For internal use only.[Temp.] For internal use only.status/evaluatingIndicates when an Issue or Discussion is under evaluation or analysis.Indicates when an Issue or Discussion is under evaluation or analysis.
Description
Description
Hello,
This warning shows on localhost (XAMPP) in the editor and pages. localhost has a problem accessing Elementor.com, so this warning shows. This warning does not happen on the hosted site.
wp-debug should be true.
Deprecated: Automatic conversion of false to array is deprecated in elementor\includes\api.php on line 176Reported here too: #32923
Steps to reproduce
1- Install a fresh WordPress, my theme, and Elementor
2- Create a new page with Elementor.
Expected behavior
Not show any error and warning
Elementor System Info
Click to reveal
== Server Environment ==
Operating System: WINNT
Software: Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4
MySQL version: mariadb.org binary distribution v10.4.28
PHP Version: 8.2.4
PHP Memory Limit: 1024M
PHP Max Input Vars: 10000
PHP Max Post Size: 50M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Not connected (HTTP Error (403))
== WordPress Environment ==
Version: 6.8.3
Site URL: http://localhost/atlas
Home URL: http://localhost/atlas
WP Multisite: No
Max Upload Size: 50 MB
Memory limit: 40M
Max Memory limit: 1024M
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Language: en_US
Timezone: 0
Debug Mode: Active
== Theme ==
Name: atlas
Version: 1.0
Author: RivaxStudio
Child Theme: No
== User ==
Role: administrator
WP Profile lang: en-US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
== Active Plugins ==
Elementor
Version: 3.33.0
Author: Elementor.com
atlas Addon
Version: 1.0
Author: Rivax Studio
== Elementor Experiments ==
Inline Font Icons: Active by default
Additional Custom Breakpoints: Active by default
Container: Active
Optimized Markup: Active
Pro Free Trial Popup: Inactive by default
Nested Elements: Active
Pages Panel: Inactive by default
Elementor Home Screen: Active by default
Atomic Widgets: Inactive
Global Classes: Inactive
Enforce global classes capabilities: Active by default
Variables: Active by default
Cloud Library: Active by default
Editor v4 (Opt In Page): Active by default
Editor V4: Inactive
Components: Inactive by default
Import/Export Customization: Active by default
Elementor Editor Events: Inactive by default
== Log ==
Log: showing 20 of 332025-07-31 06:36:49 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.30.2',
'to' => '3.30.4',
)]
2025-07-31 06:36:52 [info] elementor::elementor_updater Started
2025-07-31 06:36:52 [info] Elementor/Upgrades - _on_each_version Start
2025-07-31 06:36:52 [info] Elementor/Upgrades - _on_each_version Finished
2025-07-31 06:36:52 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.30.2',
'to' => '3.30.4',
)]
2025-08-19 08:40:36 [info] elementor::elementor_updater Started
2025-08-19 08:40:36 [info] Elementor/Upgrades - _on_each_version Start
2025-08-19 08:40:36 [info] Elementor/Upgrades - _on_each_version Finished
2025-08-19 08:40:36 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.30.4',
'to' => '3.31.2',
)]
2025-08-19 08:40:36 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.30.4',
'to' => '3.31.2',
)]
2025-09-16 09:16:34 [info] elementor::elementor_updater Started
2025-09-16 09:16:34 [info] Elementor/Upgrades - _on_each_version Start
2025-09-16 09:16:34 [info] Elementor/Upgrades - _on_each_version Finished
2025-09-16 09:16:34 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.31.2',
'to' => '3.32.0',
)]
2025-09-16 09:16:34 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.31.2',
'to' => '3.32.0',
)]
2025-11-15 14:13:03 [info] elementor::elementor_updater Started
2025-11-15 14:13:03 [info] Elementor/Upgrades - _on_each_version Start
2025-11-15 14:13:03 [info] Elementor/Upgrades - _on_each_version Finished
2025-11-15 14:13:03 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.32.0',
'to' => '3.33.0',
)]
2025-11-15 14:13:03 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.32.0',
'to' => '3.33.0',
)]
PHP: showing 3 of 3PHP: 2025-06-03 17:57:36 [warning X 1][C:\xampp\htdocs\atlas\wp-content\plugins\elementor\core\base\background-process\wp-background-process.php::297] Attempt to read property "option_value" on null [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2025-06-14 09:45:21 [notice X 170][C:\xampp\htdocs\atlas\wp-content\plugins\elementor\includes\api.php::176] Automatic conversion of false to array is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2025-09-16 09:19:01 [error X 3][C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\transformations\filter-plugins.php::30] Uncaught TypeError: Elementor\Modules\Home\Transformations\Filter_Plugins::get_add_ons_installation_status(): Argument #1 ($add_ons) must be of type array, null given, called in C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\transformations\filter-plugins.php on line 21 and defined in C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\transformations\filter-plugins.php:30
Stack trace:
#0 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\transformations\filter-plugins.php(21): Elementor\Modules\Home\Transformations\Filter_Plugins->get_add_ons_installation_status(NULL)
#1 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\classes\transformations-manager.php(48): Elementor\Modules\Home\Transformations\Filter_Plugins->transform(Array)
#2 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\api.php(25): Elementor\Modules\Home\Classes\Transformations_Manager->run_transformations()
#3 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\api.php(19): Elementor\Modules\Home\API->transform_home_screen_data(Array)
#4 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\module.php(102): Elementor\Modules\Home\API->get_home_screen_items()
#5 C:\xampp\htdocs\atlas\wp-content\plugins\elementor\modules\home\module.php(64): Elementor\Modules\Home\Module->get_app_js_config()
#6 C:\xampp\htdocs\atlas\wp-includes\class-wp-hook.php(324): Elementor\Modules\Home\Module->enqueue_home_screen_scripts('')
#7 C:\xampp\htdocs\atlas\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#8 C:\xampp\htdocs\atlas\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#9 C:\xampp\htdocs\atlas\wp-admin\admin-header.php(144): do_action('admin_print_scr...')
#10 C:\xampp\htdocs\atlas\wp-admin\admin.php(240): require_once('C:\\xampp\\htdocs...')
#11 {main}
thrown [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
JS: showing 6 of 6JS: 2025-06-07 19:02:52 [error X 6][http://localhost/atlas/wp-content/themes/atlas/assets/js/main.js?ver=6.8.1:1008:22] Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
JS: 2025-08-02 18:14:59 [error X 60][http://localhost/atlas/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.30.4:2:18832] Cannot read properties of undefined (reading 'closest')
JS: 2025-08-22 17:31:50 [error X 2][http://localhost/atlas/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5.e1:24:768] Cannot read properties of null (reading 'cid')
JS: 2025-09-02 17:36:42 [error X 2][http://localhost/atlas/wp-content/themes/atlas/elementor/assets/js/before-after.js:19:30] Cannot read properties of undefined (reading 'left')
JS: 2025-09-16 09:21:17 [error X 1][http://localhost/atlas/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.32.0:2:34029] elementor is not defined
JS: 2025-10-27 10:39:21 [error X 2][http://localhost/atlas/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.31.5:3:1262868] Failed to execute 'querySelector' on 'Document': '#' is not a valid selector.
== Elementor - Compatibility Tag ==
Agreement
- I confirm I have read and followed all the guidelines and instructions outlined in the Elementor Bug Report form.
- I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Elementor Bug Report form.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compatibility/php-8Indicates a compatibility problem with PHP versions 8.0 or newer.Indicates a compatibility problem with PHP versions 8.0 or newer.component/codeIndicates when a topic is related to a component’s code.Indicates when a topic is related to a component’s code.component/connectReferences any component related to the Elementor Connect - License Activation, Library Connection,References any component related to the Elementor Connect - License Activation, Library Connection,duplicateIndicates when an Issue or a Discussion is a duplicate of another Issue or Discussion.Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion.mod*[Temp.] For internal use only.[Temp.] For internal use only.mod/b*[Temp.] For internal use only.[Temp.] For internal use only.mod/d*[Temp.] For internal use only.[Temp.] For internal use only.mod/e*[Temp.] For internal use only.[Temp.] For internal use only.status/evaluatingIndicates when an Issue or Discussion is under evaluation or analysis.Indicates when an Issue or Discussion is under evaluation or analysis.