Fatal error: Namespace declaration statement…

  • Posted in : Efor
  • Anonymous
    Inactive

    The site was started in July 2019 and suddenly we receive this error and cannot login to WP nor access the site:

    Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /home/******/public_html/wp-includes/sodium_compat/lib/sodium_compat.php on line 2

    Is this a theme related issue and what is the solution if it is? Thanks for any help you can give.

    Rick

    serkan
    Moderator

    Hi Rick,
    It is not related to the theme it is related to PHP configuration. You can check out this related topic;
    https://wordpress.org/support/topic/cant-install-the-site-is-experiencing-technical-difficulties/
    I would recommend you to contact your hosting company and get some help.
    Please keep me updated when you get a solution from hosting company.
    Thanks

    Anonymous
    Inactive

    Hi Serkan. Thanks for the quick reply. Not technically inclined here and my webhost suggested I hire a programmer to fix this issue. From what I gather from this page you sent me to this could be a php issue which is something they should fix. If so, I’d love to be able to copy what you send me to send to them. Thanks for any additional help you can give me :-)

    serkan
    Moderator

    Hi,
    Hosting company should handle the php issue because it is on server side.

    Anonymous
    Inactive

    Thank you, Serkan.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register