-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
view parser throws InvalidArgumentException #704
Comments
I'll need to see a little more code, because it you do what you've shown:
you get an error because render requires a string value in the first parameter. |
Thanks for your prompt reply. I don't even call the render() method. It gets called by CI I think the source code of the method in the controller is the following:
the attached file is the "view-source" of the page because the backtrace does not get rendered. |
CI doesn't automatically call the render method, so that would be in your code somewhere. Maybe a parent controller? |
Seems to be called by
|
I have similar problem. I have posted details on forum |
@gustavojm Doh! Silly me. Forgot the toolbar used the Parser. Looking into it. |
$this->parser = \Config\Services::parser();
render() method called automatically with $file = /var/www/codeigniter4/application/Views/_database.tpl.php
throws InvalidArgumentException on line 147 of Parser.php
The text was updated successfully, but these errors were encountered: