WebsiteBaker Support (2.12.x) > General Help & Support

User managment error

(1/1)

rumen:
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: ---There was an uncatched exception
Call to private database::__construct() from invalid context
in line (88) of (/modules/users_manage/tool.php):
--- End code ---

Line 88:


--- Code: ---$database = new $database();
--- End code ---


Regards,

Rumen

dbs:
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.

rumen:
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!

Rumen 

Navigation

[0] Message Index

Go to full version