You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-09-14 09:18:14

NeueMedienBecker
Member
Registered: 2022-09-23
Posts: 6

Target field "items_id" is not a foreign key field.

Hello,

I have the following PHP error after switching to 10.09, is there a solution?


[2023-09-13 18:43:38] glpiphplog.WARNING:   *** PHP User Warning (512): Invalid relations declared for "glpi_ticketcategories" table. Table does not correspond to a known itemtype. in /home/users/glpi/www/src/DbUtils.php at line 2064
  Backtrace :
  src/DbUtils.php:2064                               trigger_error()
  inc/db.function.php:585                            DbUtils->getDbRelations()
  src/CommonDBTM.php:866                             getDbRelations()
  src/CommonDBTM.php:788                             CommonDBTM->cleanRelationData()
  src/CommonDBTM.php:2068                            CommonDBTM->deleteFromDB()
  src/CommonDBTM.php:4627                            CommonDBTM->delete()
  marketplace/addressing/inc/pinginfo.class.php:106  CommonDBTM->deleteByCriteria()
  marketplace/addressing/inc/pinginfo.class.php:88   PluginAddressingPinginfo->updateAnAddressing()
  marketplace/addressing/inc/pinginfo.class.php:70   PluginAddressingPinginfo->updateAllAddressing()
  src/CronTask.php:1018                              PluginAddressingPinginfo::cronUpdatePing()
  front/cron.php:83                                  CronTask::launch()

[2023-09-13 18:43:38] glpiphplog.WARNING:   *** PHP User Warning (512): Invalid relations declared between "glpi_documents" and "glpi_plugin_manageentities_companies" table. Target field "logo_id" is not a foreign key field. in /home/users/glpi/ww>
  Backtrace :
  src/DbUtils.php:2176                               trigger_error()
  inc/db.function.php:585                            DbUtils->getDbRelations()
  src/CommonDBTM.php:866                             getDbRelations()
  src/CommonDBTM.php:788                             CommonDBTM->cleanRelationData()
  src/CommonDBTM.php:2068                            CommonDBTM->deleteFromDB()
  src/CommonDBTM.php:4627                            CommonDBTM->delete()
  marketplace/addressing/inc/pinginfo.class.php:106  CommonDBTM->deleteByCriteria()
  marketplace/addressing/inc/pinginfo.class.php:88   PluginAddressingPinginfo->updateAnAddressing()
  marketplace/addressing/inc/pinginfo.class.php:70   PluginAddressingPinginfo->updateAllAddressing()
  src/CronTask.php:1018                              PluginAddressingPinginfo::cronUpdatePing()
  front/cron.php:83                                  CronTask::launch()

[2023-09-13 18:43:38] 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 /home/us>
  Backtrace :
  src/DbUtils.php:2176                               trigger_error()
  inc/db.function.php:585                            DbUtils->getDbRelations()
  src/CommonDBTM.php:866                             getDbRelations()
  src/CommonDBTM.php:788                             CommonDBTM->cleanRelationData()
  src/CommonDBTM.php:2068                            CommonDBTM->deleteFromDB()
  src/CommonDBTM.php:4627                            CommonDBTM->delete()
  marketplace/addressing/inc/pinginfo.class.php:106  CommonDBTM->deleteByCriteria()
  marketplace/addressing/inc/pinginfo.class.php:88   PluginAddressingPinginfo->updateAnAddressing()
  marketplace/addressing/inc/pinginfo.class.php:70   PluginAddressingPinginfo->updateAllAddressing()
  src/CronTask.php:1018                              PluginAddressingPinginfo::cronUpdatePing()
  front/cron.php:83                                  CronTask::launch()

Offline

#2 2023-09-14 12:49:52

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Target field "items_id" is not a foreign key field.

The issue is from the "addressing" plugin's side. You may have better luck reporting the issue on their GitHub.
https://github.com/pluginsGLPI/addressi … new/choose


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

#3 2023-10-30 09:55:19

NeueMedienBecker
Member
Registered: 2022-09-23
Posts: 6

Re: Target field "items_id" is not a foreign key field.

Unfortunately no one has been able to help me with the problem yet, is there anyone who can help me.

Offline

Board footer

Powered by FluxBB