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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

New No-Code Track! 🚀start learning today!

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

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
    • 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
  • 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
      • • Vibe Coding
    • Showing results for:
    • PHP
    • Building Websites with PHP
    • Slim Basics & Twig Templates
    • Routing in Slim
    • Close
  • 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 on Apr 1, 2018 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 on Feb 21, 2017 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 on Sep 27, 2016 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 on Jan 19, 2016 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 on Dec 12, 2015 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 on Sep 12, 2015 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 on Sep 2, 2015 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 on Aug 26, 2015 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 on Aug 18, 2015 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 on Aug 6, 2015 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 on Jul 23, 2015 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 on Jul 14, 2015 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 on Jul 9, 2015 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 on Jul 3, 2015 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 on Jun 30, 2015 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 on Jun 12, 2015 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 on Jun 10, 2015 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 on Jun 8, 2015 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 on May 28, 2015 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 on May 25, 2015 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 on May 24, 2015 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 on May 23, 2015 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.