Giter Club home page Giter Club logo

Comments (6)

rginus avatar rginus commented on July 30, 2024

I solved this by adding #[AllowDynamicProperties] just before the line abstract class PluginPdfCommon extends CommonGLPI { in the file .\marketplace\pdf\inc\common.class.php

from pdf.

Naosu1 avatar Naosu1 commented on July 30, 2024

I made the change and now I do not have longer the deprecated errors, however I still have the error

TCPDF ERROR: Some data has already been output, can't send PDF file

from pdf.

Naosu1 avatar Naosu1 commented on July 30, 2024

i solved this from add solution from #41 (comment)

from pdf.

rginus avatar rginus commented on July 30, 2024

Hi, I got your second Deprecated message when I want to create a PDF of a ticket. Your solution doesn't work for me. I changed line 93 of plugins\pdf\inc\preference.class.php as follows to solve this:

From: $formid="plugin_pdf_${type}_".mt_rand();
To: $formid="plugin_pdf_{$type}_".mt_rand();

from pdf.

Naosu1 avatar Naosu1 commented on July 30, 2024

Actually I didn't see this above the page.
image

with online patch 93 I no longer have the problem either, thank you

from pdf.

yllen avatar yllen commented on July 30, 2024

Already corrected in November: bddedfb
Duplicate #54

from pdf.

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.