Several of my sites showing critical error this morning:
PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /wp-content/plugins/mainwp-child-reports/connectors/class-connector-users.php on line 4
I just re-tested the MainWP Child Reports 2.0.5 on our test sites (PHP 7.4.8) along with both MainWP Child 4.0.7.2 and 4.1-beta3 on WP 5.5 and 5.5.1 and I couldn’t duplicate the problem.
It’s strange that this error shows only several child site, PHP syntax errors would affect all site in most cases (depending on PHP setup).
Can you please check what is in common for all sites that are affected but different from the rest of your sites? PHP version, same host, server,…