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

--- Comment #2 from Jeroen De Dauw <[email protected]> ---
Doing a dump of state causing the error:

added under $claim = $claims->getByElementHash( $diffOp->getNewValue() );

if(!($claim instanceof Claim)) {
q($this, $claims, $sourceHashes, $targetHashes, $claim);
}

<pre class='xdebug-var-dump' dir='ltr'>
<b>object</b>(<i>Wikibase\Claims</i>)[<i>108</i>]

    <b>object</b>(<i>Wikibase\Statement</i>)[<i>66</i>]
      <i>protected</i> 'references' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\ReferenceList</i>)[<i>109</i>]
      <i>protected</i> 'rank' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>1</font>
      <i>protected</i> 'mainSnak' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\PropertyValueSnak</i>)[<i>67</i>]
          <i>protected</i> 'dataValue' <font color='#888a85'>=&gt;</font> 
            <b>object</b>(<i>Wikibase\EntityId</i>)[<i>68</i>]
              <i>protected</i> 'entityType' <font color='#888a85'>=&gt;</font>
<small>string</small> <font color='#cc0000'>'item'</font> <i>(length=4)</i>
              <i>protected</i> 'numericId' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>28</font>
          <i>protected</i> 'propertyId' <font color='#888a85'>=&gt;</font> 
            <b>object</b>(<i>Wikibase\EntityId</i>)[<i>69</i>]
              <i>protected</i> 'entityType' <font color='#888a85'>=&gt;</font>
<small>string</small> <font color='#cc0000'>'property'</font> <i>(length=8)</i>
              <i>protected</i> 'numericId' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>14</font>
      <i>protected</i> 'qualifiers' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\SnakList</i>)[<i>65</i>]
      <i>protected</i> 'guid' <font color='#888a85'>=&gt;</font>
<small>string</small> <font
color='#cc0000'>'q35$9191D62B-EC8A-45AD-8068-BEE0B60308E6'</font>
<i>(length=40)</i>
</pre>
<pre class='xdebug-var-dump' dir='ltr'>
<b>object</b>(<i>Wikibase\Claims</i>)[<i>110</i>]

    <b>object</b>(<i>Wikibase\Statement</i>)[<i>101</i>]
      <i>protected</i> 'references' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\ReferenceList</i>)[<i>96</i>]
      <i>protected</i> 'rank' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>1</font>
      <i>protected</i> 'mainSnak' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\PropertyValueSnak</i>)[<i>88</i>]
          <i>protected</i> 'dataValue' <font color='#888a85'>=&gt;</font> 
            <b>object</b>(<i>Wikibase\EntityId</i>)[<i>95</i>]
              <i>protected</i> 'entityType' <font color='#888a85'>=&gt;</font>
<small>string</small> <font color='#cc0000'>'item'</font> <i>(length=4)</i>
              <i>protected</i> 'numericId' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>22</font>
          <i>protected</i> 'propertyId' <font color='#888a85'>=&gt;</font> 
            <b>object</b>(<i>Wikibase\EntityId</i>)[<i>104</i>]
              <i>protected</i> 'entityType' <font color='#888a85'>=&gt;</font>
<small>string</small> <font color='#cc0000'>'property'</font> <i>(length=8)</i>
              <i>protected</i> 'numericId' <font color='#888a85'>=&gt;</font>
<small>int</small> <font color='#4e9a06'>14</font>
      <i>protected</i> 'qualifiers' <font color='#888a85'>=&gt;</font> 
        <b>object</b>(<i>Wikibase\SnakList</i>)[<i>94</i>]
      <i>protected</i> 'guid' <font color='#888a85'>=&gt;</font>
<small>string</small> <font
color='#cc0000'>'q35$9191D62B-EC8A-45AD-8068-BEE0B60308E6'</font>
<i>(length=40)</i>
</pre>
<pre class='xdebug-var-dump' dir='ltr'>
<b>array</b> <i>(size=1)</i>
  0 <font color='#888a85'>=&gt;</font> <small>string</small> <font
color='#cc0000'>'7efc8e1c8696d2a639dee79bb6d76ab190898aa3'</font>
<i>(length=40)</i>
</pre>
<pre class='xdebug-var-dump' dir='ltr'>
<b>array</b> <i>(size=1)</i>
  0 <font color='#888a85'>=&gt;</font> <small>string</small> <font
color='#cc0000'>'3cefed471aa6a8cb29eed34f006181d257d9ef6d'</font>
<i>(length=40)</i>
</pre>
<pre class='xdebug-var-dump' dir='ltr'><small>boolean</small> <font
color='#75507b'>false</font>
</pre>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to