Any help would be appreciated!
<?php Loader::element('footer_required'); ?>
1 - No code has been manually edited.
2 - All other pages work normally and function/display perfectly
3 - The bad page (home page) is missing other sections as well. I assume since processing stops at the middle all stuff that follows isn't added. When looking at other pages, there are several .js references that probably enable the toolbar etc...
Another approach would be to restore the database from an earlier development state - if you have any database backup available that ist.
We have a clean backup but we would lose A LOT valid changes to other pages etc...
<div class="col_12" id="content"> <?php $a = new Area('Main'); $a->display($c); ?> </div>
I don't know where to go from here. I don't know how to get rid of those blocks?
<?php $a = new Area('New-Main'); $a->display($c); ?>
Then there will be an editable area but the blocks are gone (they will however reappear if you add an area named 'Main' again, so be aware…). It's not the cleanest of solutions but might just help you with your problem.
I changed the setting to not show errors but the issue persists:
# concrete5 Version
# concrete5 Packages
Silence Theme (1.3.3).
# concrete5 Overrides
# Server Software
# Server API
# PHP Version
Anyone know of a way to manually remove blocks from a page? Maybe via MySQL tables?
Still don't know what it was exactly causing the error. But I do know it was a bad block. Not only did it cause the mess but I believe it caused a BUG in concrete5 that wouldn't change blocks based on versions. So the bad block persisted etc...
Anyway, I fixed it by digging in to the database. Found the area that contained the block having the issue. Found the cID and the arHandle (Main). Then found the table CollectionVersionBlocks and through searching & sorting I removed all blocks from all versions except the original version.
Not sure if that makes any sense to anyone!
Thank you so much mckoenig and garagan for all your help and advice.