Various php errors

The system in general works correctly without errors. Only in some cases and in some areas I have errors. I am attaching an example. Does anyone have any idea why I’m having these errors?

Thank you

You are probably using a PHP version that is higher than the version supported by the version of your Dolibarr.
What is your PHP version, what is your Dolibarr version ?