• Tim

    (@timothyabgreen)


    Hi

    Not quite sure when this error started but the following error is logged:

    [11-Dec-2013 13:18:21 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce-html5-video/WooCommerce-HTML5-Video.php on line 386

    Line 386 starts like this:

    foreach ($check_videos as $video) {
              $cadena_tag_video_html5.=$video;
              switch ($video) {

    WP is 3.7.1 and all plugins up to date.

    Site is in development so I can’t share a URL – Can send you admin login if you need to see it to debug.

    Thanks

    https://www.ads-software.com/plugins/woocommerce-html5-video/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Tim

    (@timothyabgreen)

    Ahh looking further it may be becasue I have tried to embed Vimeo Video.

    If this is the problem please could you consider Vimeo video embedding as an option?

    Thanks

    Plugin Author Webilop

    (@webilop)

    Hi Tim,

    Sorry by the delay, we have been so busy and we had not seen this report.

    I did the tests and it works for me, I mean, I embedded a Vimeo video without problems.

    Could you please give us more details about your site? I mean, what version of WordPress and WooCommerce you are using, also please tells us what version of the plugin you are using.

    Regards,

    Thread Starter Tim

    (@timothyabgreen)

    Hi

    Thank you for your response and your contribution to open source software.

    I am no longer using your HTML 5 video plugin as I have found a different method to achieve what I need.

    Kind regards
    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Error in foreach’ is closed to new replies.