Author Topic: User managment error  (Read 1901 times)

Offline rumen

  • Posts: 417
User managment error
« on: March 11, 2019, 09:34:27 AM »
I got user management module error. What's wrong? Very strange, but I don't see the module in the uninstall list, but I see it in install list.

The error is:

Code: [Select]
There was an uncatched exception
Call to private database::__construct() from invalid context
in line (88) of (/modules/users_manage/tool.php):

Line 88:

Code: [Select]
$database = new $database();



Offline dbs

  • Betatester
  • **
  • Posts: 8271
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: User managment error
« Reply #1 on: March 11, 2019, 09:43:59 AM »
Hi, never seen this module. Seems very old. From where you have it?
Line 88 you can comment out or delete.

Modules without a uninstall.php you can't uninstall. Put a empty uninstall.php into the module. Reload modules.

Offline rumen

  • Posts: 417
Re: User managment error
« Reply #2 on: March 11, 2019, 11:33:20 AM »
Thank you very much. It works now. Yes it is very old module. Where I found it ... I don't remember I have one folder with modules and I take whatever module I need from there. Collected with years ...

Thanks a lot again!