Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are seeing four PHP errors related to WPML on your website.
Solution:
The errors you are encountering are 'deprecated' warnings in PHP. This means that the functions causing these warnings are outdated and discouraged for use, as they may be removed in future PHP versions. To resolve these warnings, we recommend updating to a PHP version that is fully compatible with WordPress, such as PHP 7.4 or 8.0. This update should eliminate the deprecated warnings.

If this solution does not apply to your situation, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket with us for further assistance. You can do so at our support forum.

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Lucas Vidal de Andrade 12 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
July 2, 2024 at 5:48 pm #15877463

marikaK

Background of the issue:
I see 4 php errors with WPML information on my website hidden link.

Symptoms:
4 PHP errors related to WPML.

Questions:
How can I get rid of the 4 PHP errors related to WPML on my website?

July 2, 2024 at 5:58 pm #15877528

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

A "deprecated" error in PHP indicates that a certain functionality, function or feature has been deprecated and is discouraged, as it may be removed in future versions of PHP. For example, if a function has been marked as "deprecated", it means that there is a new recommended way to perform the same task and that the old function will eventually no longer be available.

As this is only a deprecated warning, it won't affect any functionality of your site. If you switch to a PHP version that is fully compatible with WordPress (PHP 7.4 or 8.0), you will no longer see the deprecated warning. That's not necessary, though.

July 2, 2024 at 6:02 pm #15877533

marikaK

Thanks for the information Lucas! 😉 As the word error is not, what I would like to see, needed to make sure about this!