Jump to content
TCB-Netherlands

Probleem met Undefined index: identifier

Recommended Posts

Goede morgen iedereen,
sinds de update naar 1.7.6.2 heb ik in een appagebuilder de volgende fout zitten:

Notice: Undefined index: identifier

Deze word weergegevens in de cache tpl als:

$_smarty_tpl->_assignInScope('identifier_bk', $_smarty_tpl->tpl_vars['identifier']->value ,false ,2);

Nu kom ik in de module maar 1 keer $helper->identifier = $this->identifier; tegen.

$helper = new HelperForm();
        $helper->show_toolbar = false;
        $helper->table = $this->table;
        $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT'));
        $helper->default_form_language = $lang->id;
        $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ?
                Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
        $helper->identifier = $this->identifier;
        $helper->submit_action = 'submitApPageBuilder';
        $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false)
                .'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name;
        $helper->token = Tools::getAdminTokenLite('AdminModules');
        $helper->tpl_vars = array(
            'fields_value' => $data,
            'languages' => $this->context->controller->getLanguages(),
            'id_language' => $this->context->language->id
        );
        return $helper->generateForm(array($fields_form, $fields_form1));
    }


 

Hoe kan het dat deze niet is gedefinieerd na de 1.7.6.2 update??

Share this post


Link to post
Share on other sites

Gebruik je een custom theme? Het lijkt erop dat de personen achter je theme/module geen compatibiliteit kennen...

Share this post


Link to post
Share on other sites

/hey Las3r, het is een leotheme, die staan er om bekend niet zoveel met compatibiliteit en cache te doen.
echter is het inmiddels door de heren van Leotheme opgelost.

Share this post


Link to post
Share on other sites
On 2/17/2020 at 12:59 PM, Wallgrind.nl said:

Vanuit welke versie heb geupgraded?

Ik heb hem van 1.7.6.1 naar 1.7.6.2 en vervolgens naar 1.7.6.3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More