AnsweredAssumed Answered

WSOD on new install: Many "should be compatible" PHP errors in the log.

Question asked by Ernie Dunbar on Nov 30, 2016
Latest reply on Dec 5, 2016 by Angel Magana

The problem is similar to the one stated here: Clean installation throws bunch of errors 

Except that first, the "Strict Standards" prefix on each error line is not present, and I've already taken all the advice in that thread and others with the strict standards issue. The entire directory tree is owned and writable by www-data (and thank god this is running on a server behind a firewall, or I would have tossed it in the bin already for that reason alone!), I've done the recommended php.ini modifications to remove most of the error reporting, but I'm still getting these errors in the logs:

 

PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php on line 1110

Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php on line 1110
PHP Warning: Declaration of Person::create_export_query(&$order_by, &$where, $relate_link_join = '') should be compatible with SugarBean::create_export_query($order_by, $where) in /var/www/html/include/SugarObjects/templates/person/Person.php on line 40

Warning: Declaration of Person::create_export_query(&$order_by, &$where, $relate_link_join = '') should be compatible with SugarBean::create_export_query($order_by, $where) in /var/www/html/include/SugarObjects/templates/person/Person.php on line 40
PHP Warning: Declaration of User::retrieve($id, $encode = true, $deleted = true) should be compatible with Person::retrieve($id = -1, $encode = true, $deleted = true) in /var/www/html/modules/Users/User.php on line 41

Warning: Declaration of User::retrieve($id, $encode = true, $deleted = true) should be compatible with Person::retrieve($id = -1, $encode = true, $deleted = true) in /var/www/html/modules/Users/User.php on line 41
PHP Warning: Declaration of User::create_export_query($order_by, $where) should be compatible with Person::create_export_query(&$order_by, &$where, $relate_link_join = '') in /var/www/html/modules/Users/User.php on line 41

Warning: Declaration of User::create_export_query($order_by, $where) should be compatible with Person::create_export_query(&$order_by, &$where, $relate_link_join = '') in /var/www/html/modules/Users/User.php on line 41
PHP Warning: Declaration of User::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = '', $return_array = false, $parentbean = NULL, $singleSelect = false) should be compatible with SugarBean::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = '', $return_array = false, $parentbean = NULL, $singleSelect = false, $ifListForExport = false) in /var/www/html/modules/Users/User.php on line 41

Warning: Declaration of User::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = '', $return_array = false, $parentbean = NULL, $singleSelect = false) should be compatible with SugarBean::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = '', $return_array = false, $parentbean = NULL, $singleSelect = false, $ifListForExport = false) in /var/www/html/modules/Users/User.php on line 41
PHP Warning: Declaration of User::list_view_parse_additional_sections(&$list_form, $xTemplateSection) should be compatible with SugarBean::list_view_parse_additional_sections(&$list_form) in /var/www/html/modules/Users/User.php on line 41

Warning: Declaration of User::list_view_parse_additional_sections(&$list_form, $xTemplateSection) should be compatible with SugarBean::list_view_parse_additional_sections(&$list_form) in /var/www/html/modules/Users/User.php on line 41
PHP Warning: Declaration of Currency::retrieve($id, $encode = true, $deleted = true) should be compatible with SugarBean::retrieve($id = -1, $encode = true, $deleted = true) in /var/www/html/modules/Currencies/Currency.php on line 236

Warning: Declaration of Currency::retrieve($id, $encode = true, $deleted = true) should be compatible with SugarBean::retrieve($id = -1, $encode = true, $deleted = true) in /var/www/html/modules/Currencies/Currency.php on line 236
PHP Warning: Declaration of MysqlManager::checkQuery($sql) should be compatible with DBManager::checkQuery($sql, $object_name = false) in /var/www/html/include/database/MysqlManager.php on line 1497

Warning: Declaration of MysqlManager::checkQuery($sql) should be compatible with DBManager::checkQuery($sql, $object_name = false) in /var/www/html/include/database/MysqlManager.php on line 1497
PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/MVC/SugarApplication.php on line 594
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/MVC/SugarApplication.php on line 594
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/utils.php on line 2647

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/MVC/SugarApplication.php on line 594

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/MVC/SugarApplication.php on line 594

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/SugarEmailAddress/SugarEmailAddress.php:1110) in /var/www/html/include/utils.php on line 2647

Our server is running Ubuntu 16.04, so PHP is version 7.08 with Zend 3.0 and Apache is v2.4.18. All the PHP modules that Sugar needs to run have been installed too.

Outcomes