<div class="contentContainer">
<div class="groupwrapper">
<p></p>
<li><?php echo '<a href="' . tep_href_link(FILENAME_NEWS, '', 'SSL') . '">' . NEWS . '</a>'; ?> </li>
<li><?php echo '<a href="' . tep_href_link(FILENAME_FLASHDESIGN, '', 'SSL') . '">' . SHAPE . '</a>'; ?> </li>
<p></p>
<li><?php echo '<a href="' . tep_href_link(FILENAME_WOMAN, '', 'SSL') . '">' .WOMEN . '</a>'; ?> </li>
<li><?php echo '<a href="' . tep_href_link(FILENAME_MEN, '', 'SSL') . '">' . MEN . '</a>'; ?> </li>
<li><?php echo '<a href="' . tep_href_link(FILENAME_CHILDREN, '', 'SSL') . '">' . CHILDREN . '</a>'; ?> </li>
$this->parents[$key] = null;
// attach the global variables
$parameters = array_replace($this->getGlobals(), $parameters);
// render
if (false === $content = $this->evaluate($storage, $parameters)) {
throw new \RuntimeException(sprintf('The template "%s" cannot be rendered.', $this->parser->parse($name)));
}
// decorator
if ($this->parents[$key]) {
protected function render(string $view, array $parameters = [], Response $response = null): Response
{
if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
@trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
No log messages
UndefinedFunctionException |
---|
Symfony\Component\Debug\Exception\UndefinedFunctionException: Attempted to call function "tep_href_link" from the global namespace. at public/_templates/_default/contents/sitemap.php:5 at include() (src/Resources/views/legacy/skeleton.html.php:21) at require('/home2/www/mybestshirt/kamashop_v2.0/src/Resources/views/legacy/skeleton.html.php') (vendor/symfony/templating/PhpEngine.php:147) at Symfony\Component\Templating\PhpEngine->evaluate() (vendor/symfony/templating/PhpEngine.php:76) at Symfony\Component\Templating\PhpEngine->render() (vendor/symfony/framework-bundle/Templating/TimedPhpEngine.php:46) at Symfony\Bundle\FrameworkBundle\Templating\TimedPhpEngine->render() (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render() (src/Controller/ContentController.php:43) at App\Controller\ContentController->show() (vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:25) |