Comments (8)
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?
from fpdi.
Simey, as we are not able to reproduce this, could you offer more details on that issue?
from fpdi.
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?
from fpdi.
Tests ran with E_ALL. Again: Please verify that ALL related classes are up to date.
from fpdi.
Hello Jan, we are investigating why we are having a failure in moodle - see https://tracker.moodle.org/browse/MDL-55848
It is definitely a problem with opcache caching file/class before TCPDF is available but we still can't understand why it's happening and why is it a problem on php7.1 only
If the line https://github.com/Setasign/FPDI/blob/master/fpdi_bridge.php#L19 is replaced with "if (false)" everything works.
from fpdi.
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/
from fpdi.
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.
from fpdi.
Ok, perfect, thanks for reporting anyway!
from fpdi.
Related Issues (20)
- Pages are overwritten after merging PDFs with more than 50 pages HOT 6
- special characters not correctly shown HOT 17
- PDF/A : endobj is missing EOL-Marker HOT 3
- Class "FPDF" not found HOT 2
- Custom Font HOT 3
- Added Text missing except on first page when viewing with some PDF software (incl. Acrobat) HOT 1
- setasign\\FpdiPdfParser\\PdfParser\\PdfPars Class not founded HOT 3
- PDF/A-3 with TCPDF (parameter not transmit)
- How wrap long title HOT 3
- FPDI - Getting "CrossReferenceException::OBJECT_NOT_FOUND" while trying to ImportPage from existing PDF file
- Indirect references in link annotation dictionaries creates corrupted PDFs (when FPDI is used with FPDF)
- Unable to find PDF file header. HOT 2
- while I setSourceFile ,then importPage, the seal missed HOT 1
- Problem with Y Coordinate on different page size HOT 2
- Undefined property: setasign\Fpdi\Tcpdf\Fpdi::$PDFVersion HOT 8
- Set Meta Data HOT 3
- Getting error while adding custom font. HOT 1
- (Question) Replace an Image inside a PDF HOT 1
- Snyk ReDoS vulnerability HOT 1
- WriteHTML() not possible anymore HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpdi.