Blank white page with JSON when saving block edits
Permalink{"message":null,"title":null,"time":"2017-08-10 09:04:29","redirectURL":"","aID":"21765","arHandle":"Main Light","bID":"21760","cID":"1770","pages":[{"name":"Page name","cID":"1770"}]}
You then just close the 'blank' page, and then refresh original page to see edits. The changes do get saved, but it's an annoying issue for admin staff when continually having to go through this process for every amendment made.
I am using a custom theme, and have checked extensively and there are no errors in the theme.
This issue has only been happening since upgrading to 5.7.5.13. I am not able to upgrade to 5.8 at this point in time.
Has anyone seen this issue, or can suggest where I might start to look to fix?
NB: I have already seen this post about this issue:
https://www.concrete5.org/community/forums/usage/blank-white-page-wi...
and this bug fix:
https://github.com/concrete5/concrete5/pull/4523...
(not relevant as amends are included in 5.7.5.13)
Thanks all.
Thanks.
When experiencing errors using a custom theme, it is recommended to activate the default Elemental theme to see if you still experience the issue.
This will help point you in the right direction of where the issue might be.
I have fixed it now, it turns out that it was being caused by 'Google Tag Manager' tracking code. I had to disable the code while in edit mode and it has fixed the issue.
<?php $c = Page::getCurrentPage(); if (!$c->isEditMode()) {
$this->inc('elements/tracking-codes.php');
} ?>
It has meant that I've had to hard code rather than use the Dashboard -> Systems & settings -> SEO & Statistics -> Tracking Codes - Not ideal, but not the end of the world.
Can you paste any console errors from your browser when loading the page and opening the edit box where you see the issue?
Thanks