TOPIC:

SyntaxError: Unexpected token < in JSON at position 0 4 weeks 19 hours ago #273077

  • Topic Author
  • hardbox
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 0
Hello!

I get the following error : "SyntaxError: Unexpected token < in JSON at position 0" when I click the "Buy it now" button

Also, show a waning error on top:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/silveradocup.com/httpdocs/administrator/components/com_breezingcommerce/libraries/tcpdf/tcpdf.php on line 17782

The option button keep spinning

Please help :)

Thanks in advance

silveradocup.com/index.php/store/silvera...cup-spectator-ticket

Please Log in or Create an account to join the conversation.

Last edit: Post by hardbox.

SyntaxError: Unexpected token < in JSON at position 0 4 weeks 18 hours ago #273079

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 10069
  • Karma: 3
  • Thanks: 679
Hi,

about this error:
SyntaxError: Unexpected token < in JSON at position 0" 
please go to System->Global configruation->System->Debug system->set to yes.

Then go to button and click on Buy it now, and tell me in which line of code is this error that I can fix it.

About this error:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? 
Please go to this path:
/var/www/vhosts/silveradocup.com/httpdocs/administrator/components/com_breezingcommerce/libraries/tcpdf/
and replace tcpdf.php with this (unzip it first):

File Attachment:

File Name: tcpdf_2022-04-19.zip
File Size:181 KB


Regards,
Tihana
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.043 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!