Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.45k stars 2.79k forks source link

Fatal error on update #26507

Open sebastienserre opened 1 year ago

sebastienserre commented 1 year ago

Bug

Hello,

I'm upgrading to Dolibarr 18.0.3 and occurs this fatal error:

[Wed Nov 08 13:29:17.080494 2023] [proxy_fcgi:error] [pid 2557226:tid 139695284631296] [client 82.6078] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Attempt to assign property "enabled" on null in /htdocs/install/inc.php:342\nStack trace:\n#0 /htdocs/install/inc.php(117): conf()\n#1 /htdocs/install/index.php(26): include_once('...')\n#2 {main}\n  thrown in /home/seb/compta.thivinfo.com/htdocs/install/inc.php on line 342

Can someone help ?

Regards

Environment Version

18.0.3

Environment OS

Debian

Environment Web server

No response

Environment PHP

PHP8.1

Environment Database

No response

Environment URL(s)

/install/index.php

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

alexandre-janniaux commented 11 months ago

Which version did you start the upgrade from? Is there any special setup on you end that would help reproduce the issue?