Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Ilyes 1 year, 10 months ago.

Assisted by: Ilyes.

Author Posts
August 2, 2023 at 3:37 pm #14143787

romainC-18

I'm encountering a PHP error on my website following an Elementor update. The error occurs in the header and is visible on the front-end. However, it disappears when WPML String Translation is deactivated, suggesting a possible conflict.

The error is as follows:

Warning: Undefined array key "" in /home/clients/e76ffc4dabb79e30e43b51b4e01e43e7/sites/dev9.bmajor.digital/wp-content/plugins/elementor/core/kits/manager.php on line 323
Warning: Trying to access array offset on value of type null in /home/clients/e76ffc4dabb79e30e43b51b4e01e43e7/sites/dev9.bmajor.digital/wp-content/plugins/elementor/core/kits/manager.php on line 323
(Repeated several times)

Can you help to resolve this?

Thanks,
Romain

August 3, 2023 at 10:00 am #14147973

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

Please keep in mind that this should not be causing any issue on your website. It's a PHP warning that can be easily hidden by modifying your wp-config.php file.
You can add the following lines to the wp-config.php file, right before /* That's all...*/:

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_DISPLAY', false );

This will prevent PHP warnings from being displayed on your website.

Also, I have found this forum from WordPress where other users are experiencing the same thing but not necessarily with WPML string translation : https://wordpress.org/support/topic/error-for-p-contentpluginselementorcorekitsmanager-php-2/

If you want to further investigate this, I recommend changing the theme back to a default theme (e.g. Twenty Twenty three), disable all plugins and only leave Elementor, Elementor Pro, WPML and WPML string translation.

Please see if that occurs in that minimal environment, if yes, we might need to escalate this further.

The topic ‘[Closed] PHP Error Following Elementor Update – WPML Conflict?’ is closed to new replies.