Skip Navigation

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

Problem:
El cliente encontró errores de tipo 'PHP Deprecated' relacionados con 'Whip_RequirementsChecker' en el archivo debug.log de su sitio web. Estos errores indican que ciertas propiedades dinámicas están obsoletas y podrían causar problemas en futuras versiones de PHP.
Solution:
Estos errores, aunque marcados como obsoletos, actualmente no afectan la funcionalidad del sitio. Recomendamos cambiar a una versión de PHP que sea completamente compatible con WordPress, como PHP 7.4 o 8.0, para evitar estos avisos. Además, hemos identificado un problema similar con el plugin WPML SEO en un entorno PHP 8.2. Puedes consultar los detalles en el siguiente enlace de Errata: https://wpml.org/errata/php-8-2-deprecated-creation-of-dynamic-property-whip_requirementscheckerconfiguration-is-deprecated/

Si esta solución no resuelve tu problema o si la información parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. Te sugerimos revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión de la solución permanente y confirmar que tienes instaladas las últimas versiones de los temas y plugins.

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 3 replies, has 3 voices.

Last updated by Prosenjit Barman 8 months, 4 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
May 24, 2024 at 5:53 pm #15668855

haapC

Background of the issue:
Estaba revisando el archivo debug.log en el sitio web mongonzalez.es cuando me encontré con errores.

Symptoms:
Se reportaron errores específicos en el archivo debug.log: 'PHP Deprecated: Creation of dynamic property Whip_RequirementsChecker::$configuration is deprecated' y 'PHP Deprecated: Creation of dynamic property Whip_RequirementsChecker::$messageManager is deprecated', ambos en Whip_RequirementsChecker.php en las líneas 37 y 38 respectivamente.

Questions:
¿Es importante este error?
¿Qué puedo hacer para solucionarlo?

May 25, 2024 at 4:13 am #15669612

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Un error “deprecated” en PHP indica que cierta funcionalidad, función o característica ha quedado obsoleta y se desaconseja su uso, ya que puede ser eliminada en futuras versiones de PHP. Por ejemplo, si una función ha sido marcada como “deprecated”, significa que hay una nueva forma recomendada de realizar la misma tarea y que la función antigua eventualmente dejará de estar disponible.

Esto significa que actualmente esto no está causando un problema en el sitio web, pero puede causar problemas en una versión futura de PHP.

¿Podrías enviarnos información más detallada y especificar dónde ocurren exactamente estos errores (carpeta, archivo)?

May 27, 2024 at 6:29 pm #15675460

haapC

Whip_RequirementsChecker.php on line 37 y 38 en la carpeta sitepress-multilingual-cms/vendor/yoast/whip/src/

May 28, 2024 at 8:01 am #15676651

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

Since this is our English support forum, let's continue the conversation in English.

I understand your concern. Please be informed that we are aware of a similar issue that occurs with the WPML SEO plugin in a PHP 8.2 environment. Please check the Errata below for more details.

- https://wpml.org/errata/php-8-2-deprecated-creation-of-dynamic-property-whip_requirementscheckerconfiguration-is-deprecated/

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.

I hope you can understand. Please feel free to let me know if you need further assistance or clarification in this matter. I will be happy to help.

Best regards,
Prosenjit

June 1, 2024 at 9:50 pm #15695062

haapC

Thank you very much for your reply.
We have taken care of it.