Giter VIP home page Giter VIP logo

Comments (4)

PresentsSI avatar PresentsSI commented on June 19, 2024 1

I upgraded my debian server to Bookworm and thus PHP to version 8
Everything seems to work fine now

from costs.

OscarBeiro avatar OscarBeiro commented on June 19, 2024 1

So this was a PHP 7.4 issue.
Thanks for the feedback.

from costs.

FrancisTicgal avatar FrancisTicgal commented on June 19, 2024

Hello, can you please provide us with the version of your GLPI and the related errors in the php-errors.log file?

The latest versions only fix the positioning of the dropdown and a warning that the identifier fields do not support negative numbers, with no changes to the functionality of the costs.

from costs.

PresentsSI avatar PresentsSI commented on June 19, 2024

Hello,
We are using GLPI 10.0.7 ; I will upgrade it to 10.0.12 to check if the problem remains

Here is the log file content :

[2024-03-08 16:35:54] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Return value of PluginCostsConfig::getInstance() must be an instance of mixed, instance of PluginCostsConfig returned in /var/www/html/marketplace/costs/inc/config.class.php at line 82
Backtrace :
marketplace/costs/inc/config.class.php:111 PluginCostsConfig::getInstance()
marketplace/costs/inc/config.class.php:151 PluginCostsConfig::showConfigForm()
src/CommonGLPI.php:689 PluginCostsConfig::displayTabContentForItem()
ajax/common.tabs.php:116 CommonGLPI::displayStandardTab()
public/index.php:73 require()

  • when I try to add a task to a ticket :

[2024-03-08 16:36:56] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Return value of PluginCostsTicket::isBillable() must be an instance of mixed, int returned in /var/www/html/marketplace/costs/inc/ticket.class.php at line 110
Backtrace :
marketplace/costs/inc/task.class.php:60 PluginCostsTicket::isBillable()
src/Plugin.php:1617 PluginCostsTask::taskAdd()
src/CommonDBTM.php:1364 Plugin::doHook()
front/commonitiltask.form.php:67 CommonDBTM->add()
front/tickettask.form.php:39 include()
public/index.php:73 require()

from costs.

Related Issues (18)

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.