• I’ve written a php file, faq.php, that is in my /blog directory that reads my MySQL database and gets all my FAQ category posts. I’m trying to call get_sidebar() and get_footer() from this program (faq.php) but I’m getting the error:

    “Fatal error: Call to undefined function: get_sidebar() in /home/content/f/i/e/field4kids/html/blog/faq.php on line 92”

    What am I doing wrong? Do I need to add a path somewhere so the faq.php can find the function?

    Thanks for any help,
    Larry

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error: Call to undefined function: get_sidebar()’ is closed to new replies.