Notice: Undefined index: search in /var/www/updecor_ru/data/www/updecor.ru/search.php on line 16

ErrorException:     Cannot modify header information - headers already sent by (output started at /var/www/updecor_ru/data/www/updecor.ru/search.php:16)

Error with code 0 in '/vendor/bootstrap.php' around line 21:

   13	
   14	$iconfig = new \Config('igrotime');
   15	\Message::$messageSenderName  = $iconfig->get('site');
   16	\Message::$messageSenderEmail = $iconfig->get('site_email');
   17	
   18	
   19	function sendNoCacheHeaders(){
   20	    // Date in the past
 >>21	    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
   22	    // always modified
   23	    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
   24	    // HTTP/1.1
   25	    header("Cache-Control: no-store, no-cache, must-revalidate");
   26	    header("Cache-Control: post-check=0, pre-check=0", false);
   27	    // HTTP/1.0
   28	    header("Pragma: no-cache");
   29	}

Call stack

#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify h...', '/var/www/updeco...', 21, Array)
#1 /var/www/updecor_ru/data/www/updecor.ru/vendor/bootstrap.php(21): header('Expires: Mon, 2...')
#2 /var/www/updecor_ru/data/www/updecor.ru/app.php(26): sendNoCacheHeaders()
#3 /var/www/updecor_ru/data/www/updecor.ru/search.php(27): require('/var/www/updeco...')
#4 {main}

Request

array (
  'q' => '',
)

Server

array (
  'REQUEST_URI' => '/search/simple/',
  'REQUEST_METHOD' => 'GET',
  'REMOTE_ADDR' => '216.73.216.174',
  'SERVER_NAME' => 'updecor.ru',
  'HTTP_REFERER' => 'http://www.updecor.ru/search.php',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
  'REQUEST_TIME' => '28.01.2026 12:27',
)