RoundCube: Strict Standards: Non-static method PEAR :: setErrorHandling

When installing the messages appear

1
2
3
PHP Strict Standards: Non-static method PEAR :: setErrorHandling () should not be called statically in / installer / utils.php on line 80

PHP Strict Standards: Non-static method rcube_install :: get_instance () should not be called statically in / installer / index.php on line 49

Eliminated as follows:
1. Open the file .. / installer / index.php
2. Find line

1
ini_set (‘error_reporting’, E_ALL & ~ E_NOTICE);

and change it to

1
ini_set (‘error_reporting’, E_ALL & ~ (E_NOTICE | E_STRICT));

3. If no, add this line here

1
define (‘RCMAIL_CHARSET’, ‘UTF-8’);

Here after this

1
define (‘RCMAIL_CONFIG_DIR’, INSTALL_PATH. ‘config’);

Revisions

No comments yet.

Leave a Reply