ErrorException [ Warning ]: Creating default object from empty value

APPPATH/classes/helper/image.php [ 85 ]

80         // Loop the images and add the raw img html tag to $post_images
81 
82         foreach ($image_matches as $image_match)
83         {
84             $post_image = '';
85             $post_image->html = $image_match[0];
86 
87             // If attributes have been requested get them and add them to the $post_image
88             if ($get_attrs == TRUE)
89             {
90                 preg_match_all('/\s+?(.+)="([^"]*)"/U', $image_match[0], $image_attr_matches, PREG_SET_ORDER);
  1. APPPATH/classes/helper/image.php [ 85 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/helper/image.php [ 58 ] » Helper_Image::get_images(arguments)

  3. APPPATH/views/article/view.php [ 63 ] » Helper_Image::loadImageFromText(arguments)

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

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

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

  7. APPPATH/views/template.php [ 111 ] » Kohana_View->__toString()

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

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

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

  11. APPPATH/bootstrap.php [ 611 ] » Kohana_View->__toString()

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

Environment