The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Set template directory using Slim Framework 3

Viktor's Avatar


25 Dec, 2015 09:46 AM

Using Slim Framework 2 you could set the template directory using this code:

// Views
$view = $app->view();
How can I do this using Slim Framework 3?

Currently I'm getting this error:
Fatal error: Call to a member function setTemplateDirectory() on null

Does anybody know how to do this in Slim Framework 3?

  1. 1 Posted by Jimmy on 18 Feb, 2017 04:49 AM

    Jimmy's Avatar

    Great with the several steps on how you can get the Now, allow's get started from the basics for Login to Snapchat Fine.

  2. 2 Posted by dipika on 04 Apr, 2017 07:36 AM

    dipika's Avatar

    Open the web browser on your phone. It is typically in the Downloads folder as it has actually.

  3. 3 Posted by ashu on 07 Jun, 2017 09:48 AM

    ashu's Avatar

    record abuseresults for unlimited sources in behalf of facebook. USPS or any type of government Agency. Access to the links.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac