Skip to content

Instantly share code, notes, and snippets.

@slave2zeros
Created July 17, 2012 02:30
Show Gist options
  • Save slave2zeros/3126617 to your computer and use it in GitHub Desktop.
Save slave2zeros/3126617 to your computer and use it in GitHub Desktop.
Fatal error: Uncaught exception 'Doctrine_Record_Exception' with message 'Couldn't call Doctrine_Core::set(), second argument should be an instance of Doctrine_Collection when setting one-to-many references.' in /Users/ryangallagher/Sites/eduguide/system/application/helpers/doctrine/Doctrine/Record.php on line 1582
( ! ) Doctrine_Record_Exception: Couldn't call Doctrine_Core::set(), second argument should be an instance of Doctrine_Collection when setting one-to-many references. in /Users/ryangallagher/Sites/eduguide/system/application/helpers/doctrine/Doctrine/Record.php on line 1582
Call Stack
# Time Memory Function Location
1 0.0002 683968 {main}( ) ../index.php:0
2 0.0007 776136 require_once( '/Users/ryangallagher/Sites/eduguide/system/core/CodeIgniter.php' ) ../index.php:201
3 0.1666 18101680 call_user_func_array ( ) ../CodeIgniter.php:339
4 0.1666 18101816 Paths->details( ) ../CodeIgniter.php:339
5 0.4102 24750584 MX_Loader->view( ) ../paths.php:66
6 0.4103 24753432 MX_Loader->_ci_load( ) ../Loader.php:265
7 0.4107 24848120 include( '/Users/ryangallagher/Sites/eduguide/system/application/views/paths/details.php' ) ../Loader.php:315
8 0.4147 24855304 MX_Loader->view( ) ../details.php:133
9 0.4147 24856936 MX_Loader->_ci_load( ) ../Loader.php:265
10 0.4149 24920376 include( '/Users/ryangallagher/Sites/eduguide/system/application/views/common/_board.php' ) ../Loader.php:315
11 0.4149 24920896 MX_Loader->view( ) ../_board.php:14
12 0.4149 24923464 MX_Loader->_ci_load( ) ../Loader.php:265
13 0.4151 24998536 include( '/Users/ryangallagher/Sites/eduguide/system/application/views/boards/board.php' ) ../Loader.php:315
14 0.4484 25299560 MX_Loader->view( ) ../board.php:30
15 0.4484 25302248 MX_Loader->_ci_load( ) ../Loader.php:265
16 0.4492 25443320 include( '/Users/ryangallagher/Sites/eduguide/system/application/views/boards/post.php' ) ../Loader.php:315
17 0.4496 25542360 forward_static_call_array ( ) ../post.php:33
18 0.4496 25542440 Modules::run( ) ../post.php:33
19 0.4497 25586712 call_user_func_array ( ) ../Modules.php:70
20 0.4497 25586784 Paths_api->getPathInstanceGoal( ) ../Modules.php:70
21 0.4498 25586640 PathInstanceGoal::getPathInstanceGoal( ) ../paths_api.php:142
22 0.4500 25603944 Doctrine_Query->fetchOne( ) ../PathInstanceGoal.php:159
23 0.4500 25604336 Doctrine_Query_Abstract->execute( ) ../Query.php:285
24 0.4929 27470576 Doctrine_Hydrator->hydrateResultSet( ) ../Abstract.php:1036
25 0.4929 27472304 Doctrine_Hydrator_Graph->hydrateResultSet( ) ../Hydrator.php:148
26 0.5037 27882288 Doctrine_Access->offsetSet( ) ../Hydrator.php:238
27 0.5037 27882368 Doctrine_Collection->add( ) ../Access.php:131
28 0.5044 27893488 Doctrine_Access->__set( ) ../Access.php:463
29 0.5044 27893488 Doctrine_Record->set( ) ../Access.php:60
30 0.5044 27893712 Doctrine_Record->_set( ) ../Record.php:1456
31 0.5044 27893712 Doctrine_Record->coreSetRelated( ) ../Record.php:1499
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment