Error: Class Area not found , while saving a block after making changes.

Permalink 2 users found helpful
When i edit a block and go to design and custom template and add class. after doing that when i click on save button , i got below error as popup.
What could be the issue ?


{"error":{"message":"Class 'Concrete\\Controller\\Backend\\UserInterface\\Area' not found"},"errors":["Class 'Concrete\\Controller\\Backend\\UserInterface\\Area' not found"]}

Thanks in advance,

srjahir32
 
andrew replied on at Permalink Reply
andrew
What version are you running? Don't see this using 5.7.3.1
publicb replied on at Permalink Reply
just experienced this issue in 5.7.5.13 and solved it with farion's method.
farion replied on at Permalink Reply
farion
Had the same issue with Concrete5 5.7.4.2

Fixed it like this;

In concrete/controllers/backend/user_interface/block.php change line 87 to:
$ax = \Concrete\Core\Area\Area::getOrCreate($cx, $ax);

Best,
farion
grafoman replied on at Permalink Reply
Had the same problem, this fixed it. Thank you!
felixb101 replied on at Permalink Reply
felixb101
same with concrete5 - 5.7.5.9, fixed also
jasteele12 replied on at Permalink Reply
jasteele12
Did anyone submit a bug report? ;)