Global areas Mess with Versions

Permalink
Hi to all!
I found a strange and very frustrating problem for me while working with C5. I am building a theme from HTML that contains 3 different page templates (One for the home page and two more for inner pages). I have 4 Global areas (equal for all of page templates):

<?php
$a = new GlobalArea('Header Nav');
$a->display();
?>
This one I use for Auto Nav

The next three are in the footer of the page:
<?php
$a = new GlobalArea('Contact Details');
$a->display();
?>

<?php
$a = new GlobalArea('Quick Links');
$a->display();
?>

<?php
$a = new GlobalArea('Partners');
$a->display();
?>

So... what is my drama:
Here is the link to demo site:
http://bg-vet.com/Concrete/

Whenever I edit the global areas they appears in site in different versions or I receive an error message when I try to edit some of blocks: "Fatal error: Call to a member function setBlockAreaObject() on a non-object in /home/bgvetcom/public_html/Concrete/updates/concrete5.6.1.2_updater/concrete/tools/edit_block_popup.php on line 15"

I tried to clear cache, also browser's cache, but when I refresh the browser I see different versions of the page!

Can anybody help with that?!
If needed I could send administrative details for login.

 
webpresso replied on at Permalink Reply
webpresso
Hi ljubo

Have you installed the Auto Nav Pro?
If so, see here:

http://www.concrete5.org/developers/bugs/5-6-1-1/auto-nav-pro-issue...

Good Luck,
Tino
ljubo replied on at Permalink Reply
Thank you! I played around and I think I resolve it:
I get rid of <?php $a = new GlobalArea('Header Nav'); $a->display(); ?>

and used a custom Global Block instead: <?php $a = new GlobalArea('topnavigation'); $a->display(); ?>

After that I added Auto-Nav block into that Global Area

cleared the cache

...and seems that it works...

I'll check again and will post feedback later!