Pregunta sobre Automatic Featured Images from Videos de Wordpress:

Variables no especificadas

Un usuario preguntó 👇

Hola,

Estos anuncios están enviando spam a estos anuncios:

[18-Dec-2019 12:39:20 UTC] PHP Notice:  Undefined variable: youtube_details in /home/macmagazine/public_html/wp-content/plugins/automatic-featured-images-from-videos/automatic-featured-images-from-videos.php on line 137
[18-Dec-2019 12:39:20 UTC] PHP Notice:  Undefined variable: vimeo_details in /home/macmagazine/public_html/wp-content/plugins/automatic-featured-images-from-videos/automatic-featured-images-from-videos.php on line 137

¿Puedes ayudarme a deshacerme de ellos?

Parece ser similar o igual a este: https://wordpress.org/support/topic/undefined-variable-error-broke-whole-site/

Salud.

(@ tw2113)

Un BenchPresser

hace 1 año

La misma pregunta que les hice, aunque no parecía perderme un seguimiento sin querer.

¿Qué tan cómodo se siente con la edición de código?

Pensando que podría hacer algo como lo siguiente alrededor de la línea 119 del archivo en cuestión.

$youtube_details = '';
$vimeo_details = '';

de esa forma al menos están definidos, aunque estén vacíos hasta que se definan poco después.

(@ tw2113)

Un BenchPresser

hace 1 año

Con fines de seguimiento.

https://github.com/WebDevStudios/Automatic-Featured-Images-from-Videos/issues/66

(@rfischmann)

hace 1 año

Estoy bien para hacer eso, @ tw2113. Aplíquelo al archivo y mantendrá mis ojos en los registros.

¡Salud!

(@rfischmann)

hace 1 año

Hum, los anuncios han cambiado:

[19-Dec-2019 16:40:57 UTC] PHP Notice:  Undefined index: video_thumbnail_url in /home/macmagazine/public_html/wp-content/plugins/automatic-featured-images-from-videos/automatic-featured-images-from-videos.php on line 124
[19-Dec-2019 16:40:57 UTC] PHP Notice:  Undefined index: video_url in /home/macmagazine/public_html/wp-content/plugins/automatic-featured-images-from-videos/automatic-featured-images-from-videos.php on line 125
[19-Dec-2019 16:40:57 UTC] PHP Notice:  Undefined index: video_embed_url in /home/macmagazine/public_html/wp-content/plugins/automatic-featured-images-from-videos/automatic-featured-images-from-videos.php on line 126

(@ tw2113)

Un BenchPresser

hace 1 año

Esos también deberían abordarse mediante muchas reparaciones similares, aunque ciertamente también querremos hacer esos arreglos permanentes.

(@rfischmann)

hace 1 año

¡No te preocupes, esperaré una actualización! Salud.

¿Solucionó tu problema??

0 / 0

Deja una respuesta 0

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