Page MenuHomePhabricator

Call to undefined method WikiPage::getText()
Closed, ResolvedPublic

Description

Wikilog 2.0.1 at MediaWiki 1.29.1:

https://newtestamentwiki.org/wiki/Special:Wikilog

2017/11/01 20:05:33 [error] 524#524: *1189401 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined method WikiPage::getText() in /var/www/newtestamentwiki/web/w/extensions/Wikilog/WikilogUtils.php on line 213" while reading response header from upstream, client: 141.226.173.11, server: newtestamentwiki.org, request: "GET /wiki/Special:Wikilog HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newtestamentwiki.sock:", host: "newtestamentwiki.org", referrer: "https://newtestamentwiki.org/wiki/Special:SpecialPages"

WikiPage::getText() was deprecated a long time and removed recently. The replacement is WikiPage::getContent() which returns an implementation of Content, which should be sued to access the text.