Title: Error when opening UpdraftPlus
Last modified: February 24, 2022

---

# Error when opening UpdraftPlus

 *  Resolved [peesen87](https://wordpress.org/support/users/peesen87/)
 * (@peesen87)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/)
 * 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&#8221](https://www.url.com/wp-admin/options-general.php&#8221);
 * 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](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15399751)
 * 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 / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15399767)
 * 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](https://wordpress.org/support/users/peesen87/)
 * (@peesen87)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15403925)
 * 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 / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15403969)
 * 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](https://wordpress.org/support/users/peesen87/)
 * (@peesen87)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15407001)
 * 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 / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15407034)
 * [@peesen87](https://wordpress.org/support/users/peesen87/) The string `function
   getallheaders(` only appears once inside UpdraftPlus, so you are doing the search
   wrongly somehow – please try again….
 *  Thread Starter [peesen87](https://wordpress.org/support/users/peesen87/)
 * (@peesen87)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15407058)
 * 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](https://wordpress.org/support/users/peesen87/)
 * (@peesen87)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15414899)
 * I asked the webhoster about this and he changed something in the php.ini. Now
   Updraft plus is working 🙂
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15418716)
 * [@peesen87](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-opening-updraftplus/#post-15418716)
 * Status: resolved