Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Fatal error: Cannot redeclare class
New Landing › How can we help? › Cardinal › Fatal error: Cannot redeclare class
- This topic has 19 replies, 3 voices, and was last updated 8 years by Mohammad – SUPPORT.
-
Posted in: Cardinal
-
June 28, 2016 at 7:34 pm #277875
Hi, I am getting this error on my cart page. It seems to happen when not logged in to wordpress.
Fatal error: Cannot redeclare class SwiftPageBuilderShortcode_spb_icon_box in /homepages/23/d520281704/htdocs/wordpress-primalsnackbox/wp-content/plugins/swift-framework/includes/page-builder/shortcodes/icon-box.php on line 70
Add a product to the cart and you will see the error. If you don’t, then try to change the quantity in the cart and click ‘update cart’. Theme is up to date as well as swift framework. I am not using a child theme and I have not edited any php files. Please can you check asap!
Thanks
Mark
Attachments:
You must be logged in to view attached files.June 29, 2016 at 8:31 am #277970Hi,
I checked with this product http://primalsnackbox.co.uk/product/savannah-one-off/ and seems perfect to me. Just check the attachment.Thanks
MohammadAttachments:
You must be logged in to view attached files.June 29, 2016 at 8:47 am #277980Hi Mohammad, did you go to cart page and then try to adjust the quantity? You should then see the error.
June 29, 2016 at 8:51 am #277981Hi,
Please provide me login detail to check and resolve the issue.
Thanks
MohammadJune 29, 2016 at 9:01 am #277982This reply has been marked as private.June 29, 2016 at 10:24 am #277995Hi,
I have managed to resolve the issue so please check it now.
Thanks
MohammadJune 29, 2016 at 10:28 am #277998Hi, no that is definitely not fixed and when I update quantity in the cart, the whole cart disappears! What did you change? Please try checking when logged out of wordpress.
June 29, 2016 at 11:21 am #278017Hi,
Its working perfect to me. Please check after clear the cache of browser.
Thanks
MohammadJune 29, 2016 at 11:27 am #2780241. Open a incognito window
2. add a product to the cart
3. adjust the quantity, click update cart – the whole cart disappears
4. Click the cart icon in nav – fatal error appearsPlease can you tell me what you have changed?
June 29, 2016 at 11:37 am #278031Hi,
I tested with Chrome on Window machine, worked fine to me. You can check the red marked attached screenshot with update cart message.
Thanks
MohammadAttachments:
You must be logged in to view attached files.June 29, 2016 at 11:51 am #278039I am still seeing the error on a mac and windows. I tried deleting and re uploading the swift framework plugin but still getting the error. Can anyone else of the support try as well? What did you do to think you had fixed it?
June 29, 2016 at 11:58 am #278041Hi,
My colleague will assist you now.
Thanks
MohammadJune 29, 2016 at 2:09 pm #278097Thanks, can you please tell exactly what it is you changed because after updating cart quantity, the whole of the cart disappears.
June 29, 2016 at 3:43 pm #278146Not sure what my colleague did. In the meantime can you provide me ftp access in a private reply.
That kind can only occur if somehow there is more than one instance of the same plugin installed.Mohammad can you update this ticket with what you done in your intervention.
Thanks-Rui
June 29, 2016 at 6:26 pm #278196This reply has been marked as private. -
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.