Skip to main content


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.



Sorry for the many posts. I use the #Fediverse client #Friendica for cross-posting to #Bluesky, #Twitter and #Tumblr and have connected my #WordPress blogs via Friendica's hidden remote_self method. This resulted in this unwanted mass posting.