Title: PHP Fatal error: Cannot redeclare
Last modified: October 4, 2019

---

# PHP Fatal error: Cannot redeclare

 *  Resolved [icetechy](https://wordpress.org/support/users/icetechy/)
 * (@icetechy)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-redeclare/)
 * Hi I am having this error below.
 * PHP Fatal error: Cannot redeclare ElementorPro\Modules\Woocommerce\WcTemplates\
   Cart\elementor_pro_render_mini_cart_item() (previously declared in /home/customer/
   www/iceshopy.com/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/
   wc-templates/cart/mini-cart.php:7) in /home/customer/www/iceshopy.com/public_html/
   wp-content/plugins/elementor-pro/modules/woocommerce/wc-templates/cart/mini-cart.
   php on line 7
 * and it has stopped my cart widgets from displaying.

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-redeclare/#post-11999220)
 * Since that is a commercial plugin, we ask that you please go to their official
   support channel, so you can get support from the people who know it best: [https://elementor.com/support/](https://elementor.com/support/)
 * Forum volunteers are not given access to commercial products, so they would not
   know why it is not working properly. Other community members who may have faced
   your issue might be able to help you but your best bet is your product’s developer.
   Keep in mind we encourage you to use the official support venues, as it allows
   the developers to be aware of issues with their code and gives back to the community
   in a more robust way.

Viewing 1 replies (of 1 total)

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

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-redeclare/#post-11999220)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
