• Resolved peesen87

    (@peesen87)


    Hello everyone, when i open UpdraftPlus i get an error message “There is a critical error on your website. Check your mailbox” (translated from german to english).

    When i check the PHP-error logs i see the following fatal error: “PHP Fatal error: Cannot redeclare getallheaders() in /home/url.com/ftp/www/wp-content/plugins/updraftplus/vendor/ralouphie/getallheaders/src/getallheaders.php on line 10, referer: https://www.url.com/wp-admin/options-general.php”

    Do you know this error? What causes this problem and how can i fix it? Thank you so much for your help and best regards.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    We’ve recently released an update and I think the update has failed partway causing the error. Can you please re-install the plugin? You will need to delete the updraftplus plugin folder inside the “wp-content/plugins” and then re-install. You will not lose your backups in the process.

    Thanks,
    Bryle

    Plugin Author David Anderson

    (@davidanderson)

    Please can you, for testing purposes, de-activate all your other plugins, reload the page, and confirm that it then loads? Assuming so, please then selectively reactivate other plugins, to find the culprit causing a conflict.

    David

    Thread Starter peesen87

    (@peesen87)

    Hello David
    I tried both options, deactivated all plugins and reinstalled updraft. The problem still exists. Are there other causes for this error?
    Thank you so much for your help!

    Plugin Author David Anderson

    (@davidanderson)

    Some code somewhere in your WordPress site defines the function ‘getallheaders()’. If it’s not in a plugin or theme, it could be an mu-plugin or any other customisation you have made. If you still can’t find it, you can download your site to your computer and search for the string function getallheaders( in the code to locate it. (If not sure how to do that, Google things like “Windows search code tool” or “Mac search code tool” depending on what system you have).

    Thread Starter peesen87

    (@peesen87)

    I checked and getallheaders is just used by:
    1. WordPress (wp-includes/js/codemirror/codemirror.min.js)
    2. Many times inside the “updraftplus” plugin folder.

    Could it be that something is wrong with the hosting-environment?

    Plugin Author David Anderson

    (@davidanderson)

    @peesen87 The string function getallheaders( only appears once inside UpdraftPlus, so you are doing the search wrongly somehow – please try again….

    Thread Starter peesen87

    (@peesen87)

    Yes, i was searching for just “getallheaders”. The function is just inside updraft plus, nothing else found. And idea what i can do next?

    Thread Starter peesen87

    (@peesen87)

    I asked the webhoster about this and he changed something in the php.ini. Now Updraft plus is working ??

    Plugin Author David Anderson

    (@davidanderson)

    @peesen87 How is the bucket set up – does the AWS user that is being used have all permissions on the account, or only limited permissions, via ACLs?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error when opening UpdraftPlus’ is closed to new replies.