khodari Posted January 7, 2015 Share Posted January 7, 2015 Hi: I got the following error trying to update modules and also when trying to deactivate a module: [PrestaShop] Fatal error in module gamification:Method Gamification::__call() must take exactly 2 arguments After that, I lost access to the backoffice. I have the latest version of Prestashop installed. Can any one help? Link to comment Share on other sites More sharing options...
khodari Posted January 7, 2015 Author Share Posted January 7, 2015 By loosing access to the back office, I mean I get a blank screen, no errors. The front office is working. Link to comment Share on other sites More sharing options...
mostwanted Posted January 7, 2015 Share Posted January 7, 2015 On 1/7/2015 at 5:24 AM, khodari said: By loosing access to the back office, I mean I get a blank screen, no errors. The front office is working. Hi there, Me too just had same problem with same one time error while upgrading a module. Anyone had this problem and came out of it, please reply. Thanks Link to comment Share on other sites More sharing options...
Drazh Posted January 7, 2015 Share Posted January 7, 2015 Same problem today after updating.I have temporarily renamed the folder of the module: "/modules/gamification" in "/modules/gamificationBAD"So now the back office work without the module.I'm waiting for the correct solution.Thank you! 1 Link to comment Share on other sites More sharing options...
mostwanted Posted January 7, 2015 Share Posted January 7, 2015 On 1/7/2015 at 7:47 AM, Drazh said: Same problem today after updating. I have temporarily renamed the folder of the module: "/modules/gamification" in "/modules/gamificationBAD" So now the back office work without the module. I'm waiting for the correct solution. Thank you! Yep me too tried similar solution to restore back my back office. got my backoffice with non-updated module. Link to comment Share on other sites More sharing options...
Thibaud Chauvière Posted January 7, 2015 Share Posted January 7, 2015 Hi everyone, We have fixed this issue, you can found the related commit on GitHub here: https://github.com/PrestaShop/gamification/commit/6f5b9535e4d3d7e9b92fc7e87181726203fc0cc1 This issue is now fixed and change will be available as soon as possible. Best regards, Link to comment Share on other sites More sharing options...
khodari Posted January 7, 2015 Author Share Posted January 7, 2015 So, meanwhile, should we manually apply the modification? What about the blank backoffice? Should I restore the site from backup? Thanks. Link to comment Share on other sites More sharing options...
khodari Posted January 7, 2015 Author Share Posted January 7, 2015 I tried to manually do the modification, but here is lines 124 - 129 from my copy of gamification.php public function getContent() { Tools::redirectAdmin($this->context->link->getAdminLink('AdminGamification')); } public function __call($name) { Link to comment Share on other sites More sharing options...
Thibaud Chauvière Posted January 7, 2015 Share Posted January 7, 2015 On 1/7/2015 at 1:08 PM, khodari said: public function __call($name) { You have found the right place to add the missing method's argument just here Best regards, Link to comment Share on other sites More sharing options...
Drazh Posted January 7, 2015 Share Posted January 7, 2015 On 1/7/2015 at 8:38 AM, Thibaud Chauvière said: Hi everyone, We have fixed this issue, you can found the related commit on GitHub here: https://github.com/PrestaShop/gamification/commit/6f5b9535e4d3d7e9b92fc7e87181726203fc0cc1 This issue is now fixed and change will be available as soon as possible. Best regards, Thank You !! All work fine Link to comment Share on other sites More sharing options...
makoke Posted July 22, 2015 Share Posted July 22, 2015 On 1/7/2015 at 1:20 PM, Thibaud Chauvière said: You have found the right place to add the missing method's argument just here Best regards, Sorry,Thibaud, Can you explain how to do that? i don't know Thank you 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