MediaWiki | 1.35.1 (4d90545)
00:32, 11 August 2020 |
PHP | 7.4.16 (cgi-fcgi) |
MySQL | 5.7.32-35-log |
Just upgraded the wiki to 1.35 yesterday. In installing updated extensions did not realize that DynamicPageLists3 and the old DynamicPageLists that has been depreciated would conflict - and so an error occurred
Fatal error: Uncaught UnexpectedValueException: callback 'DynamicPageListHooks::onRegistration' is not callable in /home/customer/www/sentinelswiki.com/public_html/includes/registration/ExtensionRegistry.php:539 Stack trace: #0 /home/customer/www/sentinelswiki.com/public_html/includes/registration/ExtensionRegistry.php(232): ExtensionRegistry->exportExtractedData(Array) #1 /home/customer/www/sentinelswiki.com/public_html/includes/Setup.php(161): ExtensionRegistry->loadFromQueue() #2 /home/customer/www/sentinelswiki.com/public_html/includes/WebStart.php(89): require_once('/home/customer/...') #3 /home/customer/www/sentinelswiki.com/public_html/index.php(44): require('/home/customer/...') #4 {main} thrown in /home/customer/www/sentinelswiki.com/public_html/includes/registration/ExtensionRegistry.php on line 539
As I have come to understand this is due to the two extensions having the same namespace. I have attempted to remove the files - both the extensions and from localSettings.php
However - it doesn't seem to be working. Currently there is no reference in LocalSettings.php to either extension, and yet load.php shows:
Notice: Constant NS_DYNAMICPAGELIST already defined in /home/customer/www/sentinelswiki.com/public_html/LocalSettings.php on line 174
But the LocalSettings.php does not have that in there:
the lines surrounding it:
wfLoadExtension( 'TimedMediaHandler' );
wfLoadExtension( 'PageInCat' );
wfLoadExtension( 'Bootstrap' );
# HeaderTabs Functionality
$wgHeaderTabsRenderSingleTab = true;
line 172 is the Bootstrap load and and line 175 is the headertabs comment - like 174 would of course be the line where the DPL3 was installed but is no longer.
interestingly ... it is ONLY the main page where this error occurs. If I go to any other page on the wiki directly, They load (mostly well - some errors here or there I assume are lreated to this)
I have tried clearing the JobQueue -- is there any other cache / queues or something that I can clear to force it to reload properly?