For MediaWiki:Sitenotice when content is added to the page it does not consistently appear as it should on the wiki. Said sitenotice appears intermittently and sometimes it not shown even though it is defined in the MediaWiki:Sitenotice page.
Similarly, when content is defined on MediaWiki:Sidebar that's different from the default, the actual sidebar intermittently shows the content defined but also shows the default from time to time
MediaWiki version: 1.34.2
PHP: 7.3.19-1~deb10u1 (fpm-fcgi)
Errors:
root@mw4:~# php /srv/mediawiki/w/maintenance/eval.php --wiki metawiki > $a = RequestContext::getMain(); > $a = RequestContext::getMain()->getSkin(); > var_dump( $a->getSiteNotice() ); string(22) "<!-- CentralNotice -->" > root@mw4:~# php /srv/mediawiki/w/maintenance/eval.php --wiki rswiki > $a = RequestContext::getMain()->getSkin(); > var_dump( $a->getSiteNotice() ); Caught exception MWException: Empty $mTitle in OutputPage::parseInternal