claytical / Queso-Multisite

Gameful Classroom Management System
Other
9 stars 3 forks source link

Error #55

Closed matera closed 10 years ago

matera commented 10 years ago

Once logged in after error, they see the course but the quest button counts all available quests. Then when they click it they get this error.

Unhandled Exception

Message:

Undefined offset: 138 Location:

/home/claytical/webapps/queso_multi/application/controllers/quest.php on line 489 Stack Trace:

0 /home/claytical/webapps/queso_multi/laravel/laravel.php(42): Laravel\Error::native(8, 'Undefined offse...', '/home/claytical...', 489)

1 /home/claytical/webapps/queso_multi/application/controllers/quest.php(489): Laravel{closure}(8, 'Undefined offse...', '/home/claytical...', 489, Array)

2 [internal function]: Quest_Controller->get_available()

3 /home/claytical/webapps/queso_multi/laravel/routing/controller.php(325): call_user_func_array(Array, Array)

4 /home/claytical/webapps/queso_multi/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('available', Array)

5 /home/claytical/webapps/queso_multi/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('available', Array)

6 /home/claytical/webapps/queso_multi/laravel/routing/route.php(153): Laravel\Routing\Controller::call('quest@available', Array)

7 /home/claytical/webapps/queso_multi/laravel/routing/route.php(124): Laravel\Routing\Route->response()

8 /home/claytical/webapps/queso_multi/laravel/laravel.php(167): Laravel\Routing\Route->call()

9 /home/claytical/webapps/queso_multi/public/index.php(34): require('/home/claytical...')

10 {main}

matera commented 10 years ago

Same error as above:

screen shot 2014-03-10 at 3 59 40 pm

claytical commented 10 years ago

Once they login "after an error" do you mean there's an error beforehand and then when that happens they get this error clicking on available quests?

claytical commented 10 years ago

this was caused by deleting a skill that was assigned as a lock. I've updated the skill deletion routine to delete locks associated with the skill.