Jump to content

Problem upgrading modules (Fatal error)


Recommended Posts

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

  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

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! :)

  • Like 1
Link to comment
Share on other sites

  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

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

  • 6 months later...
  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

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...