By A Web Design
We have encountered this error during a Joomla restore process on a local computer.
The restore was being done after obtaining a backup from our website on the Internet using the Joomla back component – Akeeba Backup (formally known as JoomlaPack)
The Joomla Administrator’s section restored properly.
The Joomla Front end failed to execute even after the restore completed successfully.The error message displayed is as shown in diagram 1.

Diagram 1
Login as Administrator. In the admin panel Click on the icon Global Configuration as show in diagram 2.

Diagram 2

Diagram 3
Click the tab Server.
In the Server Settings section, ensure that the Gzip Page Compression is set to No.
After setting this property to No, the front end of the website should display but a Notice maybe displayed at the top of the page if your php.ini file has its display_errors=On as shown in diagram 4.
Error "Trying to get property of non-object" in aceseftools.php on line ***

Diagram 4
Locate the file.
../administrator/components/com_acesef/classes/aceseftools.php
FIND the following line of code:
array_unshift($menus, $row->name);
ADD
if (is_null($row))
{
break;
}
BEFORE
array_unshift($menus, $row->name);
TO READ AS:
if (is_null($row))
{
break;
}
array_unshift($menus, $row->name);
The notice should get resolved.