An uncaught Exception was encountered

Any good hero who can help me because I have this problem when I try to generate the pdf ?


An uncaught Exception was encountered

Type: InvalidArgumentException

Message: Invalid type in $file parameter (boolean)

Filename: C:\xampp\htdocs\stamp\application\composer\vendor\setasign\fpdi\src\FpdiTrait.php

Line Number: 159


File: C:\xampp\htdocs\stamp\application\composer\vendor\setasign\fpdi\src\FpdiTrait.php
Line: 211
Function: getPdfReaderId

File: C:\xampp\htdocs\stamp\application\models\controle_model.php
Line: 58
Function: setSourceFile

File: C:\xampp\htdocs\stamp\application\controllers\Controle_controller.php
Line: 82
Function: generatePDFTampon

File: C:\xampp\htdocs\stamp\index.php
Line: 315
Function: require_once

Are you referring to the Invoiceplain application.

There is no such controller.

1 Like