This is a Warning, not an error and should not be blocking the correct behavior of the settings page. Anyway I’m not able to reproduce this behavior; the warning you are getting is due to an option that should have been set as array but it seams that it doesn’t contain the expected value.
That option is filled by an external call to my server to get the price of the PLUS version of the plug-in and it seams that in your case it is not possible to make the external call.
Is that happening on a specific environment or on your production site?
it is a testing server on a DMZ, do you have te address where the server must connect to test it?
I helped out traslating to spanish the plugin 😉
It connects to my server (https://pupunzi.com) to check the PLUS version price.
It works if I connect from a browser, if I bought the license, will the problem go away?
Hi, the plugins makes external calls to the https://pupunzi.com server for the license verification; so you’ll have the problem anyway running under a DMZ server. the only way is to prevent the warning if the parameter is not set.
How do I prevent the warning?
You should add this two lines
if (empty($response))
$response = json_encode(array("result" => "OK", "COM" => "--", "DEV" => "--"));
in the “mbYTPlayer.php” file at line 57 to return always a value.
Anyway the plug-in is supposed to be on-line to work properly… how can you stream from Youtube if your server is off-line?
-
This reply was modified 10 months, 2 weeks ago by
pupunzi.
That did the trick!! great thanks!! it is extrange, the server is online and the video works beautifully I will go with the pro now.
guess what, I need the fix for the pro version 🙂
with the next PLUS release this issue will e fixed. For the time you can add the same two lines:
if (empty($response))
$response = json_encode(array("result" => "OK", "COM" => "--", "DEV" => "--"));
in the /inc/mb_core.php file at line 265.
-
This reply was modified 10 months, 2 weeks ago by
pupunzi.
Thanks, it works great now, once everything is ready I will pass it to production.