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 7.1 compatibility #9
Comments
I just executed our internal tests against PHP 7.1.0RC1 and previous beta3 release and both went through. Could you please verify that all related classes are up to date? |
Simey, as we are not able to reproduce this, could you offer more details on that issue? |
Hi, we are still trying to figure out why we are getting errors...have you checked your error.log to see if there's any error there? Something like callling non-static methods statically? |
Tests ran with E_ALL. Again: Please verify that ALL related classes are up to date. |
Hello Jan, we are investigating why we are having a failure in moodle - see https://tracker.moodle.org/browse/MDL-55848 |
That behaviour is very strange. It would mean that fpdi_bridge would never extend TCPDF but a call of is_subclass_of($this, 'TCPDF') would return true? I guess you should report this, after some more validation, on https://bugs.php.net/ |
yes, I don't believe this is a bug in FPDI. If it won't resolve itself in RC2 or stable release of php7.1 we'll have to patch the library included in moodle in order to hide this error. We already have another report of opcache messing with class definitions and it's hard to report to php because we can't provide reliable reproduction steps. Thank you for the prompt reply and your help. Feel free to close this issue and, if you are interested, follow bug in our tracker. |
Ok, perfect, thanks for reporting anyway! |
Hi, we currently use this library on moodle core.
Doing some compatibility tests on the new php version (7.1) we noticed a error on this line.
_Exception - Call to undefined method FPDF_TPL::prepareValue()
Apparently there were some changes on the way php handles inheritance, probably that's why this works fine on PHP7 but not on 7.1
The text was updated successfully, but these errors were encountered: