Foliovision › Forums › FV Player › Bug Reports › Error with the latest version of the plugin
-
Hi.
we have problems with the plugin – seems like after the update to latest version we started getting this kind of errors:
2020/04/11 10:50:50 [error] 4046#0: *40468 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined property: stdClass::$url in /var/www/..../htdocs/wp-content/plugins/fv-player-pro/fv-player-pro.class.php on line 1829" while reading response header from upstream, client: 10.0.47.203, server: *..., request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "...", referrer: "...."
Any ideas what should we od about it?
-
-
Hello PatrickBrian,
it seems you are using FV Player Pro 7.4.31.727 which is not the last version. Perhaps updating that will fix the issue.
I was not able to find any $url variable on that 1829 line of code unfortunately. It seems the issue might be related to Vimeo or YouTube parsing. Are you using any video like that on your page which you linked to? Please let us know what is the video URL so that we can have a look. It’s only for members.
Do you get any note about bad Vimeo API key in wp-admin Settings -> FV Player Pro -> Hosting -> Vimeo ?
Thanks,
Martinyes we are using Vimeo vidoes everywhere on our platform. e.g of link to video https://vimeo.com/367306680
The videos seem to work so that error doesn’t seem to affect production but it creates a lot of alarms so i want to address it.
I have updated plugin to the latest version and still have this error:
2020/10/09 12:10:15 [error] 3856#0: *1828879 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined property: stdClass::$url in /var/www/.../htdocs/wp-content/plugins/fv-player-pro/fv-player-pro.class.php on line 2165" while reading response header from upstream, client: 10.0.15.37, server: *..., request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "...", referrer: "..." 2020/10/09 12:10:15 [error] 3856#0: *1828879 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined property: stdClass::$url in /var/www/.../htdocs/wp-content/plugins/fv-player-pro/fv-player-pro.class.php on line 2165" while reading response header from upstream, client: 10.0.15.37, server: *..., request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "...", referrer: "..."
i don’t have any errors in admin panel etc. everything seems to work ok the only thing is that i get a lot of those errros in AWS Cloud Watch which contrantly trigger alarms.
:( any ideas?
Hello PatrickBrian,
I think that PHP warning appears if you are using wp-admin -> Settings -> FV Player Pro -> Hosting -> Vimeo -> Disable MPEG-DASH.
I prepared a fix for this for the next FV Player Pro release. To get the fix right now you can deactivate and delete the current FV Player Pro plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Then go to wp-admin -> Settings -> FV Player and hit the button to install the Pro pack to get a fresh copy of FV Player Pro.
Thanks,
Martinactually now i see new error:
2020/04/16 09:19:59 [error] 4045#0: *252449 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined property: stdClass::$dash in /var/www/…./htdocs/wp-content/plugins/fv-player-pro/fv-player-pro.class.php on line 1829
can you please help me out?
- This reply was modified 4 years ago by Martin.
nother error i found:
PHP message: PHP Notice: Trying to get property of non-object in /var/www/…/htdocs/wp-content/plugins/fv-player-pro/fv-player-pro.class.php on line 1829″ while reading response header from upstream, client: 10.0.47.203, server: *…, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “…”, referrer: “…”
- This reply was modified 4 years ago by Martin.
Hello PatrickBrian,
I was in the end able to reproduce this issue, but only without that patch which I was mentioning.
You probably went back to using some older version of FV Player Pro as in the line where this issue was fixed is 2165. If you are still getting the notice on line 1829 then perhaps you reverted FV Player Pro to what you have installed previously.
Perhaps it’s easier to just wait for the next release to avoid confusion.
Thanks,
MartinHi Martin,
when do you plan to realease next update? Now sure if we can wait for a long time because those errors seem to cause problems in our application. Can you please confirm to me to which version should we rollback so we don’t experience those errors (in last 3 weeks i think we updated the plugin like 3 times).Thank you in advance.
Hello PatrickBrian,
I think the issue started to appear as you updated to PHP 7.4. I think that PHP warning appears if you are using wp-admin -> Settings -> FV Player Pro -> Hosting -> Vimeo -> Disable MPEG-DASH. Please disable that if you can, it’s there basically only for troubleshooting.
We could do a release tomorrow, but there is nothing new for it, apart from this fix for PHP notices.
The last release of FV Player Pro was on September 18th and you are not using the Beta version. The last FV Player was on 2020/09/23 and then 2020/08/24. We know that too much updates can be annoying, but it doesn’t see like we had too many of these recently.
Thanks,
MartinHi,
We use php version 7.0.3. Also we have Disable MPEG-DASH ticked (see image attached). Let me know when you do a new release. I think we will try it out and take it from there.