“Fatal error: Call to a member function execute() on a non-object in”
I am not going to delve too much in trying to fix this since the solution was pretty straightforward in my case.
"MYSQL tables and Aliases are case sensitive in Most Linux Platforms"
So if you develop in Microsoft Windows and Upload to a linux server, you will most likely run into this issue if you do not pay attention to case sensitivity.
This case sensitivity issues with mysql on a linux/unix platform can be turned on and off in my.ini.
lower_case_table_names=1 or lower_case_table_names=0