Can't reproduce error
Posted: 27. May 2015 09:50
Hi,
I have a client who is having trouble with her PHP website which is hosted by a company called Binero. Apparently, the problem appeared after the web host upgraded the PHP version to 5.6.8, and suddenly his (the clients) website started displaying an error that looks like this:
Deprecated: Non-static method XXXX should not be called statically, assuming $this from incompatible context in XXXX on line XXXX
I thought I would try to tackle this, so I figured I would install XAMPP 5.6.8 on my windows 7 computer and try to reproduce the problem so I can debug his site. The thing is, the error doesn't appear on the site hosted on my computer. I had a look in php.ini and it is set up to display errors, but I don't get any, they only appear on the site hosted by Binero. So I'm wondering why this is, and how can I reproduce the problem so I can start debugging?
Thanks in advanced
Raz
P.S. I ran phpinfo() and it is indeed running PHP 5.6.8.
I have a client who is having trouble with her PHP website which is hosted by a company called Binero. Apparently, the problem appeared after the web host upgraded the PHP version to 5.6.8, and suddenly his (the clients) website started displaying an error that looks like this:
Deprecated: Non-static method XXXX should not be called statically, assuming $this from incompatible context in XXXX on line XXXX
I thought I would try to tackle this, so I figured I would install XAMPP 5.6.8 on my windows 7 computer and try to reproduce the problem so I can debug his site. The thing is, the error doesn't appear on the site hosted on my computer. I had a look in php.ini and it is set up to display errors, but I don't get any, they only appear on the site hosted by Binero. So I'm wondering why this is, and how can I reproduce the problem so I can start debugging?
Thanks in advanced
Raz
P.S. I ran phpinfo() and it is indeed running PHP 5.6.8.