Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

FATAL ERROR IN: AboutMe.ProfileController_EditMe_Create();

clethrillclethrill
edited December 2011 in Questions
This discussion is related to the AboutMe addon.

"Undefined property: ProfileController::$UserID" LOCATION: /var/www/plugins/AboutMe/default.php

> 76: public function ProfileController_EditMe_Create(&$Sender, $params) {
> 77:    $this->UserID = ArrayValue(0, $Sender->RequestArgs, '');
> 78:    $this->UserName = ArrayValue(1, $Sender->RequestArgs, '');
>>> 79:    $Sender->GetUserInfo($Sender->UserID, $Sender->UserName);
> 80:    // change this to use a different css stylesheet i.e. from am.default_theme.css to am.realgamerstheme.css
> 81:    $Sender->AddCssFile('/plugins/AboutMe/design/am.default_theme.css');
> 82: 
> 83:    if (!is_numeric($this->UserID)) {

It works fine on my localhost, but not on the live site. I then tried using the non-modified version downloaded straight from the site and it gets the same error.

Tagged:

Best Answer

Answers

Sign In or Register to comment.