The PHP back end has encountered a syntax error, but reporting the 'wrong' line.
Actually, the line is correct. That's the point at which the PHP backend gave up processing the file. i.e. the syntax error only became apparent when the whole block of code (terminated by the } ) was processed. The actually error is usually close by (above) the line reported in the error message. On Aug 12, 2:01 pm, Mike Digital Egg <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone come across error messages which say there is a problem > with the wrong line? I am getting the following error message: > > Fatal error: Call to a member function on a non-object in /path/app/ > app_controller.php on line 65 > > When I look at line 65 in app_controller.php it is just the closing } > on a function, this function is being called beforeFilter throughout > the site with no problems, but occasionally the above error message > appears? > > Anyone come across this behaviour before? > > Cheers > > Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
