editing block gives an arhandle error every time

Permalink 1 user found helpful
Every time I edit a block it comes up with the following message:

{"aID":"509","arHandle":"Header:Layout2:Cell1","cID":"131","error":false,"bID":"751"}

everything continues on ok except the edit is not visible on screen. you have to exit edit mode and apply changes to see the amends you have made.

Does anyone know what is happening here?

thanks for any help.

 
guythomas replied on at Permalink Reply
guythomas
Try clearing your concrete5 cache from the dashboard. I get those kind of errors every one in awhile and that is always the fix

-guy
StayArrr replied on at Permalink Reply
Have exactly the same error! But clearing cache isn`t solving the problem. I had this from today - in the afternoon everything works fine, but now I get thos errors - PLEASE, someone help
tallacman replied on at Permalink Reply
tallacman
I don't know if this is recommended anywhere but when I'm in development mode, set the cache very low. I use 3 minutes global in the dashboard. In version 5.4.1 the standard is 2 hours and the cacheing method is very effective.

Might help.
Steve
StayArrr replied on at Permalink Reply
Ok, I tried this and set it to 1 minute - but don`t work... I never had this problem before - the website is some days before release... Don`t know from where this error might come
fatherb replied on at Permalink Reply
thanks for the reply guythomas but clearing the cache didn't have any effect.

does anyone have any other ideas? this is a relatively new problem - have only noticed it in the last week or so.
jordanlev replied on at Permalink Reply
jordanlev
This is not a cache issue but rather the result of something wrong with the javascript in one of your blocks (that message is the AJAX response data, and normally it is handled by javascript code but if there's a problem that prevents this code from running, it just gets outputted to the screen as if it were text or html -- very confusing!)

I had this happen on a site and it was caused by duplicate jquery files being included by another block on the page (specifically, "jquery.forms.js" which was already included by concrete5 and was then also being added by a block). Unfortunately Firebug didn't show any kind of error about this so it was very difficult to track down.

Hopefully that points you in the right direction.

-Jordan
TravisN replied on at Permalink Reply
TravisN
I have been getting this error too. Jordenlev is right, it's javascript that is the problem. The issue for me however was not within concrete but safari. The error started happening out of the blue and I couldn't work out why, then I checked the safari extensions. The DivX HiQ extension (official release from DivX) was causing the problem. Once disabled, Concrete5 would update with no problems.

My version of DivX HiQ is 2.1.1.94 for those interested.
akashicstudios replied on at Permalink Reply
hola,

I had this one coming at me for a while now, AND it was because I had a block on my page that had some JS conflict of some kind. I did some process of elimination, removing blocks one at a time, going out of edit mode, then back in, then try to add a new block. Also I made an educated guess about the time the error starting happening and what blocks were added around that time. Turns out it didn't take me long to find the block that was conflicting. After removing that block the page works as normal. Now at least I have the issue isolated and I can inspect that block more closely and find the problem.
imran replied on at Permalink Reply
This is because of one of your block existing on page, and the inspect the controller of that block, I have also this problem occurred but i have fixed it, by removing extra statement or something wrong from controller particularly from controller -> Save().
amrod replied on at Permalink Reply
amrod
after testing a theme that was giving the same errors on all block add and edit,
solution is:
make sure all javascripts are written before
<?php   Loader::element('footer_required'); ?>

This is happening on 5.6 + not on 5.5.