Jump to content

Gamification Module Error: Property Tab->name is empty.


Quique García

Recommended Posts

Hello everyone!

I have a new installation with Prestashop 1.7.6.7 but my module Gamification is not enabled, I tried to enable but responded with an error and even that way the module was enabled but no working correctly.

Afterwards I tried to reset it but this error was displayed:

Exception thrown by module gamification on reset. Error when resetting module gamification. Property Tab->name is empty.

Someone else has this error?

Thanks in advance for the response!

Link to comment
Share on other sites

  • 1 year later...

/modules/gamification/gamification.php

 

...

    public function installTab()
    {
        $tab = new Tab();
        $tab->active = true;
        $tab->class_name = 'AdminGamification';
        $tab->name = [];
$tab->name[1] = 'Merchant Expertise';
$tab->name[2] = 'Merchant Expertise';        
        //foreach (Language::getLanguages(true) as $lang) {
        //    $tab->name[$lang['id_lang']] = 'Merchant Expertise';
       // }

  • Thanks 1
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...