Code Monkey home page Code Monkey logo

Comments (3)

cconard96 avatar cconard96 commented on September 24, 2024

Please check if you have any notifications that are linked to invalid/deleted notification templates. If you have access to the DB, this query should be sufficient to find the IDs of the notifications linked to non-existant templates:

SELECT `notifications_id` FROM `glpi_notifications_notificationtemplates` LEFT OUTER JOIN `glpi_notificationtemplates` ON `glpi_notificationtemplates`.`id` = `glpi_notifications_notificationtemplates`.`notificationtemplates_id` WHERE `glpi_notificationtemplates`.`id` IS NULL;

from glpi.

berils avatar berils commented on September 24, 2024

Im getting similar issue with notification, but idk if its releated to this exact issue.

glpisqllog.WARNING: DBmysql::doQuery() in /var/www/html/glpi/src/DBmysql.php line 443
  *** MySQL query warnings:
  SQL: SELECT `glpi_notificationtemplates`.*, '' AS `transname`, '' AS `transcomment` FROM `glpi_notificationtemplates` WHERE `glpi_notificationtemplates`.`id` = 'N/A'
  Warnings:
1292: Truncated incorrect DOUBLE value: 'N/A'
  Backtrace :
  src/DBmysqlIterator.php:112                        DBmysql->doQuery()
  src/DBmysql.php:1109                               DBmysqlIterator->execute()
  src/Dropdown.php:544                               DBmysql->request()
  src/NotificationTarget.php:1641                    Dropdown::getDropdownName()
  src/NotificationTarget.php:1657                    NotificationTarget::showForGroup()
  src/CommonGLPI.php:694                             NotificationTarget::displayTabContentForItem()
  ajax/common.tabs.php:120                           CommonGLPI::displayStandardTab()
  public/index.php:82                                require()
  {"user":"104@xyz","mem_usage":"0.002\", 3.82Mio)"}

from glpi.

SilvaFernando avatar SilvaFernando commented on September 24, 2024

I've found seven registries on database with this select, but this notifications is disabled.

from glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.