1
1
12slim2018-07-26 15:19:46
Joomla
12slim, 2018-07-26 15:19:46

Error on Joomla site Fatal error: Namespace declaration statement what to do?

An error appeared on the northview.ru website with the following content:

Fatal error: Namespace declaration statement has to be the very first statement in the script in /var/www/u0303027/data/www/northview.ru/libraries/vendor/joomla/uri/src/UriInterface.php on line 9

in line 9 in the specified directory only: namespace Joomla\Uri; Lines 8 and 10 are blank. How to fix the error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
12slim, 2018-07-26
@12slim

Checking the site for viruses and removing them solves the problem instantly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question