-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Warning - Trying to access array offset on value of type null #34
Comments
Hello @blippercop |
I will try to add information, but I was not sure myself what was causing this. Now I know this issues happens when an email is pulled that contains an inline picture. This issue is not(!) logged in the php-error log etc. it is logged by the crontab and not the GLPI logs I will try to analyze further. |
$res = $DB->request('glpi_plugin_ticketcleaner_picturehashes_lastupdate'); after $res->next(); the $row is null. |
Hello @blippercop |
Thank you for the fast fix! |
Getting this warning on GLPI 10.0.10
Ticketcleaner 4.0.2
PHP Notice: Trying to access array offset on value of type null in /var/www/uem/plugins/ticketcleaner/hook.php on line 63
Table looks like this (only one row):
YAML 1.1
uem.glpi_plugin_ticketcleaner_picturehashes_lastupdate
id: 1
lastupdate: 20220626224221
The text was updated successfully, but these errors were encountered: