Aug
16
Proplayer: This playlist is not a valid XML file.
by Patriek Jeuriens · 6 CommentsSince PHP 5 came into conception there is a new security warning for developers called E_Strict. Unfortunatly this can cause quite a lot of problems for code written in the old days. The code is fine but uses techniques that are no longer used and therefore PHP throws a deprecated warning. Proplayer uses some of these techniques in their XML writer. You can turn off E_Strict by setting the following in the error_reporting line.
error_reporting = E_ALL & ~E_DEPRECATED
Once the server reads the configuration it will no longer throw any E_Strict warning.
note: You have to edit the PHP.INI file! Do not place this code in your plugin.
Where do i find that to edit?
You can find it in the PHP.ini file, just look for error and you’ll see something similar looking.
Really useful, thank you so much!
Thank you SO much Patriek Jeuriens. Took me a while to find your solution. One little note to newbies like me: after you make the change in the php.ini file, you have to do a “restart all services” (if you’re using WAMP) for server, then your ProPlayer will work.
This just messed up wp-admin and Still did not fix pro-player
That is very strange, all the above does is turn deprecated error warnings off by PHP. It should not have any effect on wp-admin.
Did you edit the php.ini file?