Strict standard error
Zeljko — Dec 05, 2013 09:05PM CET
In PDFNewspaper script, v 2.4, give error: Strict Standards: Declaration of NewspaperPDF::Write() should be compatible with TCPDF::Write
Please, what can be done to avoid this error?
4 Community Answers
Keyvan Minoukadeh - Dec 08, 2013 at 09:01PM CET
Hi Zeljiko, sorry for the late reply. Can you tell me which version of PHP you're using? If you're not sure, you can use our compatibility test file found here: http://fivefilters.org/pdf-newspaper/pdf_compatibility_test.zip - you will have to extract the zip, upload the PHP file to your server and access the file via your browser to see the information.
Keyvan Minoukadeh - Dec 08, 2013 at 09:58PM CET
Just an update on this, please try making the following change to makepdf.php:
Replacing the following line (should appear near the top of the file - after the comments):
error_reporting(E_ALL ^ E_NOTICE);
error_reporting(E_ALL ^ (E_NOTICE | E_STRICT));
Let me know if you still have trouble. It appears error reporting defaults have changed in newer version of PHP. We'll try to address this in the next version.
Zeljko - Dec 11, 2013 at 08:57PM CET
Thank you for answer Keyvan. It's PHP Version 5.4.19, but your suggestion solve problem.
Keyvan Minoukadeh - Dec 12, 2013 at 08:49PM CET
Thanks for the update. Glad the solution worked. This should be fixed in the next version.