TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheCpanelLinuxPHP

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