Notice (8): Trying to get property of non-object [APP/Template/Pages/view.ctp, line 5]

Notice (8): Trying to get property of non-object [APP/Template/Pages/view.ctp, line 38]