moved from a linux based host onto a windows based one and now getting this error:
´PHP Warning: htmlspecialchars() expects at most 3 parameters, 4 given in C:\Domains\mydomain.com\wwwroot\wp-content\plugins\simpler-css\simpler-css.php on line 67 ´
moved from a linux based host onto a windows based one and now getting this error:
´PHP Warning: htmlspecialchars() expects at most 3 parameters, 4 given in C:\Domains\mydomain.com\wwwroot\wp-content\plugins\simpler-css\simpler-css.php on line 67 ´
Hi Ovidiu,
The 4th parameter in htmlspecialchars() is a boolean flag to re-encode entities that are already encoded. However, this flag only exists on PHP versions 5.2.3 and above.
I’ve just realized that I made a foolish mistake by using it, since I was setting it to FALSE anyways (the default value). I am pushing out a maintenance version today to fix this bug, and to update compatibility to 3.0-alpha.
Regards,
Frederick Ding
thanks for fixing it with the new version.
This topic has been closed to new replies.