RML cause fatal error with Elementor 3.22 when opening editor

[ad_1]

Since the release of Elementor 3.22, I get a 500 internal server error / fatal error when opening the editor to edit a page/post/template. Fortunately the pages still work but opening the Elementor editor doesn’t. This happens only when Real Media Library is enabled, but let me know if I still need to create an issue with Elementor.

Please see below for the error log:

Fatal error: Uncaught Error: Call to a member function get_component() on null
in /public_html/wp-content/plugins/elementor/modules/ai/module.php on line 442

Call stack:
Elementor\M\A\Module::get_ai_app()
wp-content/plugins/elementor/modules/ai/module.php:301
Elementor\M\A\Module::get_ai_connect_url()
wp-content/plugins/elementor/modules/ai/module.php:182
Elementor\M\A\Module::enqueue_ai_media_library()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/media.php:4957
wp_enqueue_media()
wp-content/plugins/real-media-library-lite/inc/Assets.php:87
MatthiasWeb\RealMediaLibrary\Assets::enqueue_scripts_and_styles()
wp-content/plugins/real-media-library-lite/vendor/devowl-wp/utils/src/Assets.php:546
MatthiasWeb\RealMediaLibrary\Assets::wp_enqueue_scripts()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/script-loader.php:2265
wp_enqueue_scripts()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-includes/general-template.php:3050
wp_head()
wp-content/themes/hello-elementor/header.php:24
require_once()
wp-includes/template.php:810
load_template()
wp-includes/template.php:745
locate_template()
wp-includes/general-template.php:48
get_header()
wp-content/themes/hello-elementor/index.php:15
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17

Uncaught Error: Call to a member function get_component() on null in /public_html/wp-content/plugins/elementor/modules/ai/module.php:442
Stack trace:
#0 /public_html/wp-content/plugins/elementor/modules/ai/module.php(301): Elementor\Modules\Ai\Module->get_ai_app()
#1 /public_html/wp-content/plugins/elementor/modules/ai/module.php(182): Elementor\Modules\Ai\Module->get_ai_connect_url()
#2 /public_html/wp-includes/class-wp-hook.php(324): Elementor\Modules\Ai\Module->enqueue_ai_media_library()
#3 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /public_html/wp-includes/media.php(4957): do_action()
#6 /public_html/wp-content/plugins/real-media-library-lite/inc/Assets.php(87): wp_enqueue_media()
#7 /public_html/wp-content/plugins/real-media-library-lite/vendor/devowl-wp/utils/src/Assets.php(546): MatthiasWeb\RealMediaLibrary\Assets->enqueue_scripts_and_styles()
#8 /public_html/wp-includes/class-wp-hook.php(324): MatthiasWeb\RealMediaLibrary\Assets->wp_enqueue_scripts()
#9 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /public_html/wp-includes/script-loader.php(2265): do_action()
#12 /public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#13 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#14 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#15 /public_html/wp-includes/general-template.php(3050): do_action()
#16 /public_html/wp-content/themes/hello-elementor/header.php(24): wp_head()
#17 /public_html/wp-includes/template.php(810): require_once('/home/u124288p1...')
#18 /public_html/wp-includes/template.php(745): load_template()
#19 /public_html/wp-includes/general-template.php(48): locate_template()
#20 /public_html/wp-content/themes/hello-elementor/index.php(15): get_header()
#21 /public_html/wp-includes/template-loader.php(106): include('/home/u124288p1...')
#22 /public_html/wp-blog-header.php(19): require_once('/home/u124288p1...')
#23 /public_html/index.php(17): require('/home/u124288p1...')
#24 {main}
thrown

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer