Pregunta sobre WassUp Real Time Analytics de Wordpress:

Advertencia de PHP 7

Un usuario pregunt贸 馃憞

Este plugin tiene algunas advertencias cuando se usa con PHP 7:

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wassupOptions has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/lib/wassup.class.php</b> on line 38

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Wassup_Widget has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/widgets/widgets.php</b> on line 51

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wassup_onlineWidget has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/widgets/widgets.php</b> on line 196

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wassup_topstatsWidget has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/widgets/widgets.php</b> on line 364

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wassup_pagination has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/lib/main.php</b> on line 29

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wDetector has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/lib/main.php</b> on line 179

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; WassupItems has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/lib/main.php</b> on line 1482

Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; UADetector has a deprecated constructor in <b>/xxx/wp-content/plugins/wassup/lib/uadetector.class.php</b> on line 45

Debieras __construct() M茅todo de reemplazo del constructor de estilo PHP4 para clases:

Depreciar los constructores de estilo PHP4 en WordPress 4.3

Este tema fue modificado hace 2 a帽os, 12 meses por.

(@helened)

Hace 2 a帽os, 12 meses

Gracias por tus comentarios. Pronto saldr谩 una actualizaci贸n para corregir estos errores de PHP7.

驴Solucion贸 tu problema??

0 / 0

Deja una respuesta 0

Tu direcci贸n de correo electr贸nico no ser谩 publicada. Los campos obligatorios est谩n marcados con *