-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 5.6 incompatibility #17
Comments
If you send a patch, it will be accepted. |
I am having the same problem, but downgrading to php 5.4.45 didn't solve the problem. |
Yes @littlewine. I had this type of issue in other situations and disabling the notices solved. But this is not a real solution, because the problem is still there. With the time I realized that I really had to fix my classes, and so changed their methods signatures. Anyway, in that case my PHP version was 5.4.12. Maybe you have to downgrade even more for this to work. |
@diegohdk could you please share the updated code with the method signatures? |
Hello @littlewine. I don't have an updated version of these classes. The fix that I mentioned was on another project. I could make a fix for this project too but I don't have time at this moment. But to help you, on my other project I disabled these errors by changing
The Note: this will only work if your web server is Apache. For other servers you might find another way. |
Running the server on a PHP 5.6 installation, on step Database Initialisation we see the following:
These runtime notices are due to the subclasses having different method signatures from their parent classes. Disabling the runtime notices on PHP 5.4 seemed to work, but on 5.6 don't.
Unfortunately I can't downgrade PHP. So is there any chance to get these classes updated for PHP 5.4+?
The text was updated successfully, but these errors were encountered: