https://bugzilla.wikimedia.org/show_bug.cgi?id=34446

       Web browser: ---
             Bug #: 34446
           Summary: Argument 1 passed to OutputPage::setTitle() must be an
                    instance of Title, null given, called in
                    /www/w/extensions/LiquidThreads/classes/View.php on
                    line 389 and defined in /www/w/includes/OutputPage.php
                    on line 848
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: LiquidThreads
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Argument 1 passed to OutputPage::setTitle() must be an instance of Title, null
given, called in /www/w/extensions/LiquidThreads/classes/View.php on line 389
and defined in /www/w/includes/OutputPage.php on line 848

Looking at the code, Title initially is defined as null, and there's no
guarantee that via the if beneath it that it will not be null at the point that
it hits $output->setTitle()

Need sanity checking on the title object, and possibly bail out from the method
or something if it's not set

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to