On a local version of my website I am getting an error if I try to create a new field in any fieldgroup:

Fatal error: Cannot redeclare class Cartthrob_discount_ft in .../user/addons/cartthrob_discount/ft.cartthrob_discount.php on line 136

Im running Php 5.6.10

  • Do you by chance have a second copy of the cartthrob files in the addon directory? – Kokako Sep 26 '17 at 18:03
  • THanks - I got it sorted. I think there was an error with the php version. – user579984 Sep 26 '17 at 21:53

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.