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

Categories

In this Discussion

Who's Online 10

CurtisOdenmcdjmcdjpatsjvsarowlwp +6 guests

Fatal error

This discussion is related to the My Profile addon.
Upon enabling this plugin if I try to enter the profile page the page throws a Fatal Error below

Fatal error: Class 'Format' not found in /home/darkz/public_html/forum/plugins/MyProfile/default.php on line 23

I am unsure what is needed to fix this, as I am unfamiliar to Vanilla's plugins code. If i am missing something that this plugin is dependent on or something like that please let me know.
The piece of code that is giving my forum trouble is

public function ProfileController_AddProfileTabs_handler(&$Sender) {
$Sender->AddProfileTab(Translate("MyProfile_ProfileTab"),
"/profile/myprofile/view/".$Sender->User->UserID."/".Format::Url($Sender->User->Name));
}

Comments

  • Posts: 17
    scary! anyone knows how to resovle this? where do we disable it?
  • Actually the way to escape this error is to delete the plugin. Vanilla will automatically fix the install.
Sign In or Register to comment.