Fatal Error when deleting group or user

when trying to delete Group or an user using delete & report as spam i get the follwing error.

This is when deleting an user& report as spam:

 

Fatal Error.

Failed to load new ElggObject for GUID: 216843

IOException Object
(
[message:protected] => Failed to load new ElggObject for GUID: 216843
[string:Exception:private] => exception 'IOException' with message 'Failed to load new ElggObject for GUID: 216843' in /home/xxx/public_html/engine/classes/ElggObject.php:80
Stack trace:
#0 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(100): ElggObject->__construct(Object(stdClass))
#1 /home/xxx/public_html/engine/lib/entities.php(372): Elgg\Database\EntityTable->rowToElggStar(Object(stdClass))
#2 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(660): entity_row_to_elggstar(Object(stdClass))
#3 /home/xxx/public_html/engine/lib/entities.php(509): Elgg\Database\EntityTable->fetchFromSql('SELECT DISTINCT...', Object(ElggBatch))
#4 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(471): _elgg_fetch_entities_from_sql('SELECT DISTINCT...', Object(ElggBatch))
#5 /home/xxx/public_html/engine/lib/entities.php(495): Elgg\Database\EntityTable->getEntities(Array)
#6 [internal function]: elgg_get_entities(Array)
#7 /home/xxx/public_html/engine/classes/ElggBatch.php(295): call_user_func('elgg_get_entiti...', Array)
#8 /home/xxx/public_html/engine/classes/ElggBatch.php(364): ElggBatch->getNextResultsChunk()
#9 /home/xxx/public_html/engine/classes/ElggEntity.php(2119): ElggBatch->rewind()
#10 /home/xxx/public_html/engine/classes/ElggEntity.php(2120): ElggEntity->delete(true)
#11 /home/xxx/public_html/engine/classes/ElggUser.php(207): ElggEntity->delete()
#12 /home/xxx/public_html/mod/spam_login_filter/actions/delete_and_report.php(64): ElggUser->delete()
#13 /home/xxx/public_html/engine/classes/Elgg/ActionsService.php(88): include('/home/xxx/...')
#14 /home/xxx/public_html/engine/classes/Elgg/ActionsService.php(70): Elgg\ActionsService::includeFile('/home/xxx/...')
#15 /home/xxx/public_html/engine/lib/actions.php(20): Elgg\ActionsService->execute('spam_login_filt...')
#16 [internal function]: _elgg_action_handler(Array, 'action')
#17 /home/xxx/public_html/engine/classes/Elgg/Router.php(80): call_user_func('_elgg_action_ha...', Array, 'action')
#18 /home/xxx/public_html/index.php(63): Elgg\Router->route(Object(Elgg\Http\Request))
#19 {main}
[code:protected] => 0
[file:protected] => /home/xxx/public_html/engine/classes/ElggObject.php
[line:protected] => 80
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
[line] => 100
[function] => __construct
[class] => ElggObject
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[guid] => 216843
[type] => object
[subtype] => 3
[owner_guid] => 216842
[site_guid] => 1
[container_guid] => 216842
[access_id] => 2
[time_created] => 1466602733
[time_updated] => 1466602733
[last_action] => 1466602733
[enabled] => yes
[title] => 
[description] => 
)

)

)

[1] => Array
(
[file] => /home/xxx/public_html/engine/lib/entities.php
[line] => 372
[function] => rowToElggStar
[class] => Elgg\Database\EntityTable
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[guid] => 216843
[type] => object
[subtype] => 3
[owner_guid] => 216842
[site_guid] => 1
[container_guid] => 216842
[access_id] => 2
[time_created] => 1466602733
[time_updated] => 1466602733
[last_action] => 1466602733
[enabled] => yes
[title] => 
[description] => 
)

)

)

[2] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
[line] => 660
[function] => entity_row_to_elggstar
[args] => Array
(
[0] => stdClass Object
(
[guid] => 216843
[type] => object
[subtype] => 3
[owner_guid] => 216842
[site_guid] => 1
[container_guid] => 216842
[access_id] => 2
[time_created] => 1466602733
[time_updated] => 1466602733
[last_action] => 1466602733
[enabled] => yes
[title] => 
[description] => 
)

)

)

[3] => Array
(
[file] => /home/xxx/public_html/engine/lib/entities.php
[line] => 509
[function] => fetchFromSql
[class] => Elgg\Database\EntityTable
[type] => ->
[args] => Array
(
[0] => SELECT DISTINCT e.* FROM elgg_entities e WHERE ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842) AND (e.site_guid IN (1)) AND ((1 = 1)) ORDER BY e.time_created desc LIMIT 0, 25
[1] => ElggBatch Object
(
[results:ElggBatch:private] => Array
(
)

[getter:ElggBatch:private] => elgg_get_entities
[chunkSize:ElggBatch:private] => 25
[callback:ElggBatch:private] => 
[offset:ElggBatch:private] => 0
[limit:ElggBatch:private] => 0
[retrievedResults:ElggBatch:private] => 0
[resultIndex:ElggBatch:private] => 0
[chunkIndex:ElggBatch:private] => 0
[processedResults:ElggBatch:private] => 0
[validGetter:ElggBatch:private] => 1
[callbackResult] => 
[incrementOffset:ElggBatch:private] => 
[incompleteEntities:ElggBatch:private] => Array
(
)

[totalIncompletes:ElggBatch:private] => 0
[options] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 0
)

)

)

)

[4] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
[line] => 471
[function] => _elgg_fetch_entities_from_sql
[args] => Array
(
[0] => SELECT DISTINCT e.* FROM elgg_entities e WHERE ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842) AND (e.site_guid IN (1)) AND ((1 = 1)) ORDER BY e.time_created desc LIMIT 0, 25
[1] => ElggBatch Object
(
[results:ElggBatch:private] => Array
(
)

[getter:ElggBatch:private] => elgg_get_entities
[chunkSize:ElggBatch:private] => 25
[callback:ElggBatch:private] => 
[offset:ElggBatch:private] => 0
[limit:ElggBatch:private] => 0
[retrievedResults:ElggBatch:private] => 0
[resultIndex:ElggBatch:private] => 0
[chunkIndex:ElggBatch:private] => 0
[processedResults:ElggBatch:private] => 0
[validGetter:ElggBatch:private] => 1
[callbackResult] => 
[incrementOffset:ElggBatch:private] => 
[incompleteEntities:ElggBatch:private] => Array
(
)

[totalIncompletes:ElggBatch:private] => 0
[options] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 0
)

)

)

)

[5] => Array
(
[file] => /home/xxx/public_html/engine/lib/entities.php
[line] => 495
[function] => getEntities
[class] => Elgg\Database\EntityTable
[type] => ->
[args] => Array
(
[0] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 25
[offset] => 0
[__ElggBatch] => ElggBatch Object
(
[results:ElggBatch:private] => Array
(
)

[getter:ElggBatch:private] => elgg_get_entities
[chunkSize:ElggBatch:private] => 25
[callback:ElggBatch:private] => 
[offset:ElggBatch:private] => 0
[limit:ElggBatch:private] => 0
[retrievedResults:ElggBatch:private] => 0
[resultIndex:ElggBatch:private] => 0
[chunkIndex:ElggBatch:private] => 0
[processedResults:ElggBatch:private] => 0
[validGetter:ElggBatch:private] => 1
[callbackResult] => 
[incrementOffset:ElggBatch:private] => 
[incompleteEntities:ElggBatch:private] => Array
(
)

[totalIncompletes:ElggBatch:private] => 0
[options] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 0
)

)

)

)

)

[6] => Array
(
[function] => elgg_get_entities
[args] => Array
(
[0] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 25
[offset] => 0
[__ElggBatch] => ElggBatch Object
(
[results:ElggBatch:private] => Array
(
)

[getter:ElggBatch:private] => elgg_get_entities
[chunkSize:ElggBatch:private] => 25
[callback:ElggBatch:private] => 
[offset:ElggBatch:private] => 0
[limit:ElggBatch:private] => 0
[retrievedResults:ElggBatch:private] => 0
[resultIndex:ElggBatch:private] => 0
[chunkIndex:ElggBatch:private] => 0
[processedResults:ElggBatch:private] => 0
[validGetter:ElggBatch:private] => 1
[callbackResult] => 
[incrementOffset:ElggBatch:private] => 
[incompleteEntities:ElggBatch:private] => Array
(
)

[totalIncompletes:ElggBatch:private] => 0
[options] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 0
)

)

)

)

)

[7] => Array
(
[file] => /home/xxx/public_html/engine/classes/ElggBatch.php
[line] => 295
[function] => call_user_func
[args] => Array
(
[0] => elgg_get_entities
[1] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 25
[offset] => 0
[__ElggBatch] => ElggBatch Object
(
[results:ElggBatch:private] => Array
(
)

[getter:ElggBatch:private] => elgg_get_entities
[chunkSize:ElggBatch:private] => 25
[callback:ElggBatch:private] => 
[offset:ElggBatch:private] => 0
[limit:ElggBatch:private] => 0
[retrievedResults:ElggBatch:private] => 0
[resultIndex:ElggBatch:private] => 0
[chunkIndex:ElggBatch:private] => 0
[processedResults:ElggBatch:private] => 0
[validGetter:ElggBatch:private] => 1
[callbackResult] => 
[incrementOffset:ElggBatch:private] => 
[incompleteEntities:ElggBatch:private] => Array
(
)

[totalIncompletes:ElggBatch:private] => 0
[options] => Array
(
[wheres] => Array
(
[0] => ((container_guid = 216842 OR owner_guid = 216842 OR site_guid = 216842) AND guid != 216842)
)

[limit] => 0
)

)

)

)

)

[8] => Array
(
[file] => /home/xxx/public_html/engine/classes/ElggBatch.php
[line] => 364
[function] => getNextResultsChunk
[class] => ElggBatch
[type] => ->
[args] => Array
(
)

)

[9] => Array
(
[file] => /home/xxx/public_html/engine/classes/ElggEntity.php
[line] => 2119
[function] => rewind
[class] => ElggBatch
[type] => ->
[args] => Array
(
)

)

[10] => Array
(
[file] => /home/xxx/public_html/engine/classes/ElggEntity.php
[line] => 2120
[function] => delete
[class] => ElggEntity
[type] => ->
[args] => Array
(
[0] => 1
)

)

[11] => Array
(
[file] => /home/xxx/public_html/engine/classes/ElggUser.php
[line] => 207
[function] => delete
[class] => ElggEntity
[type] => ->
[args] => Array
(
)

)

[12] => Array
(
[file] => /home/xxx/public_html/mod/spam_login_filter/actions/delete_and_report.php
[line] => 64
[function] => delete
[class] => ElggUser
[type] => ->
[args] => Array
(
)

)

[13] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/ActionsService.php
[line] => 88
[args] => Array
(
[0] => /home/xxx/public_html/mod/spam_login_filter/actions/delete_and_report.php
)

[function] => include
)

[14] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/ActionsService.php
[line] => 70
[function] => includeFile
[class] => Elgg\ActionsService
[type] => ::
[args] => Array
(
[0] => /home/xxx/public_html/mod/spam_login_filter/actions/delete_and_report.php
)

)

[15] => Array
(
[file] => /home/xxx/public_html/engine/lib/actions.php
[line] => 20
[function] => execute
[class] => Elgg\ActionsService
[type] => ->
[args] => Array
(
[0] => spam_login_filter/delete
)

)

[16] => Array
(
[function] => _elgg_action_handler
[args] => Array
(
[0] => Array
(
[0] => spam_login_filter
[1] => delete
)

[1] => action
)

)

[17] => Array
(
[file] => /home/xxx/public_html/engine/classes/Elgg/Router.php
[line] => 80
[function] => call_user_func
[args] => Array
(
[0] => _elgg_action_handler
[1] => Array
(
[0] => spam_login_filter
[1] => delete
)

[2] => action
)

)

[18] => Array
(
[file] => /home/xxx/public_html/index.php
[line] => 63
[function] => route
[class] => Elgg\Router
[type] => ->
[args] => Array
(
[0] => Elgg\Http\Request Object
(
[attributes] => Symfony\Component\HttpFoundation\ParameterBag Object
(
[parameters:protected] => Array
(
)

)

[request] => Symfony\Component\HttpFoundation\ParameterBag Object
(
[parameters:protected] => Array
(
)

)

[query] => Symfony\Component\HttpFoundation\ParameterBag Object
(
[parameters:protected] => Array
(
[__elgg_uri] => action/spam_login_filter/delete
[guid] => 216794
[__elgg_ts] => 1466700147
[__elgg_token] => lu1V1f12eibtCaZvb-HPzQ
)

)

[server] => Symfony\Component\HttpFoundation\ServerBag Object
(
[parameters:protected] => Array
(
[PATH] => /sbin:/usr/sbin:/bin:/usr/bin
[PWD] => /usr/local/cpanel/cgi-sys
[SHLVL] => 0
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /action/spam_login_filter/delete?guid=216794&__elgg_ts=1466700147&__elgg_token=lu1V1f12eibtCaZvb-HPzQ
[QUERY_STRING] => __elgg_uri=action/spam_login_filter/delete&guid=216794&__elgg_ts=1466700147&__elgg_token=lu1V1f12eibtCaZvb-HPzQ
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.1
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_QUERY_STRING] => __elgg_uri=action/spam_login_filter/delete&guid=216794&__elgg_ts=1466700147&__elgg_token=lu1V1f12eibtCaZvb-HPzQ
[REDIRECT_URL] => /action/spam_login_filter/delete
[REMOTE_PORT] => 64128
[SCRIPT_FILENAME] => /home/xxx/public_html/index.php
[SERVER_ADMIN] => webmaster@xxxalaxy.com
[CONTEXT_DOCUMENT_ROOT] => /home/xxx/public_html
[CONTEXT_PREFIX] => 
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/xxx/public_html
[REMOTE_ADDR] => 117.193.88.75
[SERVER_PORT] => 80
[SERVER_ADDR] => 162.250.233.253
[SERVER_NAME] => www.connectgalaxy.com
[SERVER_SOFTWARE] => Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9
[SERVER_SIGNATURE] => <address>Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9 Server at www.connectgalaxy.com Port 80</address>

[LD_LIBRARY_PATH] => /usr/local/apache/lib
[HTTP_COOKIE] => em_cdn_uid=t%3D1462559273200%26u%3Dd9491bf9a27a48a0a60c5c66c52afc71; em_p_uid=l:1464551705453|t:1464022345639|u:6440ddcacb3840dfaaf24342e7c9fafe; __atssc=folkd%3B1; Elgg=d2860419a1d24822529839b5f6460245; __atuvc=38%7C21%2C15%7C22%2C8%7C23%2C0%7C24%2C3%7C25; __utmt=1; __utma=192460088.1692866386.1462557692.1466692182.1466700033.53; __utmb=192460088.15.9.1466700112341; __utmc=192460088; __utmz=192460088.1465327205.50.2.utmcsr=folkd.com|utmccn=(referral)|utmcmd=referral|utmcct=/user/xxxalaxy; __utmv=192460088.|1=role=admin=1
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8,ta;q=0.6
[HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch
[HTTP_REFERER] => http://www.connectgalaxy.com/profile/AugustaBur
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_CONNECTION] => close
[HTTP_HOST] => www.connectgalaxy.com
[UNIQUE_ID] => V2wReqL66f0AAG07orIAAAAC
[REDIRECT_STATUS] => 200
[REDIRECT_dont_vary] => 1
[REDIRECT_no_gzip] => 1
[REDIRECT_UNIQUE_ID] => V2wReqL66f0AAG07orIAAAAC
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1466700154.82
[REQUEST_TIME] => 1466700154
[argv] => Array
(
[0] => __elgg_uri=action/spam_login_filter/delete&guid=216794&__elgg_ts=1466700147&__elgg_token=lu1V1f12eibtCaZvb-HPzQ
)

[argc] => 1
)

)

[files] => Symfony\Component\HttpFoundation\FileBag Object
(
[parameters:protected] => Array
(
)

)

[cookies] => Symfony\Component\HttpFoundation\ParameterBag Object
(
[parameters:protected] => Array
(
[em_cdn_uid] => t=1462559273200&u=d9491bf9a27a48a0a60c5c66c52afc71
[em_p_uid] => l:1464551705453|t:1464022345639|u:6440ddcacb3840dfaaf24342e7c9fafe
[__atssc] => folkd;1
[Elgg] => d2860419a1d24822529839b5f6460245
[__atuvc] => 38|21,15|22,8|23,0|24,3|25
[__utmt] => 1
[__utma] => 192460088.1692866386.1462557692.1466692182.1466700033.53
[__utmb] => 192460088.15.9.1466700112341
[__utmc] => 192460088
[__utmz] => 192460088.1465327205.50.2.utmcsr=folkd.com|utmccn=(referral)|utmcmd=referral|utmcct=/user/xxxalaxy
[__utmv] => 192460088.|1=role=admin=1
)

)

[headers] => Symfony\Component\HttpFoundation\HeaderBag Object
(
[headers:protected] => Array
(
[cookie] => Array
(
[0] => em_cdn_uid=t%3D1462559273200%26u%3Dd9491bf9a27a48a0a60c5c66c52afc71; em_p_uid=l:1464551705453|t:1464022345639|u:6440ddcacb3840dfaaf24342e7c9fafe; __atssc=folkd%3B1; Elgg=d2860419a1d24822529839b5f6460245; __atuvc=38%7C21%2C15%7C22%2C8%7C23%2C0%7C24%2C3%7C25; __utmt=1; __utma=192460088.1692866386.1462557692.1466692182.1466700033.53; __utmb=192460088.15.9.1466700112341; __utmc=192460088; __utmz=192460088.1465327205.50.2.utmcsr=folkd.com|utmccn=(referral)|utmcmd=referral|utmcct=/user/xxxalaxy; __utmv=192460088.|1=role=admin=1
)

[accept-language] => Array
(
[0] => en-US,en;q=0.8,ta;q=0.6
)

[accept-encoding] => Array
(
[0] => gzip, deflate, sdch
)

[referer] => Array
(
[0] => http://www.connectgalaxy.com/profile/AugustaBur
)

[accept] => Array
(
[0] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
)

[user-agent] => Array
(
[0] => Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
)

[upgrade-insecure-requests] => Array
(
[0] => 1
)

[connection] => Array
(
[0] => close
)

[host] => Array
(
[0] => www.connectgalaxy.com
)

)

[cacheControl:protected] => Array
(
)

)

[content:protected] => 
[languages:protected] => 
[charsets:protected] => 
[encodings:protected] => 
[acceptableContentTypes:protected] => 
[pathInfo:protected] => 
[requestUri:protected] => /action/spam_login_filter/delete?guid=216794&__elgg_ts=1466700147&__elgg_token=lu1V1f12eibtCaZvb-HPzQ
[baseUrl:protected] => 
[basePath:protected] => 
[method:protected] => 
[format:protected] => 
[session:protected] => 
[locale:protected] => 
[defaultLocale:protected] => en
)

)

)

)

[previous:Exception:private] => 
)

 

--------------------------------------------
 

This is when deleting an group:

Failed to load new ElggObject for GUID: 215224

        IOException Object
(
    [message:protected] =&gt; Failed to load new ElggObject for GUID: 215224
    [string:Exception:private] =&gt; exception &#039;IOException&#039; with message &#039;Failed to load new ElggObject for GUID: 215224&#039; in /home/xxx/public_html/engine/classes/ElggObject.php:80
Stack trace:
#0 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(100): ElggObject-&gt;__construct(Object(stdClass))
#1 /home/xxx/public_html/engine/lib/entities.php(372): Elgg\Database\EntityTable-&gt;rowToElggStar(Object(stdClass))
#2 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(660): entity_row_to_elggstar(Object(stdClass))
#3 /home/xxx/public_html/engine/lib/entities.php(509): Elgg\Database\EntityTable-&gt;fetchFromSql(&#039;SELECT DISTINCT...&#039;, Object(ElggBatch))
#4 /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php(471): _elgg_fetch_entities_from_sql(&#039;SELECT DISTINCT...&#039;, Object(ElggBatch))
#5 /home/xxx/public_html/engine/lib/entities.php(495): Elgg\Database\EntityTable-&gt;getEntities(Array)
#6 [internal function]: elgg_get_entities(Array)
#7 /home/xxx/public_html/engine/classes/ElggBatch.php(295): call_user_func(&#039;elgg_get_entiti...&#039;, Array)
#8 /home/xxx/public_html/engine/classes/ElggBatch.php(364): ElggBatch-&gt;getNextResultsChunk()
#9 /home/xxx/public_html/engine/classes/ElggEntity.php(2094): ElggBatch-&gt;rewind()
#10 /home/xxx/public_html/engine/lib/elgglib.php(1699): ElggEntity-&gt;delete()
#11 [internal function]: elgg_batch_delete_callback(Object(ElggGroup), &#039;elgg_get_entiti...&#039;, Array)
#12 /home/xxx/public_html/engine/classes/ElggBatch.php(212): call_user_func(&#039;elgg_batch_dele...&#039;, Object(ElggGroup), &#039;elgg_get_entiti...&#039;, Array)
#13 /home/xxx/public_html/mod/group_tools/actions/admin/bulk_delete.php(19): ElggBatch-&gt;__construct(&#039;elgg_get_entiti...&#039;, Array, &#039;elgg_batch_dele...&#039;, 25, false)
#14 /home/xxx/public_html/engine/classes/Elgg/ActionsService.php(88): include(&#039;/home/xxx/...&#039;)
#15 /home/xxx/public_html/engine/classes/Elgg/ActionsService.php(70): Elgg\ActionsService::includeFile(&#039;/home/xxx/...&#039;)
#16 /home/xxx/public_html/engine/lib/actions.php(20): Elgg\ActionsService-&gt;execute(&#039;group_tools/adm...&#039;)
#17 [internal function]: _elgg_action_handler(Array, &#039;action&#039;)
#18 /home/xxx/public_html/engine/classes/Elgg/Router.php(80): call_user_func(&#039;_elgg_action_ha...&#039;, Array, &#039;action&#039;)
#19 /home/xxx/public_html/index.php(63): Elgg\Router-&gt;route(Object(Elgg\Http\Request))
#20 {main}
    [code:protected] =&gt; 0
    [file:protected] =&gt; /home/xxx/public_html/engine/classes/ElggObject.php
    [line:protected] =&gt; 80
    [trace:Exception:private] =&gt; Array
        (
            [0] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
                    [line] =&gt; 100
                    [function] =&gt; __construct
                    [class] =&gt; ElggObject
                    [type] =&gt; -&gt;
                    [args] =&gt; Array
                        (
                            [0] =&gt; stdClass Object
                                (
                                    [guid] =&gt; 215224
                                    [type] =&gt; object
                                    [subtype] =&gt; 3
                                    [owner_guid] =&gt; 215223
                                    [site_guid] =&gt; 1
                                    [container_guid] =&gt; 215223
                                    [access_id] =&gt; 2
                                    [time_created] =&gt; 1466267597
                                    [time_updated] =&gt; 1466267597
                                    [last_action] =&gt; 1466267597
                                    [enabled] =&gt; yes
                                    [title] =&gt;
                                    [description] =&gt;
                                )

                        )

                )

            [1] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/lib/entities.php
                    [line] =&gt; 372
                    [function] =&gt; rowToElggStar
                    [class] =&gt; Elgg\Database\EntityTable
                    [type] =&gt; -&gt;
                    [args] =&gt; Array
                        (
                            [0] =&gt; stdClass Object
                                (
                                    [guid] =&gt; 215224
                                    [type] =&gt; object
                                    [subtype] =&gt; 3
                                    [owner_guid] =&gt; 215223
                                    [site_guid] =&gt; 1
                                    [container_guid] =&gt; 215223
                                    [access_id] =&gt; 2
                                    [time_created] =&gt; 1466267597
                                    [time_updated] =&gt; 1466267597
                                    [last_action] =&gt; 1466267597
                                    [enabled] =&gt; yes
                                    [title] =&gt;
                                    [description] =&gt;
                                )

                        )

                )

            [2] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
                    [line] =&gt; 660
                    [function] =&gt; entity_row_to_elggstar
                    [args] =&gt; Array
                        (
                            [0] =&gt; stdClass Object
                                (
                                    [guid] =&gt; 215224
                                    [type] =&gt; object
                                    [subtype] =&gt; 3
                                    [owner_guid] =&gt; 215223
                                    [site_guid] =&gt; 1
                                    [container_guid] =&gt; 215223
                                    [access_id] =&gt; 2
                                    [time_created] =&gt; 1466267597
                                    [time_updated] =&gt; 1466267597
                                    [last_action] =&gt; 1466267597
                                    [enabled] =&gt; yes
                                    [title] =&gt;
                                    [description] =&gt;
                                )

                        )

                )

            [3] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/lib/entities.php
                    [line] =&gt; 509
                    [function] =&gt; fetchFromSql
                    [class] =&gt; Elgg\Database\EntityTable
                    [type] =&gt; -&gt;
                    [args] =&gt; Array
                        (
                            [0] =&gt; SELECT DISTINCT e.* FROM elgg_entities e  WHERE  ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223) AND  (e.site_guid IN (1)) AND ((1 = 1)) ORDER BY e.time_created desc LIMIT 0, 25
                            [1] =&gt; ElggBatch Object
                                (
                                    [results:ElggBatch:private] =&gt; Array
                                        (
                                        )

                                    [getter:ElggBatch:private] =&gt; elgg_get_entities
                                    [chunkSize:ElggBatch:private] =&gt; 25
                                    [callback:ElggBatch:private] =&gt;
                                    [offset:ElggBatch:private] =&gt; 0
                                    [limit:ElggBatch:private] =&gt; 0
                                    [retrievedResults:ElggBatch:private] =&gt; 0
                                    [resultIndex:ElggBatch:private] =&gt; 0
                                    [chunkIndex:ElggBatch:private] =&gt; 0
                                    [processedResults:ElggBatch:private] =&gt; 0
                                    [validGetter:ElggBatch:private] =&gt; 1
                                    [callbackResult] =&gt;
                                    [incrementOffset:ElggBatch:private] =&gt;
                                    [incompleteEntities:ElggBatch:private] =&gt; Array
                                        (
                                        )

                                    [totalIncompletes:ElggBatch:private] =&gt; 0
                                    [options] =&gt; Array
                                        (
                                            [wheres] =&gt; Array
                                                (
                                                    [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                                )

                                            [limit] =&gt; 0
                                        )

                                )

                        )

                )

            [4] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/classes/Elgg/Database/EntityTable.php
                    [line] =&gt; 471
                    [function] =&gt; _elgg_fetch_entities_from_sql
                    [args] =&gt; Array
                        (
                            [0] =&gt; SELECT DISTINCT e.* FROM elgg_entities e  WHERE  ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223) AND  (e.site_guid IN (1)) AND ((1 = 1)) ORDER BY e.time_created desc LIMIT 0, 25
                            [1] =&gt; ElggBatch Object
                                (
                                    [results:ElggBatch:private] =&gt; Array
                                        (
                                        )

                                    [getter:ElggBatch:private] =&gt; elgg_get_entities
                                    [chunkSize:ElggBatch:private] =&gt; 25
                                    [callback:ElggBatch:private] =&gt;
                                    [offset:ElggBatch:private] =&gt; 0
                                    [limit:ElggBatch:private] =&gt; 0
                                    [retrievedResults:ElggBatch:private] =&gt; 0
                                    [resultIndex:ElggBatch:private] =&gt; 0
                                    [chunkIndex:ElggBatch:private] =&gt; 0
                                    [processedResults:ElggBatch:private] =&gt; 0
                                    [validGetter:ElggBatch:private] =&gt; 1
                                    [callbackResult] =&gt;
                                    [incrementOffset:ElggBatch:private] =&gt;
                                    [incompleteEntities:ElggBatch:private] =&gt; Array
                                        (
                                        )

                                    [totalIncompletes:ElggBatch:private] =&gt; 0
                                    [options] =&gt; Array
                                        (
                                            [wheres] =&gt; Array
                                                (
                                                    [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                                )

                                            [limit] =&gt; 0
                                        )

                                )

                        )

                )

            [5] =&gt; Array
                (
                    [file] =&gt; /home/xxx/public_html/engine/lib/entities.php
                    [line] =&gt; 495
                    [function] =&gt; getEntities
                    [class] =&gt; Elgg\Database\EntityTable
                    [type] =&gt; -&gt;
                    [args] =&gt; Array
                        (
                            [0] =&gt; Array
                                (
                                    [wheres] =&gt; Array
                                        (
                                            [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                        )

                                    [limit] =&gt; 25
                                    [offset] =&gt; 0
                                    [__ElggBatch] =&gt; ElggBatch Object
                                        (
                                            [results:ElggBatch:private] =&gt; Array
                                                (
                                                )

                                            [getter:ElggBatch:private] =&gt; elgg_get_entities
                                            [chunkSize:ElggBatch:private] =&gt; 25
                                            [callback:ElggBatch:private] =&gt;
                                            [offset:ElggBatch:private] =&gt; 0
                                            [limit:ElggBatch:private] =&gt; 0
                                            [retrievedResults:ElggBatch:private] =&gt; 0
                                            [resultIndex:ElggBatch:private] =&gt; 0
                                            [chunkIndex:ElggBatch:private] =&gt; 0
                                            [processedResults:ElggBatch:private] =&gt; 0
                                            [validGetter:ElggBatch:private] =&gt; 1
                                            [callbackResult] =&gt;
                                            [incrementOffset:ElggBatch:private] =&gt;
                                            [incompleteEntities:ElggBatch:private] =&gt; Array
                                                (
                                                )

                                            [totalIncompletes:ElggBatch:private] =&gt; 0
                                            [options] =&gt; Array
                                                (
                                                    [wheres] =&gt; Array
                                                        (
                                                            [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                                        )

                                                    [limit] =&gt; 0
                                                )

                                        )

                                )

                        )

                )

            [6] =&gt; Array
                (
                    [function] =&gt; elgg_get_entities
                    [args] =&gt; Array
                        (
                            [0] =&gt; Array
                                (
                                    [wheres] =&gt; Array
                                        (
                                            [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                        )

                                    [limit] =&gt; 25
                                    [offset] =&gt; 0
                                    [__ElggBatch] =&gt; ElggBatch Object
                                        (
                                            [results:ElggBatch:private] =&gt; Array
                                                (
                                                )

                                            [getter:ElggBatch:private] =&gt; elgg_get_entities
                                            [chunkSize:ElggBatch:private] =&gt; 25
                                            [callback:ElggBatch:private] =&gt;
                                            [offset:ElggBatch:private] =&gt; 0
                                            [limit:ElggBatch:private] =&gt; 0
                                            [retrievedResults:ElggBatch:private] =&gt; 0
                                            [resultIndex:ElggBatch:private] =&gt; 0
                                            [chunkIndex:ElggBatch:private] =&gt; 0
                                            [processedResults:ElggBatch:private] =&gt; 0
                                            [validGetter:ElggBatch:private] =&gt; 1
                                            [callbackResult] =&gt;
                                            [incrementOffset:ElggBatch:private] =&gt;
                                            [incompleteEntities:ElggBatch:private] =&gt; Array
                                                (
                                                )

                                            [totalIncompletes:ElggBatch:private] =&gt; 0
                                            [options] =&gt; Array
                                                (
                                                    [wheres] =&gt; Array
                                                        (
                                                            [0] =&gt; ((container_guid = 215223 OR owner_guid = 215223 OR site_guid = 215223) AND guid != 215223)
                                                        )

                                                    [limit] =&gt; 0
                                                )

                    &nbs

Performance and Scalability

Performance and Scalability

If you've got a need for speed, this group is for you.