Page MenuHomePhabricator

Mpdf version 6.1 not working with php 8
Closed, InvalidPublic

Description

Product Version

MediaWiki 1.35.3

PHP 8.0.25 (apache2handler)

MySQL 8.0.26

Lua 5.1.5

Elasticsearch 6.5.4

We are using Mpdf 6.1 [[ https://www.mediawiki.org/wiki/Extension:Mpdf | Mpdf ]] as earlier we re using php v7.4. But Now we have upgraded the Php to 8.0 and PDF is not working, done so many changes i.e () to [] ,replaced each() with new function in mpdf file but still facing issues.

pls suggest which mpdf version we need to use for pdf .

Event Timeline

Aklapper changed the task status from Open to Stalled.EditedNov 25 2022, 10:00 AM

Hi @Pooja2425, thanks for taking the time to report this! Unfortunately this Wikimedia Phabricator task lacks some information.
If you have time and can still reproduce the situation: Please add a more complete description to this task. That should be

  • a clear and complete list of exact steps to reproduce the situation, step by step, so that nobody needs to guess or interpret how you performed each step,
  • what happens after performing these steps to reproduce,
  • what you expected to happen instead,
  • the exact Git revision of the extension.

You can edit the task description by clicking Edit Task. Ideally, a good description should allow any other person to follow these steps (without having to interpret steps) and see the same results. Problems that others can reproduce can get fixed faster. Thanks again!

MediaWiki 1.35.3

Also, you are running an outdated, insecure version. Please upgrade for your own safety.

This was posted in several places. See https://www.mediawiki.org/wiki/Topic:X7kkfc8258e3uepc instead. Feel free to file specific bug reports, about isolated issues, by following the bug report template and strictly filling out all fields. Thanks.

Aklapper added a subscriber: Pastakhov.