ErrorException [ Warning ]: DOMDocument::loadHTML(): AttValue: " expected in Entity, line: 3

APPPATH/views/index.php [ 70 ]

65 //                if ($start && $end)
66 //                    $text = substr_replace($text, '', $start, $end - $start + strlen('<!--[endif] -->'));
67                                     $doc = new DOMDocument('1.0', 'utf-8');
68                                     ;
69 
70                                     $doc->loadHTML('<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />' . $text);
71                                     $doc->substituteEntities = TRUE;
72                                     $elements = $doc->getElementsByTagName('img');
73                                     $i = $elements->length - 1;
74                                     $element = $doc->createElement('a');
75                                     $element->setAttribute('class', 'img');
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/index.php [ 70 ] » DOMDocument->loadHTML(arguments)

  3. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  4. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  6. {PHP internal call} » Kohana_View->__toString()

  7. MODPATH/libraries/classes/controller/layout.php [ 91 ] » implode(arguments)

  8. {PHP internal call} » Controller_Layout->after()

  9. SYSPATH/classes/kohana/request.php [ 1049 ] » ReflectionMethod->invoke(arguments)

  10. MODPATH/hitlogger/classes/hitlogger/request.php [ 29 ] » Kohana_Request->execute()

  11. APPPATH/bootstrap.php [ 199 ] » HitLogger_Request->execute()

  12. DOCROOT/index.php [ 144 ] » require(arguments)

Environment

Szkoła Podstawowa imienia Marii Kownackiej w Skułach - Osiągniecia - Konkursy szkolne