Undefined index: extension
/var/www/sailingart.ru/public_html/classes/App/Model/Image.php
48    	public function get_ext_image($filename)
49    	{
50    		$path_parts = pathinfo($filename);
51    		$ext = $path_parts['extension'];
52    		$ext = strtolower($ext);
53    		if ($ext === 'jpeg') {
/var/www/sailingart.ru/public_html/classes/App/Model/Image.php
386    	public function get_path_cache_image($src, $width, $height, $ext = '')
387    	{
388    		// svg возвращаем без изменнений
389    		if ($this->get_ext_image(ROOT . $src) === 'svg') {
390    			return $src;
391    		}
/var/www/sailingart.ru/public_html/classes/App/Core/Module/SearchTab.php
227    				$array_yacht_one[0]['foto'] = '';
228    				for ($j = 1; $j <= 10; $j++) {
229    					$foto = $this->pixie->image->find_image('sa_good', 'pic' . $array_yacht_one[0]['id'], $j);
230    					$foto_full = $this->pixie->image->get_path_cache_image($foto, 0,0);
231    					$foto_big = $this->pixie->image->get_path_cache_image($foto, 260,260);
232    					$foto_small = $this->pixie->image->get_path_cache_image($foto, 80,80);
/var/www/sailingart.ru/public_html/classes/App/Core/Module.php
122    		ob_start();
123    
124    		try {
125    			$this->extension_for_page();
126    		} catch (E\Error404 $e) {
127    			// 404 ошибку пробрасываем выше
/var/www/sailingart.ru/public_html/classes/App/Model/Page.php
624    
625    		// вызов метода модуля для страницы
626    		if ($this->module) {
627    			$this->array_page = $this->module->call_for_page($this->array_page);
628    		}
629    
/var/www/sailingart.ru/public_html/classes/App/Controller/Page.php
119    
120    		try {
121    			if ($this->execute) {
122    				$this->response->body = $this->model->read_page($this->url, $this->page, $this->list);
123    				if ($this->check_etag() && $this->check_lastmod()) {
124    					// Если оба валидатора считают что кеш валиден - возвращаем 304 ответ
/var/www/sailingart.ru/public_html/vendor/phpixie/core/classes/PHPixie/Controller.php
103    		$this->execute = true;
104    		$this->before();
105    		if ($this->execute)
106    			$this->$action();
107    		if ($this->execute)
108    			$this->after();
/var/www/sailingart.ru/public_html/vendor/phpixie/core/classes/PHPixie/Request.php
187    		$class = $this->param('namespace',$this->pixie->app_namespace).'Controller\\'.ucfirst($this->param('controller'));
188    		$controller = $this->pixie->controller($class);
189    		$controller->request = $this;
190    		$controller->run($this->param('action'));
191    		return $controller->response;
192    	}
/var/www/sailingart.ru/public_html/vendor/phpixie/core/classes/PHPixie/Pixie.php
254    		try {
255    
256    			$request = $this->http_request();
257    			$response = $request->execute();
258    			$response->send_headers()->send_body();
259    
/var/www/sailingart.ru/public_html/index.php
176    try {
177    	// инициализация фреймворка
178    	$pixie = new Pixie;
179    	$pixie->bootstrap(ROOT)->handle_http_request();
180    } catch (Exception $e) {
181    	header(SERVER_PROTOCOL . ' 404 Not Found');

Fatal error: Uncaught exception 'ErrorException' with message 'Cannot modify header information - headers already sent by (output started at /var/www/sailingart.ru/public_html/vendor/phpixie/core/classes/PHPixie/Debug.php:65)' in /var/www/sailingart.ru/public_html/index.php:181 Stack trace: #0 [internal function]: PHPixie\Debug->error_handler(2, 'Cannot modify h...', '/var/www/sailin...', 181, Array) #1 /var/www/sailingart.ru/public_html/index.php(181): header('HTTP/1.0 404 No...') #2 {main} thrown in /var/www/sailingart.ru/public_html/index.php on line 181