🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Robert Valencia
    PLUS
    Robert Valencia
    Courses Plus Student 3,735 Points

    Uncaught Error: Call to a member function render() on null in index.php:9 Not sure what I’m doing wrong

    Posted April 1, 2018 10:44pm by Robert Valencia
    Robert Valencia
    Courses Plus Student 3,735 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Michael Lawinger
    Michael Lawinger
    33,581 Points

    Route index.php

    Posted February 21, 2017 3:16pm by Michael Lawinger
    Michael Lawinger
    33,581 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Alfredo Prince
    Alfredo Prince
    6,175 Points

    Should i have to add in ,function() use ($app)

    Posted September 27, 2016 8:52pm by Alfredo Prince
    Alfredo Prince
    6,175 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • krishna sapkak
    krishna sapkak
    1,330 Points

    not getting the solution for the error...

    Posted January 19, 2016 3:22am by krishna sapkak
    krishna sapkak
    1,330 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Routing in Slim, Task 1

    Posted December 12, 2015 2:30pm by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Nathan Tran
    Nathan Tran
    5,808 Points

    Hi I'm trying to solve this challenge, i guess I have got it right, yet i can't pass this one:

    Posted September 12, 2015 7:03pm by Nathan Tran
    Nathan Tran
    5,808 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Ellen Sun
    Ellen Sun
    1,605 Points

    What's wrong with my code?

    Posted September 2, 2015 2:21am by Ellen Sun
    Ellen Sun
    1,605 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Robbie Thomas
    Robbie Thomas
    31,093 Points

    Challenge 1 of 2

    Posted August 26, 2015 3:23pm by Robbie Thomas
    Robbie Thomas
    31,093 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    6 Answers

  • Preston Yeschick
    Preston Yeschick
    10,803 Points

    $app->get() function with given parameters not working

    Posted August 18, 2015 11:19pm by Preston Yeschick
    Preston Yeschick
    10,803 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    4 Answers

  • Shilpa Kothari
    Shilpa Kothari
    4,518 Points

    how to have the get route echo 'hello world'

    Posted August 6, 2015 5:29pm by Shilpa Kothari
    Shilpa Kothari
    4,518 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    2 Answers

  • Sajid Latif
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sajid Latif
    Full Stack JavaScript Techdegree Student 22,368 Points

    The 'get' route is not working for me with the SLIMphp

    Posted July 23, 2015 8:03am by Sajid Latif
    .a{fill-rule:evenodd;}techdegree
    Sajid Latif
    Full Stack JavaScript Techdegree Student 22,368 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    4 Answers

  • Albert Lemort
    Albert Lemort
    248 Points

    solution for challenge 1

    Posted July 14, 2015 7:22am by Albert Lemort
    Albert Lemort
    248 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    0 Answers

  • MUZ140683 Viniel Munjeri
    MUZ140683 Viniel Munjeri
    3,448 Points

    have the get route closure echo'Hello There'

    Posted July 9, 2015 7:46am by MUZ140683 Viniel Munjeri
    MUZ140683 Viniel Munjeri
    3,448 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    2 Answers

  • imad saci
    PLUS
    imad saci
    Courses Plus Student 173 Points

    please check my code and tell me where is the mistake

    Posted July 3, 2015 6:45am by imad saci
    imad saci
    Courses Plus Student 173 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Nicole Archambault
    Nicole Archambault
    27,853 Points

    Add a 'get' route to 'index.php'

    Posted June 30, 2015 11:20pm by Nicole Archambault
    Nicole Archambault
    27,853 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    3 Answers

  • MUZ140644 Golide Makhosi
    MUZ140644 Golide Makhosi
    3,738 Points

    web

    Posted June 12, 2015 4:42pm by MUZ140644 Golide Makhosi
    MUZ140644 Golide Makhosi
    3,738 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    0 Answers

  • Christopher Edrian Espiritu
    Christopher Edrian Espiritu
    11,635 Points

    Getting trouble with routing '/hello' to 'index.php', I think my code is right tried it on workspaces and is working.

    Posted June 10, 2015 6:28pm by Christopher Edrian Espiritu
    Christopher Edrian Espiritu
    11,635 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    0 Answers

  • daniwao
    daniwao
    13,125 Points

    GET route through SLIM PHP. Add a 'get' route '/hello' to index.php

    Posted June 8, 2015 6:17am by daniwao
    daniwao
    13,125 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Luis Brito
    Luis Brito
    24,527 Points

    I am stuck with task 2 of Building Websites with PHP Have the get route closure echo 'Hello There'

    Posted May 28, 2015 9:59pm by Luis Brito
    Luis Brito
    24,527 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    2 Answers

  • Aquilardo Caricari Cala
    PLUS
    Aquilardo Caricari Cala
    Courses Plus Student 99 Points

    How to solve this Question

    Posted May 25, 2015 5:12pm by Aquilardo Caricari Cala
    Aquilardo Caricari Cala
    Courses Plus Student 99 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

  • Eduardo Mejía
    Eduardo Mejía
    36,816 Points

    Code Challenge Task 1: Add a 'get' route '/hello' to index.php

    Posted May 24, 2015 6:29pm by Eduardo Mejía
    Eduardo Mejía
    36,816 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    2 Answers

  • John Halbert
    John Halbert
    12,922 Points

    Adding a get route for '/hello' won't pass

    Posted May 23, 2015 1:44am by John Halbert
    John Halbert
    12,922 Points
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.