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.74k stars 749 forks source link

[bug] Error while sending email #12322

Closed mateuszrudyk closed 4 years ago

mateuszrudyk commented 4 years ago

Hello. I have this error: PHP Notice: Trying to access array offset on value of type null in /var/www/yeti2/app/User.php on line 192 Users_Record_Model::getCurrentUserModel() /var/www/yeti2/modules/Users/views/Login.php:43 PHP 7. App\User->getId() /var/www/yeti2/modules/Users/models/Record.php:371 PHP Notice: Undefined index: IP_ADDRESS in /var/www/yeti2/vendor/yetiforce/csrf-magic/src/Csrf.php on line 251 PHP Stack trace: PHP 1. CsrfMagic\Csrf::obHandler() /var/www/yeti2/vendor/yetiforce/csrf-magic/src/Csrf.php:0 PHP 2. CsrfMagic\Csrf::getTokens() /var/www/yeti2/vendor/yetiforce/csrf-magic/src/Csrf.php:178

Yeti force version 5.2.0 PHP 7.4 Apache 2.4.18

Please help :)

bpabiszczak commented 4 years ago

Z tego co pamiętam, to dla 5.2 nie była zalecana wersja PHP 7.4 tylko niższa.... Polecam sprawdzić logi aplikacji, należy je włączyć ponieważ domyślnie są wyłączone. https://yetiforce.com/pl/baza-wiedzy/dokumentacja/dokumentacja-programistyczna/item/debugowanie