#260 PHP 5.4 mime.php error

open
nobody
None
5
2012-05-28
2012-05-28
No

mime.php error Strict warning apparently a php bug in v5.4 solved by setting
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
or some have
error_reporting = E_ALL | E_DEPRECATED
work for them I would suggest including a .htaccess file if you don't have access to php.ini

It is a snaffu caused by new OOP Strict Static methods and being that this is not written OOP it conflicts with PHP OOP Standards. Pear has this problem too and PHP insists that it is not there problem. HMMM

So it appears that until aspell is rewritten using class files that this will be a continuing problem
the actual solution is :

class { // something in the class declaration but it would cause a complete code rewrite
public static function mime_structure ($bodystructure, $flags=array()) {

Discussion