-
Hi Martin :)
You solved this issue once, but my users see this error again in preview of posts. This was ok, untill yesterday when I reinstall the fv player pro (for fixing the previous issue I reported)Thanks
Foliovision › Forums › FV Player › Troubleshooting › Error in post
I reported it here: second message:
https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/video-not-play
Hello Amir,
are you sure you have the latest FV Player up? We already check if it’s array and if there are any items in it: https://plugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/custom-videos.php#L165
Perhaps you are using some old version of PHP? Please check.
Thanks,
Martin
I can see this error in my error log, but myself I couldn’t replicate the error:
2017/05/01 14:21:57 [error] 1104#1104: *33111 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/ajibtarin.com/htdocs/wp-content/plugins/fv-wordpress-flowplayer/models/custom-videos.php on line 166
PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/ajibtarin.com/htdocs/wp-content/plugins/fv-wordpress-flowplayer/models/custom-videos.php on line 166” while reading response header from upstream, client: 162.158.18.76, server: ajibtarin.com, request: “GET /?p=24981&preview_id=24981&preview_nonce=dd4db9e769&post_format=standard&_thumbnail_id=24984&preview=true HTTP/1.1”, upstream: “fastcgi://unix://run/php/php7.0-fpm.sock:”, host: “www.ajibtarin.com”, referrer: “https://www.ajibtarin.com/wp-admin/post.php?post=24981&action=edit”
Hello Amir,
sorry about the delay.
The error message suggests it happens when previewing the post before publishing.
Could you please check if you have “Enable profile videos” enabled in Settings -> FV Player -> Integrations/Compatibility?
Is there any special plugin which enhances the WordPress post editor?
If you know a bit of PHP you can put in a log for that variable in fv-wordpress-flowplayer/models/custom-videos.php on line 166 and save it into a file.
If you need to fix this issue quickly, we will be happy to fix it right on your website if you purchase a Pro support incident: https://foliovision.com/pro-support
Thanks,
Martin
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie allow you to log in and download your software or post to forums.
We use the WordPress login cookie and the session cookie.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.
We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.
Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.
Please enable Strictly Necessary Cookies first so that we can save your preferences!