You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Окей, завтра посмотрю. Сделаю логинг комментариев при конвертации, может получится еще какую-нибудь информацию извлечь по ошибке. Такое ощущение, что либо комментарий "какой то не такой" попадает на вход функции NestedSetBehavior->appendTo();
andrey@andrey-pc:/var/www/yupe/protected$ php ./yiic ymigratetonestedsets
Checking for 'm130704_095200_comment_nestedsets' migration -> [OK]
Selecting models which contains comments -> [OK]
PHP Error[8]: Trying to get property of non-object
in file /var/www/yupe/protected/modules/yupe/extensions/nested-set-behavior/NestedSetBehavior.php at line 325
#0 unknown(0): NestedSetBehavior->appendTo()
#1 /var/www/yupe/framework/base/CComponent.php(261): call_user_func_array()
#2 /var/www/yupe/framework/db/ar/CActiveRecord.php(227): Comment->__call()
#3 /var/www/yupe/protected/commands/YMigrateToNestedSetsCommand.php(154): Comment->__call()
#4 /var/www/yupe/protected/commands/YMigrateToNestedSetsCommand.php(154): Comment->appendTo()
#5 /var/www/yupe/protected/commands/YMigrateToNestedSetsCommand.php(28): YMigrateToNestedSetsCommand->_buildNestedSetsTree()
#6 unknown(0): YMigrateToNestedSetsCommand->actionIndex()
#7 /var/www/yupe/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#8 /var/www/yupe/framework/console/CConsoleCommandRunner.php(71): YMigrateToNestedSetsCommand->run()
#9 /var/www/yupe/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#10 /var/www/yupe/framework/base/CApplication.php(180): CConsoleApplication->processRequest()
#11 /var/www/yupe/framework/yiic.php(33): CConsoleApplication->run()
#12 /var/www/yupe/protected/yiic.php(7): require_once()
#13 /var/www/yupe/protected/yiic(4): require_once()
The text was updated successfully, but these errors were encountered: