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.

Our next available supporter will start replying to tickets in about 3.64 hours from now. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by Dražen Duvnjak 4 years, 7 months ago.

Assisted by: Dražen Duvnjak.

Author Posts
April 6, 2020 at 10:17 pm #5852141

infoT

In my error_log I found this notice: Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /var/www/html/web/cms/wp-includes/functions.php on line 5088

This is triggered by line 345 in WPML_OptionsManager.php.

This line: add_action( 'contextual_help', array( &$this, 'create_settings_panel' ), 10, 3 );

April 6, 2020 at 10:18 pm #5852143

infoT

Not something I need assistance with, but didn't find a proper bug report page/link.

April 8, 2020 at 11:55 am #5865579

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for sharing.

I have investigated the issue and it seems this file/code belongs to WP Mail Logging by MailPoet. It seems this isn't an issue related to our WPML plugin, in this case WPML means WP Mail Logging.

Nevertheless, I investigated the issue for you. I hope it helps.

Source code: hidden link

I have found on plugins support forum this issue was already reported by users.

Please check: https://wordpress.org/support/topic/contextual_help-is-deprecated-since-version-3-3-0/


There hasn’t been an official update from the plugin author, but the fix in post 1 works.
This is related to WP Mail Logging, it only happens when the plugin is active.

WPML_OptionsManager.php uses the variable $contextual_help.

Line numbers 345, 396, 402 406 and 452 all have “contextual_help” in them. Replacing “contectual_help” with “wpmail_logging_contextual_help” fixes the error and the plugin seems to function as normal.

I would advise contacting plugin support to see if there was any official progress in fixing this issue.

Let me know if there is anything else I can do for you.

Thanks,
Drazen