Turning on error reporting show the below.
Product | Version |
---|---|
MediaWiki | 1.39.0 |
PHP | 8.1.13 (apache2handler) |
Lingo | 3.1.1 |
PHP Caching
APCu Support | Enabled |
Version | 5.1.21 |
APCu Debugging | Disabled |
MMAP Support | Enabled |
MMAP File Mask | no value |
Serialization Support | php |
Build Date | Jun 25 2022 07:29:23 |
MediaViewer also has issues and has been disabled so direct viewing of images is fine. But with Lingo I get this:
[d2bd7de25bc67f629e3a1d49] /mediawiki/index.php?title=Glossary&action=submit Error: Call to undefined function Lingo\wfGetMainCache()
Backtrace:
from /var/www/html/mediawiki/extensions/Lingo/src/LingoParser.php(387)
#0 /var/www/html/mediawiki/extensions/Lingo/src/BasicBackend.php(262): Lingo\LingoParser->purgeGlossaryFromCache()
#1 /var/www/html/mediawiki/includes/HookContainer/HookContainer.php(338): Lingo\BasicBackend->purgeCache()
#2 /var/www/html/mediawiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
#3 /var/www/html/mediawiki/includes/HookContainer/HookRunner.php(2732): MediaWiki\HookContainer\HookContainer->run()
#4 /var/www/html/mediawiki/includes/Storage/PageUpdater.php(913): MediaWiki\HookContainer\HookRunner->onPageContentSave()
#5 /var/www/html/mediawiki/includes/EditPage.php(2596): MediaWiki\Storage\PageUpdater->saveRevision()
#6 /var/www/html/mediawiki/includes/EditPage.php(1904): EditPage->internalAttemptSave()
#7 /var/www/html/mediawiki/includes/EditPage.php(721): EditPage->attemptSave()
#8 /var/www/html/mediawiki/includes/actions/EditAction.php(73): EditPage->edit()
#9 /var/www/html/mediawiki/includes/actions/SubmitAction.php(38): EditAction->show()
#10 /var/www/html/mediawiki/includes/MediaWiki.php(542): SubmitAction->show()
#11 /var/www/html/mediawiki/includes/MediaWiki.php(322): MediaWiki->performAction()
#12 /var/www/html/mediawiki/includes/MediaWiki.php(904): MediaWiki->performRequest()
#13 /var/www/html/mediawiki/includes/MediaWiki.php(562): MediaWiki->main()
#14 /var/www/html/mediawiki/index.php(50): MediaWiki->run()
#15 /var/www/html/mediawiki/index.php(46): wfIndexMain()
#16 {main}
¯\_(ツ)_/¯
Everything else seems good.
This is a fresh build with the aforementioned versions.
Any ideas?
SG