Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49651 bytes) in /hsphere/local/home/lundsholm2/3manager.com/manager/processors/cache_sync.class.processor.php on line 44
I just had this issue too. I think our cause was a script we used to publish documents from another site through the API.
Anyway, I made this script to search for the documents which cause the problem:
$allDocs = mysql_query("SELECT id, parent FROM modx_site_content ORDER BY id DESC"); while($doc = mysql_fetch_assoc($allDocs)) { $parent = mysql_query("SELECT id FROM modx_site_content WHERE parent = " . $doc['id'] . " AND id = " . $doc['parent']); if(mysql_num_rows($parent)) { while($parentDoc = mysql_fetch_assoc($parent)) { echo 'Infinte loop found '; echo 'Document #' . $doc['id'] . ' and document #' . $parentDoc['id'] . ' are eachothers parent.'; } } }