error help

Secondary loader failed to return row for 484

Log at time 1551198822 may have more data.

IncompleteEntityException Object
[message:protected] => Secondary loader failed to return row for 484
[string:Exception:private] => IncompleteEntityException: Secondary loader failed to return row for 484 in /var/www/
Stack trace:
#0 /var/www/ Elgg\AttributeLoader->getRequiredAttributes(Array)
#1 /var/www/ ElggUser->load(Object(stdClass))
#2 /var/www/ ElggUser->__construct(Object(stdClass))
#3 /var/www/ Elgg\Database\EntityTable->rowToElggStar(Object(stdClass))
#4 /var/www/ Elgg\Database\EntityTable->get(484)
#5 /var/www/ get_entity(484)
#6 /var/www/ ElggRiverItem->getSubjectEntity()
#7 /var/www/ elgg_view_river_item(Object(ElggRiverItem), Array)
#8 /var/www/ elgg_view_list_item(Object(ElggRiverItem), Array)
#9 /var/www/ include('/var/www/entrem...')
#10 /var/www/ Elgg\ViewsService->renderViewFile('page/components...', Array, 'default', true)
#11 /var/www/ Elgg\ViewsService->renderView('page/components...', Array, false, 'default')
#12 /var/www/ elgg_view('page/components...', Array)
#13 /var/www/ elgg_list_river(Array)
#14 /var/www/ include('/var/www/entrem...')
#15 /var/www/ Elgg\ViewsService->renderViewFile('resources/river', Array, 'default', true)
#16 /var/www/ Elgg\ViewsService->renderView('resources/river', Array)
#17 /var/www/ elgg_view_resource('river', Array)
#18 [internal function]: _elgg_river_page_handler(Array, 'activity')
#19 /var/www/ call_user_func('_elgg_river_pag...', Array, 'activity')
#20 /var/www/ Elgg\Router->route(Object(Elgg\Http\Request))
#21 /var/www/ Elgg\Application->run()
#22 /var/www/ Elgg\Application::index()
#23 {main}
[code:protected] => 0
[file:protected] => /var/www/
[line:protected] => 235
[trace:Exception:private] => Array
[0] => Array
[file] => /var/www/
[line] => 117
[function] => getRequiredAttributes
[class] => Elgg\AttributeLoader
[type] => ->
[args] => Array
[0] => Array

  • Seems like you have been doing some experiment with your database. As per the log it is trying to retrieve river item with guid 484 but while retrieving the river item from the database it was not able to find entity with guid 484.

  • What are you trying to do when the error occurs? On which page of the site are you or which page are you trying to access?

    Maybe it helps using the dbvalidator plugin ( It can fix faulty db entries in some cases. You would have to download it via the green "Clone or download" button and rename the folder to "dbvalidator" after unzipping before installing it. The plugin has a validate and a fix option. Do a validate run first. If it finds no errors it won't help to do a fix run. If it finds errors on the validation run, make a db backup before starting the fix run.