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.29k stars 2.74k forks source link

Bug: Warning: Undefined variable box_graph_propales_permonth.php on line 223 #23582

Closed fpav closed 1 year ago

fpav commented 1 year ago

Instructions

This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report. Please:

Bug

[Short description]

Warning highlighted after upgrading php to 8.0 version đź‘Ť

Warning: Undefined variable $fileurlnb in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/core/boxes/box_graph_propales_permonth.php on line 223

This disappear if I remove the bargraph for propales.

Environment

Expected and actual behavior

[Verbose description] I expected to have no issue. This occured after php upgrading of the server.

Steps to reproduce the behavior

[Verbose description]

Upgrade from 7.2 php to 8.0 php version.

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

[Files]

Report

fpav commented 1 year ago

Downgrade to 7.4 solve the issue