YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.71k stars 742 forks source link

[warning] Creation of dynamic property App\Fields\File::$validateAllowedFormat is deprecated in /opt/crm7/app/Fields/File.php, line 253 #17462

Closed diderich closed 2 weeks ago

diderich commented 4 months ago

🐞 bug report

⁉️ Describe the bug

When using php 8.3 the following warning is shown

Creation of dynamic property App\Fields\File::$validateAllowedFormat is deprecated in /opt/crm7/app/Fields/File.php, line 253

is triggered by

foreach ($param as $key => $value) {
    $instance->{$key} = $value;
}

🔥 How to trigger the error

Steps to reproduce the behavior:

  1. Run mail scanner on an e-mail that includes attachements
  2. See error

🌍 Your Environment

Environment Version / Name
YetiForce 7.0.1
PHP 8.3.7
rskrzypczak commented 2 weeks ago

Thanks! Fixed in YF7.0.2