Projet

Général

Profil

Actions

Anomalie #1749

fermé

Error when printing objects

Ajouté par Guillaume AGNIERAY il y a 6 mois. Mis à jour il y a 6 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
28/11/2023
Echéance:
% réalisé:

100%

Temps estimé:

Description

  • when printing the history of a single object that has never been rented
        Message : wordwrap(): Passing null to parameter #1 ($string) of type string is deprecated
        Fichier : /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/IO/PdfObject.php
        Ligne : 252
    
        Trace
    
        #0 [internal function]: {closure}()
        #1 /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/IO/PdfObject.php(252): wordwrap()
        #2 /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/IO/PdfObject.php(188): GaletteObjectsLend\IO\PdfObject->addCell()
        #3 /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/IO/PdfObject.php(115): GaletteObjectsLend\IO\PdfObject->drawCard()
        #4 /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/Controllers/PdfController.php(93): GaletteObjectsLend\IO\PdfObject->drawCards()
        #5 [internal function]: GaletteObjectsLend\Controllers\PdfController->printObject()
        ...
      
  • when batch printing a selection of objects (requires PR#12)
        Message : basename(): Passing null to parameter #1 ($path) of type string is deprecated
        Fichier : /var/www/galette/galette/vendor/tecnickcom/tcpdf/tcpdf.php
        Ligne : 7759
    
        Trace
    
        #0 [internal function]: {closure}()
        #1 /var/www/galette/galette/vendor/tecnickcom/tcpdf/tcpdf.php(7759): basename()
        #2 /var/www/galette/galette/lib/Galette/IO/Pdf.php(474): TCPDF->Output()
        #3 /var/www/galette/galette/lib/Galette/Controllers/PdfController.php(87): Galette\IO\Pdf->download()
        #4 /var/www/galette/galette/plugins/plugin-objectslend/lib/GaletteObjectsLend/Controllers/PdfController.php(128): Galette\Controllers\PdfController->sendResponse()
        #5 [internal function]: GaletteObjectsLend\Controllers\PdfController->printObjects()
        ...
      
Actions

Formats disponibles : Atom PDF