• Everytime i try to make
    a backup it ends with this error:

    ================

    02:04:53: A fatal error occured: Call requires one of the following
    methods: POST, OPTIONS. Got GET.
    2:04:53: Uploaded 0MB of 463.3MB

    ================

    And it never uploads anything and looking into the logs, it seems to be a PHP programming issue and it shows this warnings:

    ================
    2016/06/25 18:37:34 [error] 11374#11374: *53643 FastCGI sent in stderr: "PHP message: PHP Warning: curl_setopt_array(): Disabling safe uploads is no longer supported in /var/www/html/wp-content/plugins/wordpress-backup-to-dropbox/Dropbox/Dropbox/OAuth/Consumer/Curl.php on line 92"
    ================

    And looking for it i have found it seens to be a PHP 7 issue, ‘cos it changes the way it works with cURL and lines like:

    curl_setopt($ch, CURLOPT_SAFE_UPLOAD, true);

    no longer can be set to false.

    In PHP documentation and other sites (https://leanpub.com/php7/read#leanpub-auto-curl) says:

    ======

    Curl
    Removed support for disabling the CURLOPT_SAFE_UPLOAD option. All curl file uploads must use the curl_file / CURLFile APIs.

    ======

    So, it seems the plugin doesn’t support PHP 7 yet.

    Would you support it soon?

    https://wordpress.org/plugins/wordpress-backup-to-dropbox/

  • The topic ‘Can't upload to dropbox under PHP 7’ is closed to new replies.