Hello Heinrich,
The best solution would be to remove the static keyword from in front of
those functions, but there are several ways of handling the errors.
As per the
http://php.net/error_reporting manual page:
PHP 5.3 or later, the default value is E_ALL & ~E_NOTICE & ~E_STRICT &
~E_DEPRECATED. This setting does not show E_NOTICE, E_STRICT and
E_DEPRECATED level errors. You may want to show them during development.
Prior to PHP 5.3.0, the default value is E_ALL & ~E_NOTICE & ~E_STRICT. In
PHP 4 the default value is E_ALL & ~E_NOTICE.
Since you say your PHP version is 5.5.8 it looks like your php.ini file
is setting a custom level since E_STRICT should not be showing. So you can
either set this in code:
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
or in php.ini:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
Here's a great article for handling errors with .htaccess for production
vs development environments:
http://perishablepress.com/advanced-php-error-handling-via-htaccess/
Hope that helps,
John
>--
>You received this message because you are subscribed to the Google Groups
>"Seagull PHP Framework General Group" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to
seagull_gener...@googlegroups.com.
>To post to this group, send email to
seagull...@googlegroups.com.
>Visit this group at
http://groups.google.com/group/seagull_general.
>For more options, visit
https://groups.google.com/groups/opt_out.