• Resolved nathanexact

    (@nathanexact)


    Hi, I am trying to upgrade apache2 form version 2.4.46 to the latest 2.4.58 to fix some vulnerabilities (see link for details https://httpd.apache.org/security/vulnerabilities_24.html).

    I have run an apache2 upgrade on my word press test server however it seems to stop WP Force SSL from working. I login to the Admin portal after update click on WP Force SSL under Settings and get the following error.

    “An undocumented error has occurred. Please refresh the page and try again.”

    This is my first time ever dealing with Word Press so please excuse my lack of knowledge.

    I have a checkpoint of my word press server so I can easily go back from before I run the update of Apache2.

    Any help at all on how to fix this would be great thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry to hear you are having issues. However you will need to check your server’s error log and let us know what the error actually is so we can look into it ??

    Thread Starter nathanexact

    (@nathanexact)

    Hi, Thanks. are there any specific logs you would recommend looking at?
    My Word Press server runs on a ubuntu command line server.

    Thread Starter nathanexact

    (@nathanexact)

    Error Details
    =============
    An error of type E_ERROR was caused in line 615 of the file /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/inc/wp-force-ssl-status-tests.php. Error message: Uncaught Error: Call to undefined function curl_init() in /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/inc/wp-force-ssl-status-tests.php:615
    Stack trace:
    #0 /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/inc/wp-force-ssl-status-tests.php(242): wpForceSSL_status_tests->test_httpsredirectwp()
    #1 /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/inc/wp-force-ssl-status-tests.php(344): wpForceSSL_status_tests->process_tests()
    #2 /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/inc/wp-force-ssl-status-tests.php(291): wpForceSSL_status_tests->get_tests_results()
    #3 /var/www/My Website/public_html/wp-content/plugins/wp-force-ssl/wp-force-ssl.php(316): wpForceSSL_status_tests->count_statuses()
    #4 /var/www/My Website/public_html/wp-includes/class-wp-hook.php(324): wpForceSSL->add_settings_page()
    #5 /var/www/My Website/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #6
    Thread Starter nathanexact

    (@nathanexact)

    Just to add, if I disable the WP Force SSL plugin my site now works but I need that plugin to work as it was enabled before and was working before I update Apache.

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    The problem is that your server is missing the PHP cURL extension.

    I’m not a server admin so I can’t give you exact instructions but most likely you need to enable the php-curl module and restart apache. If you have managed hosting you can ask them to enable it for you.

    cURL is used by a lot of plugins so you should really get this resolved.

    Thread Starter nathanexact

    (@nathanexact)

    Thanks. Would you have a guide on how to do this? I don’t have managed hosting as it’s just a test server.

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    You should find plenty if you search online “enable cURL for PHP ?.? and apache 2.4.58 on ??” (replace ?? with your php version and OS like ubuntu or what you have ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP Force SSL stops after Apache2 upgrade.’ is closed to new replies.