JanZerebecki added a comment.

  Result from trying to debug this with things like 
`file_put_contents('/tmp/debug.txt', 'info'."\n", FILE_APPEND);` to find how to 
get full back traces:
  
  handleError gets called 2 times with:
  
    $level => 4096,
    $message => 'Argument 1 passed to 
Wikibase\\Lib\\Store\\CachingEntityRevisionLookup::getEntityRevision() must be 
an instance of Wikibase\\DataModel\\Entity\\EntityId, null given',
    $file => 
'/srv/mediawiki/php-1.27.0-wmf.21/extensions/Wikidata/extensions/Wikibase/lib/includes/store/CachingEntityRevisionLookup.php',
    $line => 136,
  
  handleFatalError gets called once after that with:
  
    $level => 4096,
    $message => 'Argument 1 passed to 
Wikibase\\Lib\\Store\\CachingEntityRevisionLookup::getEntityRevision() must be 
an instance of Wikibase\\DataModel\\Entity\\EntityId, null given',
    $file => 
'/srv/mediawiki/php-1.27.0-wmf.21/extensions/Wikidata/extensions/Wikibase/lib/includes/store/CachingEntityRevisionLookup.php',
    $line => 136,
    $context => NULL,
    $trace => NULL,
    debug_backtrace() =>   array (
      0 => 
      array (
        'function' => 'handleFatalError',
        'class' => 'MWExceptionHandler',
        'type' => '::',
        'args' => 
        array (
        ),
      ),
    ),
  
  If I try to insert a debug_backtrace() or func_get_args() at the beginning of 
handleError things change in ways I didn't understand.

TASK DETAIL
  https://phabricator.wikimedia.org/T132645

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JanZerebecki
Cc: gerritbot, bd808, JanZerebecki, aude, Aklapper, hoo, Lewizho99, Maathavan, 
D3r1ck01, Izno, Wikidata-bugs, Mbch331, Jay8g, Krenair



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to