WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: rumen on March 11, 2019, 09:34:27 AM

Title: User managment error
Post by: rumen 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();

Regards,

Rumen
Title: Re: User managment error
Post by: dbs 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.
Title: Re: User managment error
Post by: rumen 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!

Rumen