Created on 21 September 2022, almost 2 years ago
Updated 27 January 2023, over 1 year ago

Problem/Motivation

I do have drupal 9.4.5 and PHP 8.1.9

and right after I installed that module it shows :

Fatal error: Trait "setasign\Fpdi\FpdiTrait" not found in /lib/mpdf-mpdf/v8.1.0/src/FpdiTrait.php on line 25

The line 25 shows :

trait FpdiTrait
{
use \setasign\Fpdi\FpdiTrait {
writePdfType as fpdiWritePdfType;
useImportedPage as fpdiUseImportedPage;
importPage as fpdiImportPage;
}

Any clue ?

๐Ÿ“Œ Task
Status

Closed: cannot reproduce

Version

2.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine gilmord ๐Ÿ‡บ๐Ÿ‡ฆUkraine

    Hi @coaston

    Any details on this issue?
    Are you using composer?
    Is the setasign/fpdi library installed?

  • Status changed to Closed: cannot reproduce over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine gilmord ๐Ÿ‡บ๐Ÿ‡ฆUkraine

    /lib/mpdf-mpdf/v8.1.0/src/FpdiTrait.php

    this does not seem to be composer-installed library (or maybe you are using some custom composer configuration)
    as libraries usually goes to /libraries directory, also this module required 7.0.0 (or 8.0.4 if you use solution from here) and not the 8.1.0

    so I am thinking you are not using composer or using it the wrong way or fpdi library was not installed due to any other reason.

    Anyways, this seems to be out of this module's scope, please reopen this issue once you have any updates on it.

Production build 0.69.0 2024