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.26k stars 2.73k forks source link

PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFullName() on null #30508

Open aazizmoussa opened 1 month ago

aazizmoussa commented 1 month ago

Bug

Hello , I try to send email throw the employes view . I have this error .

Got error 'PHP message: PHP Warning: Undefined property: Salary::$mail in htdocs/salaries/card.php on line 162; PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFullName() on null in /htdocs/core/actions_sendmails.inc.php:203\nStack trace:\n#0 htdocs/salaries/card.php(163): include()\n#1 {main}\n thrown in htdocs/core/actions_sendmails.inc.php on line 203', referer:

image

Dolibarr Version

19.0.2

Environment PHP

8.2

Environment Database

mariadb

Steps to reproduce the behavior and expected behavior

go to employes view and try to send email

Attached files

No response

ksar-ksar commented 2 weeks ago

Seems to be linked to #29314