WordPress.org

Ready to get started?Download WordPress

Forums

WP YouTube Lyte
[resolved] parse_url error in Widget Version (5 posts)

  1. anaisamy
    Member
    Posted 3 years ago #

    Adding a video via the WP YouTube Lyte widget is outputting the following error on my site: Warning: parse_url() expects exactly 1 parameter, 2 given in /home3/radonpro/public_html/wordpress/wp-content/plugins/wp-youtube-lyte/widget.php on line 18

  2. futtta
    Member
    Plugin Author

    Posted 3 years ago #

    ah, it seems you're on an older php version? parse_url accepts a 2nd parameter since version 5.1.2 (released 08 Feb 2007). what version of php are you on?

    but anyway, i'll see if I can code around that so that it'll work on older versions of php (although i can't guarantee anything under php v5.0) as well.

  3. futtta
    Member
    Plugin Author

    Posted 3 years ago #

    I just pushed out v 0.6.4, that should do the trick for you.

    Happy New Year!

  4. anaisamy
    Member
    Posted 3 years ago #

    Oh interesting! This is a new site that I'm working on for a client, so I didn't even know about the PHP version. Just checked it out, and sure enough they were on 4. I just moved them to 5, and the plugin is working fine. (Sorry, I forgot to test with 4!)

    Thanks for your fast response!

  5. futtta
    Member
    Plugin Author

    Posted 3 years ago #

    glad to have been able to help you out. have a great new years!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic