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

       Web browser: ---
            Bug ID: 51040
           Summary: PropertyInfoTable decodes JSON to object instead of
                    array
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Editing fails with this error:

Cannot use object of type stdClass as array in
<b>D:\F_Programmierung\xampp\htdocs\core\extensions\Wikibase\lib\includes\PropertyInfoDataTypeLookup.php</b>
on line <b>70</b><br />

This is caused by json_decode being called without the second parameter set in
PropertyInfoTable, which causes it to return a stdClass object instead of an
associative array.

-- 
You are receiving this mail because:
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