• Hi, thanks for the great plugin!

    I have noticed that my log is full of the following notices, it is nothing serious, but every upgrade I have to fix it myself, as I use logs for debugging, and it is really hard to navigate through a lot of unrelated lines:

    PHP Notice:  Undefined index: not_live_content in wp-content/plugins/youtube-embed-plus/youtube.php on line 3246
    PHP Notice:  Undefined index: stop_mobile_buffer in wp-content/plugins/youtube-embed-plus/youtube.php on line 3303

    Can you please fix this in next release?
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author embedplus

    (@embedplus)

    Hi again Darko A7,

    We’ll try and reproduce it and add it to the next update of the plugin.

    -EmbedPlus Team

    Plugin Author embedplus

    (@embedplus)

    Darko,

    Do you have an idea when it occurs? Is it when you land on the YouTube settings page? Or is it when you save the settings? Or something else?

    -EmbedPlus Team

    Thread Starter Darko A7

    (@darko-a7)

    Hi,

    I think it was occurring on settings page load, did not actually investigate it in depth, sorry, but 99% certainty was the landing issue. Also, in newer version some new notices were introduced, again sorry no more details, as I’m really busy at the moment.

    Now, I have fixed them in a most laziest way possible, by adding @ in front of self:: variables ?? ??

    Here, download youtube.zip file from here and compare 3 modified lines on your side (search for @self:: to easily locate them):

    https://tehnoblog.org/downloads/youtube.zip

    • This reply was modified 7 years, 7 months ago by Darko A7.
    • This reply was modified 7 years, 7 months ago by Darko A7.
    Thread Starter Darko A7

    (@darko-a7)

    v11.7.1

    PHP Notice: Undefined index: stop_mobile_buffer in wp-content/plugins/youtube-embed-plus/youtube.php on line 3968, referer: https://www.google.com/

    Still unresolved.

    Thread Starter Darko A7

    (@darko-a7)

    From above, referer clearly suggests that this particular notice is triggered outside (e.g. by google bot), and after monitoring it for a while, it is confirmed (from various google bot domains).

    PHP 7.0.15

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Notices’ is closed to new replies.