- Rule not working ? Check it is enabled in the rules manager !
- If you like AltaUserPoints , Thank you for rating it at the JED:
extensions.joomla.org/extensions/extensi...stems/altauserpoints

Error code when deleting a users medal

More
5 years 2 months ago #42988 by mlines
When deleting a medal from a users profile I get

"0 Using $this when not in object context"

The medal is deleted ok

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

More
5 years 2 months ago #42991 by nordmograph
Hello,
Thanks for reporting. What is the page where you got this?
(url)

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
5 years 2 months ago #42992 by mlines
Its in the Altauserpoints Control Panel.

In USERS

Selected a specific user

In the Award Medals Tab

Deleting a previously awarded medal using the delete button

A typical URL would be www.bigjimny.com/administrator/index.php...ts&task=edituser&cid []=258

Martin

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

More
4 years 3 months ago - 4 years 3 months ago #44003 by biinng
I have the same Problem.

Warning: Spoiler!


If I want to delete a medal I get the error message:
Es ist ein Fehler aufgetreten!

0 Using $this when not in object context
/xxx/libraries/src/MVC/Controller/BaseController.php:1091

Call stack

# Function -- Location
1 () -- JROOT/libraries/src/MVC/Controller/BaseController.php:1091
2 Joomla\CMS\MVC\Controller\BaseController::setRedirect() -- JROOT/administrator/components/com_altauserpoints/models/statistics.php:382
3 altauserpointsModelStatistics->_delete_medaluser() -- JROOT/administrator/components/com_altauserpoints/controller.php:359
4 altauserpointsController->removemedaluser() -- JROOT/libraries/src/MVC/Controller/BaseController.php:710
5 Joomla\CMS\MVC\Controller\BaseController->execute() -- JROOT/administrator/components/com_altauserpoints/altauserpoints.php:31
6 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
7 Joomla\CMS\Component\ComponentHelper::executeComponent() -- JROOT/libraries/src/Component/ComponentHelper.php:377
8 Joomla\CMS\Component\ComponentHelper::renderComponent() -- JROOT/libraries/src/Application/AdministratorApplication.php:101
9 Joomla\CMS\Application\AdministratorApplication->dispatch() -- JROOT/libraries/src/Application/AdministratorApplication.php:159
10 Joomla\CMS\Application\AdministratorApplication->doExecute() -- JROOT/libraries/src/Application/CMSApplication.php:196
11 Joomla\CMS\Application\CMSApplication->execute() -- JROOT/administrator/index.php:51

Got error 'PHP message: PHP Deprecated: Non-static method Joomla\\CMS\\MVC\\Controller\\BaseController::setRedirect() should not be called statically in /xxxx/administrator/components/com_altauserpoints/models/statistics.php on line 382', referer: https://xxxxx/administrator/index.php?option=com_altauserpoints&task=edituser&cid[]=6587
Last edit: 4 years 3 months ago by biinng.

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

More
4 years 3 months ago #44012 by nordmograph
Hello,

Are you using latest version?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
4 years 3 months ago - 4 years 3 months ago #44014 by biinng
Hey nordmograph,

AltaUserPoints version: Installed version: 1.1.13
Last edit: 4 years 3 months ago by biinng.

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

Time to create page: 0.380 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.