• Resolved quartersawn

    (@quartersawn)


    Installing the plugin when php-curl is not installed will cause the plugin to hang on first load from configuration page. The problem is in s3.php.

    Installing the plugin without php-curl installed, and going to configure it causes the page to hang. The error log shows that an undefined constant in s3.php is the issue.

    PHP Fatal error:  Uncaught Error: Undefined constant "BMI\\Plugin\\External\\CURL_SSLVERSION_TLSv1" in /var/www/html/wordpress/wp-content/plugins/backup-backup/includes/external/s3.php:43\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/backup-backup/includes/external/s3.php(524):

    The system is a Ubuntu 22.04 and running the latest WordPress 6.9 – but it also happens on 5.3

    The standard php doesn’t define this constant. The minimum version really should be v1.2. Replacing this define with a constant (6) allows it to load because the defines are missing.

    /*      public $useSSLVersion = CURL_SSLVERSION_TLSv1; */
    public $useSSLVersion = 6; /* CURL_SSLVERSION_TLSv1_2 */

    Installing php-curl provides the constants.

    Is there a way for the plugin install to check if php-curl is installed?

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

Viewing 1 replies (of 1 total)
  • Plugin Support MixHa

    (@mixha)

    Hello @quartersawn ,

    Thank you for reporting the issue.

    We have identified the problem and it will be patched in the upcoming plugin version.

    Kind regards

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.