Yii Framework Forum: Query regarding the 6th chapter (3rd iteration) - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Query regarding the 6th chapter (3rd iteration) A stupid newbie question

#1 User is offline   MUZAMMIL_1 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 31-January 15

Posted 10 February 2015 - 07:54 AM

At the end of the 6th chapter, it instructs the readers to add 'pid' querystring with all the create, index and admin views. After I do so, I am getting error whenever I call update action. The error is,

"Fatal error: Call to a member function getUserOptions() on a non-object in C:\xampp\htdocs\yii_learn\protected\views\issue\_form.php on line 52"

If the _form.php file works fine with create view, wats wrong working with update view ? Also do we need to add pid querystring for the links for update and delete issues ? Please help, I am complete beginner in mvc and yii...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users