Warning: strpos(): Empty needle

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/AppBundle/Controller/NoticiaController.php at line 556  -
    1.             $noticia->setTextoCompleto(html_entity_decode($noticia->getTextoCompleto()));
    2.         }
    3.         $s strip_tags(substr($noticia->getTextoCompleto(), 030));
    4.         $pos strpos($noticia->getTextoCompleto(), $s[0]);
    5.         if ($pos !== false) {
    6.             $noticia->setTextoCompleto(substr_replace($noticia->getTextoCompleto(), ""$posstrlen($s[0])));
    7.         }/*$noticia->setBajada(strip_tags($noticia->getBajada()))*/;
  2. at NoticiaController ->devuelveNoticiaHomeAction ('98628')
  3. at call_user_func_array (array(object(NoticiaController), 'devuelveNoticiaHomeAction'), array('98628'))
    in var/cache/prod/classes.php at line 4689  +
  4. at HttpKernel ->handleRaw (object(Request), 1)
    in var/cache/prod/classes.php at line 4644  +
  5. at HttpKernel ->handle (object(Request), 1, true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 168  +
  6. at Kernel ->handle (object(Request))
    in web/app.php at line 17  +

Logs  -

Stack Trace (Plain Text)  +