File suddenly showing PHP error

Hi,

My knowledge of PHP is virtually zero - working on that :slight_smile:

A file is suddenly showing the following error

PHP Fatal error: Call to a member function execute() on a non-object in (file path and name)  on line 88

There have been no changes that I know of.

Does anyone know why the file would suddenly be throwing this error and what it means, please?

Could be many reasons, if I were to guess Iโ€™d say that it might try to fetch something from a database, api or another store of some sort, and for some reason itโ€™s no longer getting the data it expects and the lack of validation gives you an error.

If you add some code someone might be able to see your problem, without it itโ€™s a guessing game :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service