Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Thankful People] PHP error on Enable

Latest 2.0.18b1 Vanilla, this error encountered on attempt to enable Thankful People

( ! ) Fatal error: Class 'ThanksLogModel' not found in D:\xampp\htdocs\vanilla2\plugins\ThankfulPeople\class.thankfulpeople.plugin.php on line 223

Comments

  • Open
    vanilla2\plugins\ThankfulPeople\class.thankfulpeople.plugin.php
    and see what the class declaration looks like.
    It should be:
    Class ThanksLogModel {

    There was an error rendering this rich post.

  • SS ✭✭
    Hi guys.
    Tim said that there is a new autoloader in 2.0.18b1. Maybe that's the problem.
    I didn't see this new autoloader and didn't test it.
  • I managed to get it to work by including this in the second line of class.thankfulpeople.plugin.php: include("class.thankslogmodel.php");


    Not sure if it's the proper way to do it, but it works.
  • @VasaVasori Thanks, that seems to have done the trick!
  • edited October 2011
    So what and where should i add/edit code to make this work?

    Fatal error: Call to undefined method Gdn::Controller() in /Vanilla/plugins/ThankfulPeople/class.thankfulpeople.plugin.php on line 268
Sign In or Register to comment.