Code Context        {
            $user = $this->User->findByUsername($param);
            $id   = $user['User']['id'];
$param = null
$isRedirect = true
$user = array()
$this = object(UsersController) {
	paginate => array(
		'order' => 'User.id desc',
		'limit' => (int) 12
	)
	components => array(
		'Auth' => array(
			[maximum depth reached]
		),
		(int) 0 => 'Cookie',
		(int) 1 => 'Session',
		(int) 2 => 'RequestHandler',
		(int) 3 => 'Feeds',
		(int) 4 => 'Flash'
	)
	helpers => array(
		'Html' => array(
			[maximum depth reached]
		),
		(int) 0 => 'Text',
		'Form' => array(
			[maximum depth reached]
		),
		(int) 1 => 'Session',
		'Time' => array(
			[maximum depth reached]
		),
		(int) 2 => 'Moo',
		(int) 3 => 'Menu.Menu',
		(int) 4 => 'MooGMap',
		'Text' => array(
			[maximum depth reached]
		),
		(int) 5 => 'MooPeople',
		(int) 6 => 'MooTranslate',
		(int) 7 => 'MooPhoto',
		(int) 8 => 'MooTime',
		(int) 9 => 'MooActivity',
		(int) 10 => 'MooPopup',
		(int) 11 => 'MooRequirejs',
		(int) 12 => 'Minify.Minify',
		(int) 13 => 'Storage.Storage'
	)
	viewClass => 'Moo'
	check_subscription => true
	check_force_login => true
	name => 'Users'
	uses => array(
		(int) 0 => 'User',
		(int) 1 => 'Setting',
		(int) 2 => 'Language',
		(int) 3 => 'Theme',
		(int) 4 => 'CoreContent',
		(int) 5 => 'CoreBlock'
	)
	request => object(CakeRequest) {}
	response => object(CakeResponse) {}
	viewPath => 'Users'
	layoutPath => null
	viewVars => array(
		'is_profile_page' => true,
		'hide_like' => (int) 0,
		'hide_dislike' => '',
		'utz' => 'America/New_York',
		'uacos' => array(
			[maximum depth reached]
		),
		'uid' => null,
		'role_id' => (int) 3,
		'redirect_url' => 'aHR0cHM6Ly9sb3RsaXphcmRjaGF0bGluZS5jb20vdXNlcnMvdmlldw==',
		'cuser' => array([maximum depth reached]),
		'current_theme' => 'default',
		'site_rtl' => false,
		'site_langs' => array(
			[maximum depth reached]
		),
		'site_themes' => array(
			[maximum depth reached]
		),
		'mooFooter' => array(
			[maximum depth reached]
		),
		'mooHeader' => array(
			[maximum depth reached]
		),
		'mooPage' => array(
			[maximum depth reached]
		),
		'mooPageTitle' => 'Profile Page',
		'mooPageKeyword' => '',
		'mooPageDescription' => '',
		'accepted_cookie' => null,
		'appAccessToken' => '',
		'isMobile' => false,
		'file_max_upload' => '4000M'
	)
	view => 'view'
	layout => 'default'
	autoRender => true
	autoLayout => true
	Components => object(ComponentCollection) {}
	View => null
	ext => '.ctp'
	plugin => null
	cacheAction => false
	passedArgs => array()
	scaffold => false
	methods => array(
		(int) 1 => 'index',
		(int) 2 => 'ajax_browse',
		(int) 3 => 'login',
		(int) 4 => 'do_logout',
		(int) 5 => 'register',
		(int) 6 => 'register_app',
		(int) 7 => 'ajax_signup_step1',
		(int) 8 => 'ajax_signup_step2',
		(int) 9 => 'fb_register',
		(int) 10 => 'do_fb_register',
		(int) 11 => 'picture',
		(int) 12 => 'view',
		(int) 13 => '_canViewProfile',
		(int) 14 => 'ajax_profile',
		(int) 15 => 'ajax_info',
		(int) 16 => 'profile_user_friends',
		(int) 17 => 'ajax_albums',
		(int) 18 => 'ajax_avatar',
		(int) 19 => 'avatar',
		(int) 20 => 'ajax_cover',
		(int) 21 => 'profile',
		(int) 22 => 'email_settings',
		(int) 23 => 'notification_settings',
		(int) 24 => 'admin_ajax_check_save_profile',
		(int) 25 => 'ajax_save_profile',
		(int) 26 => 'password',
		(int) 27 => 'recover',
		(int) 28 => 'resetpass',
		(int) 29 => 'do_confirm',
		(int) 30 => 'ajax_username',
		(int) 31 => 'deactivate',
		(int) 32 => 'do_deactive',
		(int) 33 => 'request_deletion',
		(int) 34 => 'delete_account',
		(int) 35 => 'admin_feature',
		(int) 36 => 'admin_unfeature',
		(int) 37 => 'admin_index',
		(int) 38 => 'admin_edit',
		(int) 39 => 'admin_ajax_password',
		(int) 40 => 'admin_do_password',
		(int) 41 => 'admin_avatar',
		(int) 42 => 'admin_resend',
		(int) 43 => 'admin_delete_content',
		(int) 44 => 'admin_delete',
		(int) 45 => 'admin_manage',
		(int) 46 => 'online_user',
		(int) 47 => 'recently_joined',
		(int) 48 => 'featured_member',
		(int) 49 => 'friends',
		(int) 50 => 'mutual_friends',
		(int) 51 => 'member_login',
		(int) 52 => 'member_signup',
		(int) 53 => 'suggestions',
		(int) 54 => 'ajax_register',
		(int) 55 => 'getCustomField',
		(int) 56 => 'social_login',
		(int) 57 => 'getBirthday',
		(int) 58 => 'get_birthday_friend',
		(int) 59 => 'ajax_birthday_more',
		(int) 60 => 'do_get_json',
		(int) 61 => 'set_photo_as_cover',
		(int) 62 => 'set_photo_as_profile_picture',
		(int) 63 => 'tagging',
		(int) 64 => 'ajax_friend_added',
		(int) 65 => 'get_user_mention',
		(int) 66 => 'admin_login_as_user',
		(int) 67 => 'accept_cookie',
		(int) 68 => 'resend_validation',
		(int) 69 => 'profile_user_blocks',
		(int) 70 => '_filterData',
		(int) 71 => 'admin_create_user',
		(int) 72 => 'admin_export_user',
		(int) 73 => 'ajax_loadfields',
		(int) 74 => 'admin_ajax_loadfields',
		(int) 75 => 'getProfileType',
		(int) 76 => 'ajax_load_tooltip',
		(int) 77 => 'ajax_rotate',
		(int) 78 => 'activate',
		(int) 79 => 'update_profile_on_app',
		(int) 80 => 'request_review',
		(int) 81 => 'admin_lock_delete',
		(int) 82 => 'delele_all',
		(int) 84 => 'isApi',
		(int) 85 => 'isApp',
		(int) 86 => 'isAndroidApp',
		(int) 87 => 'isIOSApp',
		(int) 88 => 'initialize',
		(int) 89 => '_getUser',
		(int) 90 => '_getUserRoleId',
		(int) 91 => '_getUserRoleParams',
		(int) 92 => '_getSettings',
		(int) 93 => 'isAllowedPermissions',
		(int) 94 => '_checkPermission',
		(int) 95 => '_checkExistence',
		(int) 96 => '_showError',
		(int) 97 => '_jsonError',
		(int) 98 => '_validateData',
		(int) 99 => '_checkPrivacy',
		(int) 100 => '_logMeIn',
		(int) 101 => 'logout',
		(int) 102 => '_sendEmail',
		(int) 103 => 'currentUri',
		(int) 104 => 'doLoadingBlocks',
		(int) 107 => 'beforeMooViewRender',
		(int) 108 => 'setNgController',
		(int) 109 => 'get',
		(int) 110 => 'getPluginModel',
		(int) 111 => 'isModelInPlugin',
		(int) 114 => 'getGuest',
		(int) 115 => 'isBanned',
		(int) 117 => '_sendNotificationToMentionUser',
		(int) 118 => '_getUserIdInMention',
		(int) 119 => 'getBlockedUsers',
		(int) 120 => '_rotateImage',
		(int) 121 => '_getExtension',
		(int) 122 => 'getDescriptionForMeta',
		(int) 123 => 'getKeywordsForMeta',
		(int) 124 => 'throwErrorCodeException',
		(int) 125 => '_throwException',
		(int) 126 => '_getType'
	)
	modelClass => 'User'
	modelKey => 'user'
	validationErrors => null
	Widgets => object(WidgetCollection) {}
	Auth => object(AuthComponent) {}
	Cookie => object(CookieComponent) {}
	Session => object(SessionComponent) {}
	RequestHandler => object(RequestHandlerComponent) {}
	Feeds => object(FeedsComponent) {}
	Flash => object(FlashComponent) {}
	Setting => object(Setting) {}
	MooMail => object(MooMailComponent) {}
	Language => object(Language) {}
	Theme => object(Theme) {}
	theme => 'default'
	CoreContent => object(CoreContent) {}
	CoreBlock => object(CoreBlock) {}
	User => object(User) {}
	[protected] _responseClass => 'CakeResponse'
	[protected] _mergeParent => 'AppController'
	[protected] _eventManager => object(CakeEventManager) {}
}UsersController::view() - APP/Controller/UsersController.php, line 1047
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80