[eluser]patates.sogan[/eluser]
Hi,
bulmer thanks for your reply. I see your problem is different than mine. I figured out that using magic functions __get and __set for properties was the cause of my problem. When using those functions "$this->db" is referred as a property and raises error.
I simply removed those magic functions and everything's fine now.
Regards.