Pregunta sobre Ultimate Reviews de Wordpress:

¡No recomendado! Código inestable: lleno de errores

Un usuario preguntó 👇

Me encantó el plugin. Hay toneladas de características que podrían hacer de este un plugin de revisión de Woocommerce perfecto.

El código del plugin está lleno de TODOS los errores: active el registro de depuración y vea los registros llenos de errores generados por el plugin.

Toneladas de advertencias de PHP (que son una gran molestia cuando se intenta depurar nuestro propio código), pero también otros errores de PHP.

Finalmente tuve que desinstalar y cambiar a otro plugin, lo cual fue una pena.

(@jaysupport)

Hace 5 meses, 2 semanas

Hola chickwithbob,

Gracias por la reseña. ¿Ha contactado con nuestro equipo de soporte? Sería útil saber las notificaciones exactas que estaba recibiendo y dónde, para que podamos verificar esto y, con suerte, hacer las correcciones necesarias para eliminarlas.

(@chickwithbob)

Hace 5 meses, 2 semanas

Como mencioné, ¡todo lo que tienes que hacer es debug = true en tu archivo de configuración! Entonces comience a usar su… plugin.

Hay muchos errores. No estoy seguro de por qué necesito hablar en apoyo; ya le he dado la información que necesita.

(@chickwithbob)

Hace 5 meses, 2 semanas

Sin embargo, modificaré mi revisión si puede corregir todas las advertencias de PHP, ya que agradezco el esfuerzo realizado en la interfaz de usuario y la funcionalidad del plugin.

Ejemplo de errores: ¡mire las marcas de tiempo! Hubo tantas advertencias y errores que tuve que apagar el plugin porque no pudimos depurar nuestro propio código:

[05-Jul-2020 16:10:35 UTC] PHP Deprecated:  woocommerce_product_review_count is <strong>deprecated</strong> since version 3.0.0! Use woocommerce_product_get_review_count instead. in wp-includesfunctions.php on line 5088
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Product_Names in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 412
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Average_Score in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 672
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Total_Reviews in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 673
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Average_Score in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 676
[05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Total_Reviews in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 678
[05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:10:37 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Product_Names in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 412
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Average_Score in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 672
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Total_Reviews in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 673
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Average_Score in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 676
[05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Total_Reviews in wp-contentpluginsultimate-reviewsShortcodesDisplayReviews.php on line 678
[05-Jul-2020 16:13:26 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 130
[05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 132
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Replace_WooCommerce_Reviews.php on line 135
[05-Jul-2020 16:22:41 UTC] PHP Deprecated:  update_usermeta is <strong>deprecated</strong> since version 3.0.0! Use update_user_meta() instead. in wp-includesfunctions.php on line 4713
[05-Jul-2020 16:24:39 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342

(@jaysupport)

Hace 5 meses, 2 semanas

Gracias por eso. Todo lo que tenemos que hacer es lanzar una nueva versión del plugin que corrige todos los problemas que causan estos anuncios y los elimina. Asegúrese de actualizar a la versión 2.1.30 del plugin.

(@chickwithbob)

Hace 5 meses, 1 semana

Hola,

Gracias por corregir ‘algunos’ de los errores. Todavía se están produciendo errores en su última versión 2.1.3, ¡incluido uno grave que impide que las reseñas puedan enviarlas mientras usa su acceso directo!

El campo de la dirección de correo electrónico falta por completo (muestra un área en blanco donde debería estar el campo) usando su código corto de dirección enviada. Por lo tanto, no se pueden dejar reseñas en nuestro sitio.

Qué tuve que hacer para solucionarlo:

Confirme var $ Post_Email en la línea 337 /Shortcodes/SubmitReview.php

$Post_Email = ( isset($_REQUEST['Post_Email']) ) ? esc_attr( $_REQUEST['Post_Email'] ) : '';

Luego, unas líneas más abajo, agregue otra de la siguiente manera:

//$ReturnString .= "<input type='email' name='Post_Email' id='Post_Email' value='" . isset( $_REQUEST['Post_Email'] ) ? esc_attr( $_REQUEST['Post_Email'] ) : '' . "' required/>";

$ReturnString .= "<input type='email' name='Post_Email' id='Post_Email' value='" . $Post_Email . "' required />";

El uso de un isset en línea como el suyo hace que PHP lo libere y no muestre el campo de dirección de correo electrónico (probado en PHP 7.1 y 7.3 – mismo resultado)

Vea un ejemplo de los errores a continuación; nuevamente, active sus registros de depuración mientras realiza la prueba. Esto realmente debería quedar atrapado por primera vez.

[14-Jul-2020 09:35:08 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[14-Jul-2020 09:39:21 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[14-Jul-2020 12:43:34 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[14-Jul-2020 12:58:46 UTC] PHP Notice:  Undefined index: Post_Email in wp-contentpluginsultimate-reviewsShortcodesSubmitReview.php on line 342
[14-Jul-2020 13:03:21 UTC] PHP Notice:  Uninitialized string offset: 62 in wp-contentpluginsultimate-reviewsFunctionsEWD_URP_Submit_Review.php on line 322

Índice no especificado: los errores de Post_Email ahora deberían desaparecer con mi corrección. Te dejo para que arregles el último.

Esta respuesta fue modificada hace 5 meses, hace una semana por.

¿Solucionó tu problema??

0 / 0

Deja una respuesta 0

Tu dirección de correo electrónico no será publicada.