Jump to content
krzysztofnowak

Niezidentyfikowany błąd krytyczny

Recommended Posts

Witam.
Pracowałem bez problemów nad swoim sklepem, następnego dnia logując do backoffice jedyne co widziałem to "Błąd krytyczny".
Po włączeniu debuggera mam następujący komunikat:

[PrestaShopException]

Błąd krytyczny


at line 1175 in file classes/Tools.php

1170. →getTranslator()
1171. →trans(’Fatal error’, [], ‘Admin.Notifications.Error’);
1172. }
1173.
1174. if (_PS_MODE_DEV_) {
1175. throw new PrestaShopException($errorMessage);
1176. }
1177.
1178. return $errorMessage;
1179. }
1180.

ToolsCore::displayError - [line 1631 - classes/controller/AdminController.php]

1626. $back = Tools::safeOutput(Tools::getValue('back', '')); 1627. if (empty($back)) { 1628. $back = self::$currentIndex . '&token=' . $this->token; 1629. } 1630. if (!Validate::isCleanHtml($back)) { 1631. die(Tools::displayError()); 1632. } 1633. if (!$this->lite_display) { 1634. $this->toolbar_btn['back'] = array( 1635. 'href' => $back, 1636. 'desc' => $this->l('Back to list'),

AdminControllerCore->initToolbar - [line 2141 - classes/controller/AdminController.php]

2136. 2137. public function initToolbarFlags() 2138. { 2139. $this->getLanguages(); 2140. 2141. $this->initToolbar(); 2142. $this->initTabModuleList(); 2143. $this->initPageHeaderToolbar(); 2144. 2145. $this->context->smarty->assign(array( 2146. 'maintenance_mode' => !(bool) Configuration::get('PS_SHOP_ENABLE'),

AdminControllerCore->initToolbarFlags - [line 2851 - classes/controller/AdminController.php]

2846. Employee::setLastConnectionDate($this->context->employee->id); 2847. 2848. $this->initProcess(); 2849. $this->initBreadcrumbs(); 2850. $this->initModal(); 2851. $this->initToolbarFlags(); 2852. $this->initNotifications(); 2853. } 2854. 2855. /** 2856. * Sets the smarty variables and js defs used to show / hide some notifications.

AdminControllerCore->init - [line 273 - classes/controller/Controller.php]

268. /** 269. * Starts the controller process (this method should not be overridden!). 270. */ 271. public function run() 272. { 273. $this->init(); 274. if ($this->checkAccess()) { 275. // setMedia MUST be called before postProcess 276. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 277. $this->setMedia(); 278. }

ControllerCore->run - [line 515 - classes/Dispatcher.php]

510. if (isset($params_hook_action_dispatcher)) { 511. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 512. } 513. 514. // Running controller 515. $controller->run(); 516. 517. // Execute hook dispatcher after 518. if (isset($params_hook_action_dispatcher)) { 519. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 520. }

DispatcherCore->dispatch - [line 97 - admin/index.php]

92. if (!headers_sent()) { 93. header('Content-Type: text/html; charset=utf-8'); 94. } 95. 96. // Prepare and trigger LEGACY admin dispatcher 97. Dispatcher::getInstance()->dispatch(); 98. }

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