Title: fatal error when the plugin updates
Last modified: January 24, 2025

---

# fatal error when the plugin updates

 *  Resolved [neusfi](https://wordpress.org/support/users/neusfi/)
 * (@neusfi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/)
 * Hi,
 * I have installed the Version 2.0.6 of the plugin, and when it updates to 2.1.0,
   the whole website crashes.
 * If I enter in recovery mode, it says:
 * A E_COMPILE_ERROR occurred on line 12 of the file /data/sites/web/neusfiguerascom/
   www/wp-content/plugins/header-footer-elementor/inc/lib/nps-survey/classes/nps-
   survey-script.php. Error message: Cannot declare class Nps_Survey, because the
   name is already in use.
 * I have tried reinstalling the plugin and the error appears again.
 * The only solution I’ve found is restoring to my last backup and deactivating 
   the automatic update for this plugin.
 * Do you know how I can update the plugin without getting this error?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-the-plugin-updates%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [sushma_kure](https://wordpress.org/support/users/sushmak02/)
 * (@sushmak02)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/#post-18263987)
 * Hi,
 * Thank you for reaching out and reporting this issue.
 * It seems like the error you’re encountering is specific to your environment, 
   as our team is not able to replicate this on our end.
 * To ensure a quicker resolution, I recommend reaching out to our official [support centre](https://ultimateelementor.com/contact/).
   Our support team will be able to provide more detailed assistance and help you
   resolve this issue.
 * We look forward to your response.
 * Best regards,
   Sushma
 *  [Ankush Thakare](https://wordpress.org/support/users/iankusht/)
 * (@iankusht)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/#post-18266560)
 * Hi [@neusfi](https://wordpress.org/support/users/neusfi/),
 * Thanks for reaching out! We’ve looked into the issue, and it seems it might be
   caused by older versions of plugins or themes on your site. Specifically, if 
   you’re using the Starter Template plugin, please make sure it’s updated to the
   latest version. We’ve noticed this issue occurs on sites where the Starter Template
   plugin hasn’t been updated.
 * That said, this error shouldn’t happen even with older versions of plugins. Our
   developers are already working on a fix, and we’ll release an update as soon 
   as possible to address this.
   In the meantime, we suggest you to update the plugins
   and theme on your website to resolve fatal error.
 * Thank you for your patience and understanding while we work on resolving this!
 * Kind regards,
   Ankush 🙂
 *  Thread Starter [neusfi](https://wordpress.org/support/users/neusfi/)
 * (@neusfi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/#post-18268770)
 * Hi Sushma and Ankush,
 * Thank you very much for your replies. Ankush, that was it, I’ve done as suggested
   and now the updated version doesn’t produce the fatal error. Everything works
   fine! Thanks!!
 * Neus
 *  [Ankush Thakare](https://wordpress.org/support/users/iankusht/)
 * (@iankusht)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/#post-18269234)
 * Hi [@neusfi](https://wordpress.org/support/users/neusfi/), You’re very welcome!
   😊 I’m so glad to hear that resolved the issue and everything is working perfectly
   now. Further, I would like provide you an update that we have fixed the PHP error
   in our plugin and it under testing phase and soon we will be releasing an update.
   
   If you need any further assistance, feel free to start a new thread anytime. 
   Thanks again for letting us know!Regards,Ankush 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘fatal error when the plugin updates’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-elementor/assets/icon-256x256.gif?rev=3278750)
 * [Ultimate Addons for Elementor](https://wordpress.org/plugins/header-footer-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-elementor/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ankush Thakare](https://wordpress.org/support/users/iankusht/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-updates/#post-18269234)
 * Status: resolved