Jump to content

ReferenceError: Can't find variable: $ global code in product editor


Recommended Posts

Hi,

 

after upgrade (1-click module) to 1.6.0.14 from 1.6.0.6, the product editor page is not loaded properly (look t the screenshot attached).

In Safari element inspection it displays:

[Error] ReferenceError: Can't find variable: $ global code (index.php, line 39)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 657)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 756)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 897)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 930)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 963)
[Error] ReferenceError: Can't find variable: hideOtherLanguage global code (index.php, line 1008)
[Error] ReferenceError: Can't find variable: $ global code (index.php, line 1052)

Chrome shows:

Uncaught ReferenceError: $ is not defined  index.php?controller=AdminProducts&id_product=67&updateproduct&token=b35d81e8fd9104c978648bd9d85471…:39 (anonymous function)
...

Firefox:

ReferenceError: $ is not defined index.php:39
...

I've tried activate the development mode, but the error remains always the same.

 

What it is about? Did anybody face this issue?

 

Thanks

post-752798-0-86728100-1427870640_thumb.png

Link to comment
Share on other sites

There has never been a function called resolveBoMinQty in the Product class, in either version you are using.  So this tells me you had some module installed or override installed that added this function, and the upgrade process has either removed it or changed it in some way.

 

you should ...

1) clear your smarty cache

2) disable or remove overrides

3) disable or remove non-ps modules that may be causing issues

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...