Some #WordPress #Duplicator users experience the peculiar error in installer.php
AH01071: Got error #PHP message: PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in …
The reason I found was that the file had a space in front of the <?php element and a missing backlash at the end. Oddly enough, of two very similar instances only one produces it.