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.47k stars 2.8k forks source link

Bug: read property "date" on string - Fournisseurs #31287

Open mikygee opened 1 month ago

mikygee commented 1 month ago

Bug

Version: 20.0.0

Hello, When I try to configure the "Fournisseurs" module I get a warning image

I use PHP 8.1.29

Regards

Dolibarr Version

20.0.0

Environment PHP

8.1.29

Environment Database

No response

Steps to reproduce the behavior and expected behavior

Fresh install and go configure Fournisseurs image

Attached files

No response

mikygee commented 1 month ago

I looks like I have the same type of error on another thumbnail image

lemathou commented 14 hours ago

Fixed in PR https://github.com/Dolibarr/dolibarr/pull/31878

mikygee commented 12 hours ago

Merci

mikygee commented 11 hours ago

I've modified the code on my 20.0.1 installation to implement your fix and it fixes the problem.