⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Your first CRUD with grocery CRUD is not working? I am Missing something



shahzad
  • profile picture
  • Member

Posted 12 March 2016 - 00:03 AM

Hi,

After making main controller and adding function employees when i go to the url and try to access employee method I receive the following error. Please note that main.php is working without employee method. I have made all changes in the database after creating the table employee. Any Suggestions?

 

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Main::$grocery_crud

Filename: controllers/main.php

Line Number: 21

Backtrace:

File: C:\wamp\www\Gcrud\application\controllers\main.php
Line: 21
Function: _error_handler

File: C:\wamp\www\Gcrud\index.php
Line: 292
Function: require_once