Closed jespersgaard closed 10 years ago
great thanks, looking forward to all the features you plan on implementing
rgds Martin
When you have this error?
btw for now you can change this file C:\wamp\www\SlimBlog\vendor\slim\views\Slim\Views\Twig.php
at line 84 like this:
public function render($template, $data=null)
{
$env = $this->getInstance();
$parser = $env->loadTemplate($template);
return $parser->render($this->all(), $data); }
i have the error on every page. thanks I will try that :-)
EDIT: that worked :-)
Ok, say if work fine :)
hello
i get this error: ( ! ) Strict standards: Declaration of Slim\Views\Twig::render() should be compatible with Slim\View::render($template, $data = NULL) in C:\wamp\www\SlimBlog\vendor\slim\views\Slim\Views\Twig.php on line 46 Call Stack
Time Memory Function Location
1 0.0016 252064 {main}( ) ..\index.php:0 2 0.0265 701832 Composer\Autoload\ClassLoader->loadClass( ) ..\index.php:0 3 0.0281 719976 include( 'C:\wamp\www\SlimBlog\vendor\slim\views\Slim\Views\Twig.php' ) ..\ClassLoader.php:185