Title: Error while activation
Last modified: April 12, 2018

---

# Error while activation

 *  Resolved [Himani Bhardwaj](https://wordpress.org/support/users/himanibhardwaj25/)
 * (@himanibhardwaj25)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-while-activation-2/)
 * Hi,
    There is an error in your Plugin: Parse error: syntax error, unexpected 
   end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) 
   in plugins\ecwid-shopping-cart\templates\admin-message.php on line 52
 * In line no 31: class=”button<?php if ( $secondary_hide ): ?> ecwid-message-hide**
   <? endif; ?>”**
    In this line, PHP Tags are not used Properly. Please fix the
   Problem. I Have sorted it at my end. replacing this:
 * class=”button<?php if ( $secondary_hide ): ?> ecwid-message-hide **<?php endif;?
   >**”
 * Thanks !
    -  This topic was modified 8 years, 1 month ago by [Himani Bhardwaj](https://wordpress.org/support/users/himanibhardwaj25/).

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

 *  Plugin Author [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/support/users/ecwid/)
 * (@ecwid)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-while-activation-2/#post-10172914)
 * Thank you for the report! We will fix it in the upcoming plugin version.
 *  Thread Starter [Himani Bhardwaj](https://wordpress.org/support/users/himanibhardwaj25/)
 * (@himanibhardwaj25)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-while-activation-2/#post-10173266)
 * Thanks for your Quick Reply!
 *  Plugin Author [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/support/users/ecwid/)
 * (@ecwid)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-while-activation-2/#post-10183873)
 * We fixed the issue. Please update the Ecwid shopping cart plugin to the latest
   version to get the fix applied. Thank you!

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

The topic ‘Error while activation’ is closed to new replies.

 * ![](https://ps.w.org/ecwid-shopping-cart/assets/icon.svg?rev=3110860)
 * [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/plugins/ecwid-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecwid-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecwid-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecwid-shopping-cart/reviews/)

## Tags

 * [ecwid](https://wordpress.org/support/topic-tag/ecwid/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/support/users/ecwid/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-while-activation-2/#post-10183873)
 * Status: resolved