PHP Fatal error: Namespace declaration statement has to be the very first statement in the script

PHP Fatal error: Namespace declaration statement has to be the very first statement in the script

This error is because of the file content.

In-order to resolve this problem check the PHP file and remove empty space before the "<?php" tag.

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *