Page MenuHomePhabricator

Fatal Error: Call to a member function getTitle() on null in .../changes/EnhancedChangesList.php on line 499
Closed, InvalidPublic

Description

Short:
Bug reported: ( ! ) Fatal error: Call to a member function getTitle() on null in /var/www/html/includes/changes/EnhancedChangesList.php on line 499
URL: https://urlivewiki.com/wiki/Special:RecentChanges (archive: https://archive.is/2Ybgm)
Reproducible by: Heading to above address
Normal behavior: Shows the last 250 edits on the wiki, sorted by date/page/edit amount
Server Details:
Ubuntu 14.04.2 LTS server with Apache2 as web server
MediaWiki 1.2.6 using Vector skin (formerly custom URLive skin)
PHP 5.6
MySQL 5.6

Long:
Greetings. I help monitor and moderate a tabletop wiki for URealms Live. As stated in the title, we currently have an issue with the Special:RecentChanges page, where it errors when calling getTitle() in the EnhancedChangesList.php (page in question: https://urlivewiki.com/wiki/Special:RecentChanges, with an archive of the error here, should it be resolved and needed for the future).

This occurred shortly after upgrading to 1.2.6 (from 1.2.5), which also broke the primary custom skin (non-issue). As far as I can tell, none of the scripts are modified, and restarting the services/server did not clear up the issue. Just in case, I have included the apache2 log from today, which also repeats what is stated on the web page. any other logs can be given upon request, with private data redacted.

Event Timeline

Tdis8629 raised the priority of this task from to Medium.
Tdis8629 updated the task description. (Show Details)
Tdis8629 subscribed.

Sorry for the post, but the issue has been resolved. It turns out that getTitle() was trying to call a null entry in an article page that was featured on the RecentChanges page, which was throwing the database into a bit of a tizzy.

Tdis8629 set Security to None.
Florian changed the task status from Resolved to Invalid.Jan 4 2016, 6:01 PM