• Resolved greenpeas

    (@greenpeas)


    I updated PHP on my site last week, and initially, it was working with no flaws. This morning however the site wasn’t loading.

    I reinstalled WordPress 5.9.2 and loaded (not the content folder). I have access via FTP client.
    The login page gives me the following error:
    Fatal error: Uncaught Error: Call to undefined function force_ssl_admin() in /homepages/40/d154139219/htdocs/stembridge/wordpress/wp-login.php:15 Stack trace: #0 {main} thrown in /homepages/40/d154139219/htdocs/stembridge/wordpress/wp-login.php on line 15
    Any suggestions?

    • This topic was modified 2 years, 8 months ago by greenpeas.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Looks like some file transfers might fail or files have permission issues. Please make sure all the files transfer were successful and all the file & folder permissions are correct.

    Thread Starter greenpeas

    (@greenpeas)

    What is the standard permissions for CHMOD?

    EDIT, Okay, I found where and how to verify permissions, everything was good there.

    • This reply was modified 2 years, 8 months ago by greenpeas.

    force_ssl_admin is located in wp-includes/functions.php file, reupload that file, maybe that file is broken.

    Thread Starter greenpeas

    (@greenpeas)

    Unfortunately, that didn’t work either

    Verify your root wp files, one of those files might be empty or broken.

    Thread Starter greenpeas

    (@greenpeas)

    Thank you very much for your help Vijay. I went ahead and removed my WP installation after backing up and reloaded a clean install. I edited the config file and added my DB information. I’m getting the “wordpress error establishing database” error.

    Looking up some tips for getting it connected. I have done that, it has been a few years!

    Verify DB name, DB user, DB password, DB host, and Table Prefix values in your wp-config.php with your database information. one of those could be wrong.

    Thread Starter greenpeas

    (@greenpeas)

    It’s connected and working now, I am having to reactivate the theme/plugins… etc but it is working now! Thanks again!

    Thread Starter greenpeas

    (@greenpeas)

    ugh, well it was working ?? Back to the drawing board

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress not working’ is closed to new replies.