Topic on Project:Support desk

Errors generated when running maintenance/refreshLinks.php

5
Txantimedia (talkcontribs)

I'm running

Product Version
MediaWiki 1.29.1
PHP 7.1.10 (apache2handler)
MySQL 5.6.38
ICU 59.1

Each time I run maintenance/refreshLinks.php, I get this error a few times. (I removed some of the path for privacy reasons.)

Warning: A non-numeric value encountered in /includes/parser/CoreParserFunctions.php on line 901

It occurs at between 4700 and 4800 and between 12300 and 12400.

I did some research on this error. Apparently, it's related to php7.1. I found this discussion on Github - https://github.com/dompdf/dompdf/issues/1272 that seems to indicate the use of values related to css, like "auto" that are non-numeric. (Perhaps the use of "null" instead of 0?)

I thought I"d report it here. Should I have posted it on phabricator?

TheDJ (talkcontribs)

You can report this on phabricator and label it with the project tag "NewPHP"

Txantimedia (talkcontribs)

Thanks. I'll open a ticket.

Malyacko (talkcontribs)