Exception encountered, of type "RuntimeException"
[f5440388] /wiki/Special:Browse/Brickipedia:Userbox_proposals RuntimeException from line 181 of /var/www/core/extensions/SemanticMediaWiki/src/MediaWiki/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT DISTINCT s_title AS smw_title, s_namespace AS smw_namespace, '' AS smw_iw, s_title AS smw_sortkey, '' AS smw_subobject FROM `smw_fpt_redi` AS t1 WHERE t1.o_id='350502' ORDER BY smw_sortkey LIMIT 21
Function: SMWSQLStore3Readers::getPropertySubjects
Error: 5 Out of memory (Needed 2095600 bytes) (localhost)

#0 /var/www/core/includes/db/Database.php(1076): DatabaseBase->reportQueryError('Out of memory (...', 5, 'SELECT DISTINC...', 'SMWSQLStore3Rea...', false)
#1 /var/www/core/includes/db/Database.php(1600): DatabaseBase->query('SELECT DISTINC...', 'SMWSQLStore3Rea...')
#2 /var/www/core/extensions/SemanticMediaWiki/src/MediaWiki/Database.php(179): DatabaseBase->select('`smw_fpt_redi` ...', 'DISTINCT s_titl...', 't1.o_id='350502...', 'SMWSQLStore3Rea...', Array, Array)
#3 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php(468): SMW\MediaWiki\Database->select('`smw_fpt_redi` ...', 'DISTINCT s_titl...', 't1.o_id='350502...', 'SMWSQLStore3Rea...', Array)
#4 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/Lookup/CachedValueLookupStore.php(286): SMWSQLStore3Readers->getPropertySubjects(Object(SMW\DIProperty), Object(SMW\DIWikiPage), Object(SMWRequestOptions))
#5 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(273): SMW\SQLStore\Lookup\CachedValueLookupStore->getPropertySubjects(Object(SMW\DIProperty), Object(SMW\DIWikiPage), Object(SMWRequestOptions))
#6 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(381): SMWSQLStore3->getPropertySubjects(Object(SMW\DIProperty), Object(SMW\DIWikiPage), Object(SMWRequestOptions))
#7 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(121): SMWSpecialBrowse->getInData()
#8 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(93): SMWSpecialBrowse->displayBrowse()
#9 /var/www/core/includes/specialpage/SpecialPage.php(384): SMWSpecialBrowse->execute('Brickipedia:Use...')
#10 /var/www/core/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run('Brickipedia:Use...')
#11 /var/www/core/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#12 /var/www/core/includes/MediaWiki.php(714): MediaWiki->performRequest()
#13 /var/www/core/includes/MediaWiki.php(508): MediaWiki->main()
#14 /var/www/core/index.php(41): MediaWiki->run()
#15 {main}
Backtrace:
#0 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php(468): SMW\MediaWiki\Database->select(string, string, string, string, array)
#1 /var/www/core/extensions/SemanticMediaWiki/src/SQLStore/Lookup/CachedValueLookupStore.php(286): SMWSQLStore3Readers->getPropertySubjects(SMW\DIProperty, SMW\DIWikiPage, SMWRequestOptions)
#2 /var/www/core/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(273): SMW\SQLStore\Lookup\CachedValueLookupStore->getPropertySubjects(SMW\DIProperty, SMW\DIWikiPage, SMWRequestOptions)
#3 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(381): SMWSQLStore3->getPropertySubjects(SMW\DIProperty, SMW\DIWikiPage, SMWRequestOptions)
#4 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(121): SMWSpecialBrowse->getInData()
#5 /var/www/core/extensions/SemanticMediaWiki/includes/specials/SMW_SpecialBrowse.php(93): SMWSpecialBrowse->displayBrowse()
#6 /var/www/core/includes/specialpage/SpecialPage.php(384): SMWSpecialBrowse->execute(string)
#7 /var/www/core/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(string)
#8 /var/www/core/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Title, RequestContext)
#9 /var/www/core/includes/MediaWiki.php(714): MediaWiki->performRequest()
#10 /var/www/core/includes/MediaWiki.php(508): MediaWiki->main()
#11 /var/www/core/index.php(41): MediaWiki->run()
#12 {main}