You are not logged in.
Hi all,
I have a problem with the credit pluggin since the 10.0.11 update.
When I tried to updat either the plugin (with marketplace) to the 1.13.2 version or GLPI to the 10.0.11, the pluging is still working correctly, but is not showing into the 'entity section'. I can still decrease the number of tickets while answering, but I cannot manage how many credit are left, wich type, etc.. linked to entities...
Have you any idea on where to look for the logs to debug this?
Thanks in advance ! I hope it was clear and I provided all the informations..
Offline
Are there any errors in the GLPI logs (files/_log folder)?
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Hi,
Thank you A LOT for your answer already !
I can find some erros in the php-erros.log :
[2024-01-16 03:17:26] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type null in /var/www/html/glpi/marketplace/cr$
Backtrace :
public/index.php:82 require()
[2024-01-16 02:52:39] glpiphplog.WARNING: *** PHP User Warning (512): Unable to load plugin "credit" information. in /var/www/html/glpi/src/Plugin.php $
Backtrace :
src/Plugin.php:621 trigger_error()
src/Plugin.php:505 Plugin->checkPluginState()
front/marketplace.php:43 Plugin->checkStates()
public/index.php:82 require()
Is that what you were making me looking for?
Thanks !
Offline
The errors are cut off (notice the $ at the end of the first line of each error). I'll need to full line to know where the error comes from.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Oh sorry, it wasn't that needed from my point of view, it's just the line I guess, but I hope I am wrong :
[2024-01-16 02:52:39] glpiphplog.WARNING: *** PHP User Warning (512): Unable to load plugin "credit" information. in /var/www/html/glpi/src/Plugin.php at line 621
Backtrace :
src/Plugin.php:621 trigger_error()
src/Plugin.php:505 Plugin->checkPluginState()
front/marketplace.php:43 Plugin->checkStates()
public/index.php:82 require()
[2024-01-16 03:17:26] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type null in /var/www/html/glpi/marketplace/credit/ajax/dropdownQuantity.php at line 51
Backtrace :
public/index.php:82 require()
[2024-01-16 03:17:26] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type null in /var/www/html/glpi/marketplace/credit/ajax/dropdownQuantity.php at line 52
Backtrace :
public/index.php:82 require()
does that helps?
When I try to search the web , I only found post on wich you participates and this one !
Many thanks for your help !
Offline
I'm not able to recreate the issue. The first warning you list seems like the file permissions on marketplace/credit/setup.php might be wrong or there is some kind of syntax error in the file (although the syntax error should be logged).
The second and third warnings appear to indicate that the entity configuration options for the plugin are missing.
When I tested, I was able to view the Credit tab in the entity configuration without issue. I could recreate the last two warnings by opening the credit dropdown in a followup before configuring anything in the entity, but they are non-blocking errors.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline