https://bugzilla.wikimedia.org/show_bug.cgi?id=68501
Bug ID: 68501
Summary: PHP Fatal error: Call to a member function exists()
on a non-object in /
Product: MediaWiki
Version: 1.23.0
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
I'm getting the following when I try to solve SpecialPages:BadTitle-problem:
root@mediawiki mediawiki/maintenance# php cleanupTitles.php --fix
Checking and fixing bad titles...
Processing page...
page 44 (Trusted) doesn't match self.
renaming 44 (500,'Trusted') to (0,'Trusted')
page 45 (Trusted) doesn't match self.
renaming 45 (3000,'Trusted') to (0,'Trusted')
A database query error has occurred.
Query: UPDATE `page` SET page_namespace = '0',page_title = 'Trusted' WHERE
page_id = '45'
Function: TitleCleanup::moveInconsistentPage
Error: 1062 Duplicate entry '0-Trusted' for key 'name_title' (localhost)
root@mediawiki mediawiki/maintenance# php cleanupTitles.php --fix
Checking and fixing bad titles...
Processing page...
page 45 (Trusted) doesn't match self.
PHP Fatal error: Call to a member function exists() on a non-object in
/usr/share/mediawiki/maintenance/cleanupTitles.php on line 153
Actually the first run seems to run OK, but the second run gives the fatal
error.
Line 153 shows: if ( $verified->exists() ) {
Happens also on a 1.23.1-installation.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l