Support » Fixing WordPress » Namespace declaration statement

  • Hello, I can`t log in, not even in Recovery Mode. What can be done?

    Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /home4/anclajep/public_html/wp-content/plugins/bluehost-wordpress-plugin/vendor/bluehost/wp-module-secure-passwords/includes/functions.php on line 9

    • This topic was modified 2 weeks, 3 days ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there,

    If you are able to use something like FileZilla to connect via SFTP you can disable the plugin causing that error. It would be the bluehost-wordpress-plugin and you can rename the folder and WordPress will deactivate that giving you access back.

    Let us know if that helps or you need more guidance on how to do that.

    Hi, You can try to disable the plugin ‘bluehost-wordpress-plugin’ from a file manager or FTP.
    If you have recent backups you can also consider restoring your website backup to a previous version.

    HOW TO DEACTIVATE WORDPRESS PLUGINS FOR TROUBLESHOOTING

    Thread Starter cdstrom

    (@cdstrom)

    Thanks, Josè Castañeda, how would I set this up? I tried plugging this into the “host” field…
    Host: sftp://anclaje-primario.com
    …for the “Username” field, I used my WordPress username (“cdstrom”)…
    Username: cdstrom
    …in the “password” field, I plugged in my WordPress password…
    …I didn`t know what to put into the “port” field, so I left it blank.

    This is what I get:

    Error:	Command not supported by this protocol
    Status:	Resolving address of anclaje-primario.com
    Status:	Connecting to 66.235.200.147:21...
    Error:	Connection timed out after 20 seconds of inactivity
    Error:	Could not connect to server
    Status:	Waiting to retry...
    Status:	Resolving address of anclaje-primario.com
    Status:	Connecting to 66.235.200.147:21...
    Error:	Connection timed out after 20 seconds of inactivity
    Error:	Could not connect to server
    Status:	Disconnected from server
    Status:	Connecting to anclaje-primario.com...
    Response:	fzSftp started, protocol_version=11
    Command:	open "cdstrom@anclaje-primario.com" 22
    Error:	Connection timed out after 20 seconds of inactivity
    Error:	Could not connect to server
    Status:	Waiting to retry...
    Status:	Connecting to anclaje-primario.com...
    Response:	fzSftp started, protocol_version=11
    Command:	open "cdstrom@anclaje-primario.com" 22
    Error:	Connection timed out after 20 seconds of inactivity
    Error:	Could not connect to server
    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Ah, ok. So your hosting company will have this information as it does vary by hosting company and not all connect to the domain that way. I know some offer a cpanel which can make it a little easier for some to edit and access some of the files on the site.

    Try reaching out to your host if you are not sure on where to get those details.

    Thread Starter cdstrom

    (@cdstrom)

    thank you, diegoalv, I have no access to my dashboard

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.