Could it be that the new 8.0.0 professional version has a typo error?
data/sugarbeans.php on line 8404
I had to remove the ? to get the installer working
I am believe you meant ./data/SugarBean.php and are referencing this line:
public function commitAuditedStateChanges(?Subject $overrideSubject) : void
On my localhost that is using PHP 7.1, MySQL 5.7, and Elasticsearch 5.4, I was able to install Sugar Professional and Enterprise 8.0.0 without any changes to this core file.
I would recommend reverting the change. If doing so causes an error to occur, please provide the following details:
The corresponding error from the php error log.
The version of PHP you are using.
The database type and version you are using.
The Elasticsearch version you are using.
Advanced Support Engineer
Learning Resources: http://support.sugarcrm.com | http://university.sugarcrm.com | http://community.sugarcrm.com
Started all over again, and got it working.
Probably something went wrong with elastic search.
Retrieving data ...