Thread Starter
Michael
(@mdorchain)
Another one related to the fact User::get_introduction_meta() returns a string
[06-Feb-2026 14:50:19 UTC] PHP Fatal error: Uncaught TypeError: Cannot assign string to property Elementor\Modules\Home\Transformations\Filter_Condition_Introduction_Meta::$introduction_meta_data of type array in /public_html/wp-content/plugins/elementor/modules/home/transformations/filter-condition-introduction-meta.php:18
Stack trace: 0 /public_html/wp-content/plugins/elementor/modules/home/classes/transformations-manager.php(70): Elementor\Modules\Home\Transformations\Filter_Condition_Introduction_Meta->__construct() 1 /public_html/wp-content/plugins/elementor/modules/home/classes/transformations-manager.php(39): Elementor\Modules\Home\Classes\Transformations_Manager->get_transformation_classes() 2 /public_html/wp-content/plugins/elementor/modules/home/api.php(23): Elementor\Modules\Home\Classes\Transformations_Manager->__construct() 3 /public_html/wp-content/plugins/elementor/modules/home/api.php(19): Elementor\Modules\Home\API->transform_home_screen_data() 4 /public_html/wp-content/plugins/elementor/modules/home/module.php(113): Elementor\Modules\Home\API->get_home_screen_items() 5 /public_html/wp-content/plugins/elementor/modules/home/module.php(64): Elementor\Modules\Home\Module->get_app_js_config() 6 /public_html/wp-includes/class-wp-hook.php(341): Elementor\Modules\Home\Module->enqueue_home_screen_scripts() 7 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 8 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action() 9 /public_html/wp-admin/admin-header.php(144): do_action() 10 /public_html/wp-admin/admin.php(244): require_once(‘…’) 11 {main}
thrown in /public_html/wp-content/plugins/elementor/modules/home/transformations/filter-condition-introduction-meta.php on line 18
Plugin Support
Milos
(@miloss84)
Hi there,
Thank you for contacting us,
Can you try to upgrade to our new version 3.53.3 Elementor Core and see will this fix the issue.
Looking forward hearing from you.
Kind regards,
Thread Starter
Michael
(@mdorchain)
The fatal errors are triggered in the 3.53.3.
Plugin Support
Milos
(@miloss84)
Hi there,
Thanks for your feedback.
To rule out the possibility of a plugin or theme conflict, please deactivate all your plugins (besides Elementor ). If it solves the issue reactivate them one by one to find the culprit. If it didn’t help, switch your theme (temporarily) to a default WP theme such as Twenty Nineteen and see if it makes any difference.
I am looking forward to hearing back from you soon.
Kind regards,
Thread Starter
Michael
(@mdorchain)
As I mentionned, User::get_introduction_meta() returns a string for the current user.
This is not a plugin or theme conflict 🙂
Your code is expecting an array but doesn’t check if it’s a valid one.
This creates a fatal error. Please check the error stack.
I had no more issue after patching your code in these 2 areas.
Thanks
Thread Starter
Michael
(@mdorchain)
public static function get_introduction_meta( $key = '' ) {
$user_introduction_meta = get_user_meta( get_current_user_id(), self::INTRODUCTION_KEY, true );
if ( ! $user_introduction_meta ) {
$user_introduction_meta = [];
}
if ( $key ) {
return empty( $user_introduction_meta[ $key ] ) ? '' : $user_introduction_meta[ $key ];
}
return $user_introduction_meta;
}
As you can see get_introduction_meta returns either a string or an array.
You cannot do an array_key_exists without checking if it’s an array first.
The version 3.35.5 still triggers fatal errors.
Plugin Support
Rica
(@ricav)
Hi @mdorchain,
Thank you for providing the details.
Please make sure that there are no 3rd party plugins or theme that can cause conflict resulting to this fatal error.
Try to delete the exisitng Elementor core plugin you have, clear all the cache from server and your website and reinstall a fresh Elementor core plugin.
If the issue persists, you can also reach out to our developers here: https://elemn.to/discord
And I suggest you join the Elementor Facebook Community where you can find a supportive and helpful community of experienced users who will be happy to provide valuable tips and tricks.
Thank you for your understanding and cooperation.
Kind regards,