Open ftoledo opened 1 year ago
Hello I get exactly the same issue on 10.0.9
Hello, Same here on 10.0.10
GLPI 10.0.10 - glpi-printercounters-2.0.0 PHP 8.2 Rocky Linux release 8.8 (Green Obsidian)
[2023-10-25 20:24:15] glpiphplog.WARNING: *** PHP User Warning (512): Invalid relations declared between "glpi_printers" and "glpi_plugin_printercounters_items_billingmodels" table. Target field "items_id" is not a foreign key field. in /var/www/html/glpi/src/DbUtils.php at line 2169 Backtrace : src/DbUtils.php:2169 trigger_error() inc/db.function.php:585 DbUtils->getDbRelations() src/CommonDBTM.php:2508 getDbRelations() .../twig/twig/src/Extension/CoreExtension.php:1637 CommonDBTM->canUnrecurs() ...tes/41/414913d58cb3edcdc2a715bfc546dd8f.php:360 twig_get_attribute() vendor/twig/twig/src/Template.php:394 __TwigTemplate_814a8d775a214150e96f365b3f33e24b->doDisplay() vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling() vendor/twig/twig/src/Template.php:379 Twig\Template->display() vendor/twig/twig/src/TemplateWrapper.php:40 Twig\Template->render() src/Application/View/TemplateRenderer.php:163 Twig\TemplateWrapper->render() src/CommonGLPI.php:1093 Glpi\Application\View\TemplateRenderer->render() src/CommonGLPI.php:1211 CommonGLPI->showNavigationHeader() plugins/fields/front/container.form.php:69 CommonGLPI->display()
[2023-10-25 20:24:15] glpiphplog.WARNING: *** PHP User Warning (512): Invalid relations declared between "glpi_printers" and "glpi_plugin_printercounters_items_recordmodels" table. Target field "items_id" is not a foreign key field. in /var/www/html/glpi/src/DbUtils.php at line 2169 Backtrace : src/DbUtils.php:2169 trigger_error() inc/db.function.php:585 DbUtils->getDbRelations() src/CommonDBTM.php:2508 getDbRelations() .../twig/twig/src/Extension/CoreExtension.php:1637 CommonDBTM->canUnrecurs() ...tes/41/414913d58cb3edcdc2a715bfc546dd8f.php:360 twig_get_attribute() vendor/twig/twig/src/Template.php:394 __TwigTemplate_814a8d775a214150e96f365b3f33e24b->doDisplay() vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling() vendor/twig/twig/src/Template.php:379 Twig\Template->display() vendor/twig/twig/src/TemplateWrapper.php:40 Twig\Template->render() src/Application/View/TemplateRenderer.php:163 Twig\TemplateWrapper->render() src/CommonGLPI.php:1093 Glpi\Application\View\TemplateRenderer->render() src/CommonGLPI.php:1211 CommonGLPI->showNavigationHeader() plugins/fields/front/container.form.php:69 CommonGLPI->display()
I searched for 2 hours, but I couldn't find the source of the problem :(
hi all! i just update to glpi 10.0.7 and get this warning message
plugin version 2.0.0