dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

Bug: Adding a product consisting of a kit to a kit causes fatal error in php 8.2 and only warning in php 7.4

Open kupfair opened this issue 1 year ago • 1 comments

Instructions

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

  • replace the bracket enclosed texts with meaningful information
  • remove any unused sub-section

Bug

[Short description]

Environment

  • Version: 18.0.2
  • OS: Linux
  • Web server: Apache
  • PHP: fpm-fcgi 8.2.9
  • Database: MySQL or MariaDB 10.4.25-MariaDB-1:10.4.25+maria~stretch-log
  • URL(s): /product/composition/card.php?id=4096

Expected and actual behavior

Our products consist of kits of kits. However, adding kits to kits sometimes causes a fatal error (php 8.2) or at least warnings (php 7.4) [Verbose description]

Steps to reproduce the behavior

[Verbose description]

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

[Files]

Report

in php 8 2 in php 8 2

kupfair avatar Oct 18 '23 12:10 kupfair