WordPress.org

Ready to get started?Download WordPress

Forums

IX Show Latest YouTube
[resolved] Occasional Error (4 posts)

  1. Patrick Flynn
    Member
    Posted 3 months ago #

    Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wp-content/plugins/ix-show-latest-youtube/plugin/Ix_ShowLatestYt.php on line 121

    My guess is that occasionally the plugin can't make contact to Youtube.

    A possible solution might be to allow for a default video to be displayed and then do a try catch. Where the catch would display the default video.

    https://wordpress.org/plugins/ix-show-latest-youtube/

  2. Daniel J. Lewis
    Member
    Plugin Author

    Posted 2 months ago #

    Hi, Patrick! This may be a problem with file_get_contents() on your web host. The upcoming version 2.3 switches to the WordPress-recommend method that has compatible fallbacks.

    After 2.3 is updated and released, please let us know whether it fixes the problem.

  3. Daniel J. Lewis
    Member
    Plugin Author

    Posted 1 month ago #

    This should now be fixed in 2.3. Update and let us know.

  4. Daniel J. Lewis
    Member
    Plugin Author

    Posted 1 month ago #

    Hi, Patrick! We never heard from you whether version 2.3 fixed this for you.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.