YUM 0.8-rc7, mysql Ver 14.14 Distrib 5.5.30 php 5.5, apache webserver 2.2.25
using standard testdrive application
when clicking on "Privacy Settings", the following error occurs:
– /Volumes/Static Backups/Dropbox/www/testdrive/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
YUM 0.8-rc7, mysql Ver 14.14 Distrib 5.5.30 php 5.5, apache webserver 2.2.25 using standard testdrive application when clicking on "Privacy Settings", the following error occurs:
PHP notice
Trying to get property of non-object
/Volumes/Static Backups/Dropbox/www/testdrive/protected/modules/profile/views/privacy/update.php(4)
01 <?php 02 $this->breadcrumbs=array( 03 Yum::t('Privacysettings')=>array('index'), 04 $model->user->username=>array( 05 '//user/user/view','id'=>$model->user_id), 06 Yum::t( 'Update'), 07 ); 08 09 $this->title = Yum::t('Privacy settings for {username}', array( 10 '{username}' => $model->user->username)); 11 12 ?> 13
15 <?php Yum::requiredFieldNote(); ?> 16
Stack Trace0
1
2
3
4
– /Volumes/Static Backups/Dropbox/www/testdrive/protected/modules/profile/controllers/YumPrivacysettingController.php(75): CController->render("/privacy/update", array("model" => YumPrivacysetting, "profile" => null)) 70 $this->render(Yum::module('profile')->privacySettingView,array( 71 'model'=>$model, 72 'profile'=> isset($model->user) && isset($model->user->profile) 73 ? $model->user->profile 74 : null 75 )); 76 } 77 78 }
5
6
7
8
9
10
11
12
13
14
15
16
17
– /Volumes/Static Backups/Dropbox/www/testdrive/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run();