Jump to content

Edit History

Spir

Spir

Bonjour,

 

Une fois que je saisis mon login/mot de passe pour accéder a l'admin je suis redirigé sur la dashboard et là page blanche depuis ce matin (aucune mise à jour faite). En regardant les logs j'ai ceci:

Quote

PHP Fatal error:  Call to a member function assign() on null in .../classes/controller/AdminController.php on line 2330

Le code concerné (il s'agit du dernier assign):
 

        $this->context->smarty->assign(array(
            'table' => $this->table,
            'current' => self::$currentIndex,
            'token' => $this->token,
            'host_mode' => defined('_PS_HOST_MODE_') ? 1 : 0,
            'stock_management' => (int)Configuration::get('PS_STOCK_MANAGEMENT')
        ));

        if ($this->display_header)
            $this->context->smarty->assign('displayBackOfficeHeader', Hook::exec('displayBackOfficeHeader', array()));
        
        $this->context->smarty->assign(array(
            'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
            'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
        ));

On a la version 1.6 de PS. Une idée?

Spir

Spir

Bonjour,

 

Une fois que je saisis mon login/mot de passe pour accéder a l'admin je suis redirigé sur la dashboard et là page blanche depuis ce matin (aucune mise à jour faite). En regardant les logs j'ai ceci:

Quote

PHP Fatal error:  Call to a member function assign() on null in .../classes/controller/AdminController.php on line 2330

Le code concerné (il s'agit du dernier assign):
 

        $this->context->smarty->assign(array(
            'table' => $this->table,
            'current' => self::$currentIndex,
            'token' => $this->token,
            'host_mode' => defined('_PS_HOST_MODE_') ? 1 : 0,
            'stock_management' => (int)Configuration::get('PS_STOCK_MANAGEMENT')
        ));

        if ($this->display_header)
            $this->context->smarty->assign('displayBackOfficeHeader', Hook::exec('displayBackOfficeHeader', array()));
        
        $this->context->smarty->assign(array(
            'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
            'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
        ));

On a la version 1.6 de PS. Une idée?

Spir

Spir

Bonjour,

 

Une fois que je saisis mon login/mot de passe pour accéder a l'admin je suis redirigé sur la dashboard et là page blanche depuis ce matin (aucune mise à jour faite). En regardant les logs j'ai ceci:

Quote

PHP Fatal error:  Call to a member function assign() on null in .../classes/controller/AdminController.php on line 2330

Le code concerné (il s'agit du dernier assign):
 

        $this->context->smarty->assign(array(
            'table' => $this->table,
            'current' => self::$currentIndex,
            'token' => $this->token,
            'host_mode' => defined('_PS_HOST_MODE_') ? 1 : 0,
            'stock_management' => (int)Configuration::get('PS_STOCK_MANAGEMENT')
        ));

        if ($this->display_header)
            $this->context->smarty->assign('displayBackOfficeHeader', Hook::exec('displayBackOfficeHeader', array()));
        
        $this->context->smarty->assign(array(
            'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
            'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
        ));

On a la version 1.6 de PS. Une idée?

×
×
  • Create New...