Topic on Extension talk:Mpdf

error on exporting to a pdf

4
Nicolas senechal (talkcontribs)

Hello,

I follow carefully the donwload part and the installation part but when I convert a article in pdf I have this error.

[b95a316a0df8370f20186161] 2022-07-05 15:14:27: Erreur fatale de type « Error »

I see befor other people who have the same (but I can"t find the topic...)

My configuration :

Produit Version
MediaWiki 1.37.1
PHP 8.1.2 (apache2handler)
MariaDB 10.4.22-MariaDB
ICU 70.1
Elasticsearch 6.8.23

So what I did wrong what I miss ?

thank you.

87.20.243.37 (talkcontribs)

I think that the extension is not compatible with php 8.

It uses a php syntax that is not more supported.

Try to migrate the wiki to php 7.x and it probably should resolve you problem.

Nicolas senechal (talkcontribs)

OK, I move to php 7.3.30 and I still have the same error.

Pooja2425 (talkcontribs)

87.20.243.37 But now php v7.3 life is going to end on 29th Nov, But need to upgrade php v8.0 .

with v8.0 mpdf 6.1 Extension:Mpdf is not woking .

pls suggest what we need to do ?

Reply to "error on exporting to a pdf"