seowebmaster Posted April 1, 2015 Share Posted April 1, 2015 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 Link to comment Share on other sites More sharing options...
seowebmaster Posted April 1, 2015 Author Share Posted April 1, 2015 Update: in error_log the error is the following... PHP Fatal error: Call to undefined method Product::resolveBoMinQty() ~/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 714 Any idea? Link to comment Share on other sites More sharing options...
bellini13 Posted April 1, 2015 Share Posted April 1, 2015 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 More sharing options...
seowebmaster Posted April 1, 2015 Author Share Posted April 1, 2015 The issue was that I had Override disabled and probably some modules were using it. After enabling product editor page is working again as it should... thank you, anyway! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now