Skip to Content Skip to Menu

Fatal Error

14 years 10 months ago #122111 by mariealline
Fatal Error was created by mariealline
Hi there again slabbi! I am having a problem that I am trying to resolve. I am using PUArcade on my site and AUP. I have a plugin that is supposed to award points to a user when they get the high score in a game but instead of saving the scores and awarding the points and sending a notice to uddeim, I get this error. "Fatal error: Using $this when not in object context in /home/marieall/public_html/components/com_alphauserpoints/helpers/uddeim.api.php on line 105"

No one seems able to tell me what direction to go in with this problem, so as a last resort I am asking you what the problem could be since the issue seems to be with the uddeim.api.php. I haven't been able to solve this problem and have had it for awhile.

Thank you,
Marie Alline

Post edited by: mariealline, at: 2010/01/19 08:01

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 10 months ago #122116 by slabbi
Replied by slabbi on topic Re:Fatal Error
There is a small bug in the API that is delivered with AUP. You can download the current version from the trunk (see sticky in this forum) and overwrite the old file with the new one.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

14 years 10 months ago #122123 by mariealline
Replied by mariealline on topic Re:Fatal Error
You mean the one from the uddeim package? I did that and I am still getting the same error. It didn't fix it for some reason and yes, I did install all new files. I backed up and deleted the old files and uploaded all new ones. I'm wondering if there is something else going on.

Marie Alline

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 10 months ago #122124 by slabbi
Replied by slabbi on topic Re:Fatal Error
AUP uses a copy of uddeim.api.php. Please update
/home/marieall/public_html/components/com_alphauserpoints/helpers/uddeim.api.php

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

14 years 10 months ago #122125 by mariealline
Replied by mariealline on topic Re:Fatal Error
I've done that. I've tried with the latest version from the AUP package, I tried downloading the latest version from the trunk and also tried the version from the latest package of uddeim and I get the exact same error. I don't know what else to do.... :(

Thank you,
Marie

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 10 months ago #122127 by slabbi
Replied by slabbi on topic Re:Fatal Error
Maybe AUP uses the API incorrectly. Can you check if AUP calls uddeIM API like "uddeIMAPI :: xxxxx()"?

[code:1]class TestClass {
var $test;

function testMethod() {
$this->test = 'test';
}
}

TestClass::testMethod(); // Error [/code:1]

If so then the AUP code must be fixed.

Post edited by: slabbi, at: 2010/01/19 11:21

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum