Error Message on Login after Manual Installation on Win8.1 (x64)

After successfully installing the manual version from the zip file, I get multiple warnings on undefined properties (see output below) before the login screen, and when I login with the username and password I get the Message: Error in some triggers USER_LOGIN or in some hooks afterLogin.

Tried different Dolibarr versions but I get the same result.
Any input is welcome. Anybody with the same or similar problem.

localhost/dolibarr12/admin/index.php?mainmenu=home

Warning : Undefined property: stdClass::$COMPANY_SHOW_ADDRESS_SELECTLIST in C:\xampp\htdocs\dolibarr12\societe\class\societe.class.php on line 741

Warning : Undefined property: stdClass::$MAIN_HTTP_CONTENT_SECURITY_POLICY in C:\xampp\htdocs\dolibarr12\main.inc.php on line 1131

Warning : Undefined property: stdClass::$MAIN_IHM_PARAMS_REV in C:\xampp\htdocs\dolibarr12\main.inc.php on line 1255

localhost/dolibarr12/admin/index.php

Warning : Undefined property: stdClass::$COMPANY_SHOW_ADDRESS_SELECTLIST in C:\xampp\htdocs\dolibarr12\societe\class\societe.class.php on line 741

Warning : Undefined property: stdClass::$MAIN_INFO_SOCIETE_NOM in C:\xampp\htdocs\dolibarr12\main.inc.php on line 782
Dolibarr has detected a technical error.
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to ‘1’ to remove such notices):
Date: 20210112150056
Dolibarr: 12.0.3 - https://www.dolibarr.org
Level of features: 0
PHP: 8.0.0
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0
OS: Windows NT WINPC 6.3 build 9600 (Windows 8.1 Professional Edition) AMD64
UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36

Requested URL: /dolibarr12/admin/index.php?mainmenu=home&leftmenu=setup&username=admin
Referer: http://localhost/dolibarr12/admin/index.php?mainmenu=home&leftmenu=setup&username=admin
Menu manager:

Modules/Applications: user
Database type manager: mysqli
Latest database access request error: No request in error
Return code for latest database access request error: No request in error
Information for latest database access request error: No request in error

Message: Error in some triggers USER_LOGIN or in some hooks afterLogin

Hi

i think you need to downgrade your php from 8 to 7.4 .
Just check the link below

2 Likes

It was the php version indeed. I downgraded the php version, and it worked like a charm.
Here’s a link how I did it Change PHP version

Thank you so much!