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.

This topic contains 1 reply, has 2 voices.

Last updated by Riffaz 1 year ago.

Assigned support staff: Riffaz.

Author Posts
October 16, 2018 at 8:03 am #2819997

gert-janR

Hi Support

We are using WPML Multilingual CMS Version 4.0.6 and we are getting PHP Warnings in Error logs:

PHP Warning: Illegal offset type in isset or empty in /wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 3697

Can you guys please check why we are getting this PHP Warning?

THanks

October 16, 2018 at 11:54 am #2820841

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Warnings and Notices in WordPress will not cause the site's function to halt at any time, therefore, they do not pose a threat to the way your site or plugins are functioning.

There is most likely a small incompatibility between WPML and your theme or a 3rd party plugin which is not significant enough to cause problems to the way your site is running.

you can safely remove these warning by doing the following

Go in your wp-config.php file and look for

define('WP_DEBUG', true);

Change it to:

define('WP_DEBUG', false);

If you are still having the issues, maybe you are facing this issue because of compatibility conflicts. So to make sure if possible, please do the following steps.

a) Backup your site first
b) Switch for a moment to a WordPress default theme like Twenty Seventeen
c) Deactivate all the plugins that are not related to WPML
d) If the issue is gone, activate the plugin one by one to see with which one there is an interaction issue.

or within your wp-config.php file please replace

define('WP_DEBUG', false);

with

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

[These don’t affect your site in any way.]

this may happen most likely because your host server was forcing the display of notices and warnings.

Hope, this will help you.

Ps:
It's always recommended to have the latest, updated version of plugins to ensure the maximum compatibility and security.
So please use WPML latest version which is 4.0.7

Regards,
Riffaz.

The topic ‘[Closed] PHP Warning in WPML’ is closed to new replies.