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

       Web browser: ---
             Bug #: 29654
           Summary: Undefined offset: 0 in
                    ...\SemanticMediaWiki\includes\storage\SMW_SQLStore2_Q
                    ueries.php on line 600
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I get an Undefined offset: 0 in
...\SemanticMediaWiki\includes\storage\SMW_SQLStore2_Queries.php on line 600.
This breaks querying inverse properties. 

Offset 0 does not exist, the key of the array element is a string ('o_id').
Replace line 600 by

if ( ( count( $proptable->objectfields ) == 1 ) && (
reset($proptable->objectfields) == 'p' ) ) {


Semantic MediaWiki (Version 1.6 alpha)    (r90874)

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