Okay
  Public Ticket #2586222
Js error in mobile theme
Closed

Comments

  •  1
    dbrrohof started the conversation

    Hi,

    I experience error in JS file (web/js/mgs_theme.js) when loaded on a mobile phone.

    Uncaught TypeError: Cannot read property '__' of undefined
    at HTMLDocument.<anonymous> (mgs_theme.js:630)

    This only happends when i view a category in the shop.

    The error is also in your demo and i refer you to test it on this, as i am on a local installation :)

    http://themes.magesolution.com/supro/jm/fashion/clothing.html


  • [deleted] replied

    Dear dbrrohof,

    Thank you for your ticket

    6815338910.png
    1657287791.png

    Can you be more specific on when you got this as I'm a little confused?

    I hope you have a good day

  •  1
    dbrrohof replied

    Hi Jerermy,

    Thank you for your reply. 

    Please go to console tab in dev tools to see the error.

  • [deleted] replied

    Dear dbrrohof,

    Thank you for your reply

    I need our devs's consultancies

    Please be patient

    I will respond to you as soon as possiblbe

    Have a good day

  • [deleted] replied

    Dear dbrrohof,

    please update file attachment app\design\frontend\Mgs\supro\web\js\mgs_theme.js.
    Then run command deploy to fix issue

    Thank you

  •  1
    dbrrohof replied

    Hi Jerermy,

    Are you sure the attatched file is the correct one?

    You are asking me to update a JS file with a PHTML file?

  • [deleted] replied

    Dear dbrrohof,

    This is our dev's message, you can see

    5847521270.png

    Here I'm referring again the file 

    Thank you

  •  1
    dbrrohof replied

    Hi Jerermy,

    Thank you for your response. 

    Please ask your dev if he have attatched the correct file. It makes zero sense, that i should replace a JAVASCRIPT file with a HTML file.

    The file you have attatched is 100% identical to the file located here: app\design\frontend\Mgs\supro\MGS_Fbuilder\templates\panel\create\script.phtml.


    I know this is a mistake from your end. Please get back to me with a correct answer.

  • [deleted] replied

    Dear dbrrohof,

    Thank you for your reply

    Alright, I will ask the dev again

    Have a good day

  •  1
    dbrrohof replied

    Thank you

  • [deleted] replied

    Dear dbrrohof,

    Please accept our apology for our recklessness

    This is the correct file (attachment)

    Thank you

  •  1
    dbrrohof replied

    Hi Jerermy,

    Thank you for the solution provided. It works!

  • [deleted] replied

    Dear dbrrohof,

    Thanks for your reply,

    If you feel happy with our service, could you please give us 5stars on the themeforest? You can go this link to rate:

    https://themeforest.net/item/supro-minimalist-ajax-magento-2-theme/23476627 

    Thanks so much and I hope you have a good day!