Title: HTTP error 500 PHP Fatal error: Cannot redeclare
Last modified: April 9, 2023

---

# HTTP error 500 PHP Fatal error: Cannot redeclare

 *  Resolved [maxinoriega](https://wordpress.org/support/users/maxinoriega/)
 * (@maxinoriega)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/)
 * The error started after updating Elementor and WP.
   The error log file states 
   this,PHP Fatal error: Cannot redeclare _resolve_home_block_template() (previously
   declared in /home/brianwesley1968/public_html/wp-includes/block-template.php:
   348) in /home/brianwesley1968/public_html/wp-includes/deprecated.php on line 
   4605I can’t even load the WP login page to my site.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-error-500-php-fatal-error-cannot-redeclare%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Elementor Team](https://wordpress.org/support/users/alekspr/)
 * (@alekspr)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16641711)
 * Hi,
   If you’re unable to access your dashboard, please check your email for a 
   recovery email sent by WordPress. In case there isn’t one, contact your hosting
   provider to disable all plugins in order for you to obtain access to your dashboard
   once more.As soon as you have access to your dashboard again, and all your plugins
   are disabled, switch your theme to a default theme such as Hello Theme, and try
   to enable Elementor again. Check if it works with just the Elementor plugin enabled.
   If it goes through, proceed to re-enable the rest of the plugins one by one.Alex
 *  Thread Starter [maxinoriega](https://wordpress.org/support/users/maxinoriega/)
 * (@maxinoriega)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16642064)
 * Thanks for your replay [@alekspr](https://wordpress.org/support/users/alekspr/)
   
   I contacted my hosting and they said they took care of the issue. They didn’t
   say specifically what was going on, but within the next 24 hs.I should be able
   to log in to my dashboard. I’ll let you know what happens. This isn’t solved 
   yet.
 *  Thread Starter [maxinoriega](https://wordpress.org/support/users/maxinoriega/)
 * (@maxinoriega)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16642967)
 * After contacting my hosting, I go to log in to WP but now I get this page with
   plain text:
 * **Fatal error**: Cannot redeclare _resolve_home_block_template() (previously 
   declared in /home/brianwesley1968/public_html/wp-includes/block-template.php:
   349) in **/home/brianwesley1968/public_html/wp-includes/deprecated.php** on line**
   4605**
 * **Fatal error**: Uncaught Error: Call to a member function set() on null in /
   home/brianwesley1968/public_html/wp-includes/l10n.php:786 Stack trace: #0 /home/
   brianwesley1968/public_html/wp-includes/l10n.php(874): load_textdomain(‘default’,‘/
   home/brianwesl…’, ‘es_ES’) #1 /home/brianwesley1968/public_html/wp-includes/class-
   wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]:
   WP_Fatal_Error_Handler->handle() #3 {main} thrown in **/home/brianwesley1968/
   public_html/wp-includes/l10n.php** on line **786**
 * so I’m still unable to log in. I don’t know if they are still working on it or
   I have to wait, but it’s been like this for several hours. They said I need to
   wait 24 hs. max, so I’ll wait.
 *  Thread Starter [maxinoriega](https://wordpress.org/support/users/maxinoriega/)
 * (@maxinoriega)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16644867)
 * So from my hosting they can’t help me. The error I quoted previously keeps showing
   in my website (including WP log in page) Is this a WP problem or Elementor’s?
 *  Plugin Support [Elementor Team](https://wordpress.org/support/users/alekspr/)
 * (@alekspr)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16675583)
 * Hi [@maxinoriega](https://wordpress.org/support/users/maxinoriega/) 
   Apologies
   for not getting back to you sooner. Are you still facing the same issue? Usually
   fatal errors occur when the Elementor version is outdated or due to plugin incompatibilities
   with other ones you might have installed at the same time. Do the messages still
   persist even after disabling all plugins except Elementor and switching to another
   theme?

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

The topic ‘HTTP error 500 PHP Fatal error: Cannot redeclare’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [error500](https://wordpress.org/support/topic-tag/error500/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [redeclare](https://wordpress.org/support/topic-tag/redeclare/)

 * 5 replies
 * 2 participants
 * Last reply from: [Elementor Team](https://wordpress.org/support/users/alekspr/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/http-error-500-php-fatal-error-cannot-redeclare/#post-16675583)
 * Status: resolved