Exception [ Error ]:
Can`t get pages by alias = [contact-us, full_check, contacts_page]! error: the resulting list is not complete
279 if (count($arrAliasNames) != count($arrPages)) { 280 throw new \Exception("the resulting list is not complete"); 281 } 282 283 } catch (\Exception $e) { 284 throw new \Exception("Can`t get pages by alias = [".implode(', ', $arrAliasNames)."]! error: ".$e->getMessage()); 285 } 286 287 return array_values($arrPages); 288 } 289
122$desktop_menu = $page->get_menu('TOP_DESKTOP'); 123$mobile_menu = $page->get_menu('TOP_MOBILE'); 124 125 126 127list($contact, $fullCheck, $contacts_page) = $page->getByArrayAlias(['contact-us', 'full_check', 'contacts_page']); 128?> 129<header id="header" class="fix<?= $page->alias != 'startpage' ? ' v2' : ''; ?>"> 130 <section class="container"> 131 <a id="logo" href="<?= $startpage->full_link(); ?>" 132 title="<?= $g("Regimark - регистрация и проверка товарного знака в России")['noedit']; ?>"><img
239 ob_start(); 240 241 try 242 { 243 // Load the view within the current scope 244 include $__file_name; 245 } 246 catch (\Exception $e) 247 { 248 // Delete the output buffer 249 ob_end_clean();
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
646 { 647 throw new \FuelException('You must set the file to use within your view before rendering'); 648 } 649 650 // combine local and global data and capture the output 651 $return = $this->process_file(); 652 653 // restore the current language setting 654 $this->active_language and \Config::set('language', $current_language); 655 656 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
377 * 378 * @return string 379 */ 380 public function __toString() 381 { 382 return (string) $this->body; 383 } 384}
624 * 625 * @return string the response 626 */ 627 public function __toString() 628 { 629 return (string) $this->response; 630 } 631}
377 * 378 * @return string 379 */ 380 public function __toString() 381 { 382 return (string) $this->body; 383 } 384}
118 $response = $routerequest('_500_', $e); 119} 120 121// This will add the execution time and memory usage to the output. 122// Comment this out if you don't use it. 123$response->body((string) $response); 124if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false) 125{ 126 $bm = Profiler::app_total(); 127 $response->body( 128 str_replace(