I just updated to the lastest version of this module on D6.22 and I keep getting this PHP error in the Administration section of the module, in the Configuration section. I don't think I did something particular, just updated.

"warning: Invalid argument supplied for foreach() in /home/u64fmzjh/domains/centrocomponenti.it/public_html/test/sites/all/modules/jwplayermodule/admin/PlayerState.php on line 188."

Comments

JW Player’s picture

@Stefano,

Does the admin section still function for you? Have you tried creating a player? I believe the error seems to be the results of no players existing, although that shouldn't happen.

Thanks.

Stefano’s picture

Thanks for the reply.
Yes, the admin section still works for me. I tried creating a player and the error actually goes away; but I should not need to create a new player since I already have the default one "Out-Of-The-Box", which is already perfect for me. :)

JW Player’s picture

@Stefano,

Yes, you shouldn't need to create one. :) I just had a feeling that was the issue.

The module use to come with a sample player and it's removal likely caused this issue. I will address this in the next update.

Thanks.