Fatal error: Call to undefined function fuel_nav()

edited April 2016 in News & Announcements
I am using the latest version of fuel, I created a simple "Controller Page - about/contact" according to the manual. But I got
Fatal error: Call to undefined function fuel_nav() in MY_PATH\fuel\fuel\application\views\_variables\global.php on line 9

These codes are copied from manual, the fuel_nav() is auto loaded, why it can not be found?

class About extends CI_Controller {

function __construct()

function contact()
// set your variables
$vars = array('page_title' => 'Contact : My Website');

//... form code goes here
$this->fuel->pages->render('about/contact', $vars);



  • edited 11:28AM
    BTW, the Opt-in view works perfect, So my fuel is installed correctly.
  • edited 11:28AM
    The error is likely generated in the view? Is that what the full error message says? What's that code look like?
  • edited April 2016

    Sorry, man. It's my fault, I made a stupid mistake when I play around with fuel. I change the controller name, then I forgot to update it. >.<

    Thank you.
Sign In or Register to comment.