Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

I'm Not A Developer Question: Bug With My Menu (Js Problem) Rate Topic   - - - - -

 

Posted 30 March 2020 - 01:37 PM #1

Hello,

 

I have a recurring problem with my main menu.
When you click on "Professional, collective, industry", it always sends me back to a dead link.Attached File  Capture d’écran 2020-03-30 à 15.14.05.png   110.9KB   0 downloads

 

More exactly, it sends me back to a product category that no longer exists in my menus. So that creates a 404.

I checked with the Firefox console.

Attached File  Capture d’écran 2020-03-30 à 15.21.25.png   225.46KB   0 downloads

Here is the error message:" SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON DATA ....".

 

<script async src="https://www.googletagmanager.com......
(I delete some sentences).
        gtag('event', 'page_view', JSON.parse(''));
    </script>

 

 

This error message means that you just need to correct the number of brackets?

If that was the correct answer, where can this change be made?


Note that I tried to delete and then recreate the right product categories but the problem keeps coming back.

Thanks to all of you,
Emmanuel



 

Posted 13 July 2020 - 04:38 AM #2

PM me for assistance. 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20771 posts

Posted 13 July 2020 - 06:35 AM #3

Looks like issue is linked with the 3rd party Google Tag manager module. Try to temporary disable it


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)