gesinn-it-pub / SemanticDependencyUpdater

Semantic Dependency Updater (SDU) is a MediaWiki extension that monitors pages for changes in their semantic data.
https://www.mediawiki.org/wiki/Extension:SemanticDependencyUpdater
MIT License
6 stars 2 forks source link

Undefined index in src/Hooks.php on line 70 #14

Open jaideraf opened 4 months ago

jaideraf commented 4 months ago

SDU: 3.0.3 (b2c4db8) 11h04min de 9 de janeiro de 2024 SMW: 4.1.3 (b1e29dd) 09h12min de 22 de abril de 2024 PHP: 7.4.3 MediaWiki: 1.39.6

When running runJobs.php I get:

PHP Notice:  Undefined index: insert in w/extensions/SemanticDependencyUpdater/src/Hooks.php on line 70
PHP Warning:  Invalid argument supplied for foreach() in /w/extensions/SemanticDependencyUpdater/src/Hooks.php on line 70
gesinn-it-gea commented 4 months ago

can you please share your config for SDU

jaideraf commented 4 months ago

Sure, just:

$wgSDUUseJobQueue = false;

https://wikincat.org/wiki/Propriedade:Semantic_Dependency

I actually don't know if it should be true or false, I think I just have followed the example here. It says

Make sure, $wgSDUUseJobQueue = false;

Could you elaborate what this option does? I mean what is advantage or disadvantage of changing the value?