7. Whoops\Exception\ErrorException
…/­application/­modules/­products/­controllers/­IndexController.php20
6. Whoops\Run handleError
…/­application/­modules/­products/­controllers/­IndexController.php20
5. Products_IndexController itemAction
…/­vendor/­bombayworks/­zendframework1/­library/­Zend/­Controller/­Action.php516
4. Zend_Controller_Action dispatch
…/­vendor/­bombayworks/­zendframework1/­library/­Zend/­Controller/­Dispatcher/­Standard.php308
3. Zend_Controller_Dispatcher_Standard dispatch
…/­vendor/­bombayworks/­zendframework1/­library/­Zend/­Controller/­Front.php954
2. Zend_Controller_Front dispatch
…/­vendor/­bombayworks/­zendframework1/­library/­Zend/­Controller/­Front.php212
1. Zend_Controller_Front run
…/­application/­kernel.php222
0. include_once
…/­public/­index.php25

Whoops \ Exception \ ErrorException (E_NOTICE)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Whoops\Exception\ErrorException thrown with message "Undefined index: brand" Stacktrace: #7 Whoops\Exception\ErrorException in /var/www/clients/client13/web77/web/application/modules/products/controllers/IndexController.php:20 #6 Whoops\Run:handleError in /var/www/clients/client13/web77/web/application/modules/products/controllers/IndexController.php:20 #5 Products_IndexController:itemAction in /var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php:516 #4 Zend_Controller_Action:dispatch in /var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:308 #3 Zend_Controller_Dispatcher_Standard:dispatch in /var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php:954 #2 Zend_Controller_Front:dispatch in /var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php:212 #1 Zend_Controller_Front:run in /var/www/clients/client13/web77/web/application/kernel.php:222 #0 include_once in /var/www/clients/client13/web77/web/public/index.php:25

Undefined index: brand

/var/www/clients/client13/web77/web/application/modules/products/controllers/IndexController.php
        $lang =$this->view->currentLang();
 
        $model = new ProductModel();
        $this->view->item = $model->getItem($this->getParam('id'), $lang);
 
        $brand_model = new BrandsModel();
//        $this->view->brand_url = $brand_model->getUrlByCode($this->view->item['brand'], $lang);
        $this->view->brand = $brand_model->getForProduct($this->view->item['brand'], $lang);
        $slider = new ClLocalAbstractModel( 'slider');
        $this->view->butique_slider = $slider->getAll(array(
/var/www/clients/client13/web77/web/application/modules/products/controllers/IndexController.php
        $lang =$this->view->currentLang();
 
        $model = new ProductModel();
        $this->view->item = $model->getItem($this->getParam('id'), $lang);
 
        $brand_model = new BrandsModel();
//        $this->view->brand_url = $brand_model->getUrlByCode($this->view->item['brand'], $lang);
        $this->view->brand = $brand_model->getForProduct($this->view->item['brand'], $lang);
        $slider = new ClLocalAbstractModel( 'slider');
        $this->view->butique_slider = $slider->getAll(array(
/var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Action.php
            // @see ZF-7496
            if (!($this->getResponse()->isRedirect())) {
                // preDispatch() didn't change the action, so we can continue
                if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
                    if ($this->getInvokeArg('useCaseSensitiveActions')) {
                        trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
                    }
                    $this->$action();
                } else {
                    $this->__call($action, array());
/var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Dispatcher/Standard.php
        $disableOb = $this->getParam('disableOutputBuffering');
        $obLevel   = ob_get_level();
        if (empty($disableOb)) {
            ob_start();
        }
 
        try {
            $controller->dispatch($action);
        } catch (Exception $e) {
            // Clean output buffer on error
/var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php
                    continue;
                }
 
                /**
                 * Dispatch request
                 */
                try {
                    $dispatcher->dispatch($this->_request, $this->_response);
                } catch (Exception $e) {
                    if ($this->throwExceptions()) {
/var/www/clients/client13/web77/web/vendor/bombayworks/zendframework1/library/Zend/Controller/Front.php
     * @return void
     * @throws Zend_Controller_Exception if called from an object instance
     */
    public static function run($controllerDirectory)
    {
        self::getInstance()
            ->setControllerDirectory($controllerDirectory)
            ->dispatch();
    }
 
/var/www/clients/client13/web77/web/application/kernel.php
$viewRenderer->setView($view);
Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
 
//добавление пути для своих помощников
$view->addHelperPath('/admin/views/helpers', 'Admin_View_Helper');
// Запуск приложения
 
Zend_Controller_Front::run($config["path"]["controllers"]);
/var/www/clients/client13/web77/web/public/index.php
 
 
// Enable Composer autoloader
require_once BASE_PATH.'/vendor/autoload.php';
 
// Bootstrap default resources & run app
//$application->bootstrap(['frontController','request','routing','dicontainer','view'])->run();
include_once BASE_PATH.'/application/kernel.php';
empty
empty
empty
empty
Key Value
DNKNS Array ( [inlineEdit] => )
Key Value
PHPRC /etc/php5/cgi/
PHP_DOCUMENT_ROOT /var/www/clients/client13/web77
PATH /usr/local/bin:/usr/bin:/bin
PWD /var/www/php-fcgi-scripts/web77
SHLVL 0
PHP_FCGI_MAX_REQUESTS 5000
FCGI_ROLE RESPONDER
REDIRECT_STATUS 200
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.mobius.lv
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.2.16 (Debian)
SERVER_NAME www.mobius.lv
SERVER_ADDR 87.110.179.123
SERVER_PORT 80
REMOTE_ADDR 44.200.182.101
DOCUMENT_ROOT /var/www/mobius.lv/web/public
SERVER_ADMIN webmaster@mobius.lv
SCRIPT_FILENAME /var/www/mobius.lv/web/public/index.php
REMOTE_PORT 41668
REDIRECT_URL /ru/products/3
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /ru/products/3
SCRIPT_NAME /index.php
HTTP_CONNECTION close
PHP_SELF /index.php
REQUEST_TIME 1711713691
empty
0. Whoops\Handler\PrettyPageHandler