• Resolved CrawlerWebSolutions

    (@crawlerwebsolutions)


    This has been working perfectly fine for several months, and just recently stopped working for no reason. Is there an issue with the code?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    No issue that I’m aware of as we haven’t done any updates as of recently.

    Have there been any changes on your end for process of how you type up the posts, or perhaps where in the posts you’ve been putting the video URLs?

    Are you still receiving images but perhaps not images you’re expecting?

    Can you provide some example video URLs you’ve used recently that didn’t produce the expected results?

    Stopped working for me as well, perhaps something to do with new version of WP. No images are received. Says compatible up to 4.9.16 and we are at 5.6 now.

    Thread Starter CrawlerWebSolutions

    (@crawlerwebsolutions)

    Thanks for the reply… Nothing has changed at all. The process has always been the same, YouTube videos are posted and the featured image should be the thumbnail. Over the last couple days the images haven’t been generating. Here’s an example link: https://www.splashortrash.com/2020/12/15/dj-k-i-d-x-ddg-tony-montana/

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’ll have to attempt to dig in a bit more later once I have some free time from some other client work, but I have this thread opened up in a tab to help remind me to return to it soon.

    Hopefully I can get back to you a bit later with any findings.

    Thread Starter CrawlerWebSolutions

    (@crawlerwebsolutions)

    I actually thought it might have something to do with Google and youtube going down a few days ago.

    Any help is appreciated

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    In the meantime, if one or both of you could provide some details on *how* it’s perceived broken, that’ll help me. No images uploaded ? no images found? nothing working at all?

    Thread Starter CrawlerWebSolutions

    (@crawlerwebsolutions)

    Nothing working at all. It doesn’t appear to be even trying to download the thumbnails for the featured image

    Same issue here-
    Upon saving nothing seems to be happening with the featured image box as normal.

    -Tested for plugin conflicts by disabling all and setting to default 2020 wordpress theme.
    –Issue still persisted

    -Checked for thumbnail availability at https://www.get-youtube-thumbnail.com/
    –Both default and maxres available.

    -Changed https://i3.ytimg.com/vi/0JPXXAXxcuI/maxresdefault.jpg to img.youtube.com variant to check is img variant was depreciated
    –both thumbnail URL strings work.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Needing to dig in further, but from what I’ve managed to identify so far, our code is failing at our usage of wp_remote_head(). It’s returning 404 errors for our constructed URLs

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Seems that it’s 1 item from Youtube that isn’t liking our code. Specifically:

    $video_check = wp_remote_head( 'https://www.youtube.com/oembed?format=json&url=https://www.youtube.com/watch?v=' . $youtube_id );
    

    Found on line 355 of the primary automatic-featured-images-from-videos.php.

    If you change it to wp_remote_get instead of wp_remote_head it appears to work again.

    Can either or both of you change that line yourself and confirm if that resolves things for you? If yes, then I’ll get a bugfix release out this week.

    Yup this fixed it!

    Thread Starter CrawlerWebSolutions

    (@crawlerwebsolutions)

    That worked perfectly! Thanks for the help

    Excellent! The problem fixed.

    Thanks.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Thanks for the confirmations everyone. I want to do a couple more tests of things that have come to mind, and once done, I’ll aim to release a 1.1.2 bugfix release addressing this. Aiming for tomorrow or Friday at the latest.

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Did some quick tests and this is NOT looking like it’s related to WordPress 5.6.0, it’s looking like it’s much more on Youtube’s end and the return status of one of our requests, mentioned above.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Stopped Working’ is closed to new replies.