Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

FiveFilters.org Agent

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.

rated : 23 Up Down

Keyvan Minoukadeh - Dec 08, 2013 at 09:58PM CET

FiveFilters.org Agent

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);

with:

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.

rated : 10 Up Down

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.

rated : 3 Up Down

Keyvan Minoukadeh - Dec 12, 2013 at 08:49PM CET

FiveFilters.org Agent

Thanks for the update. Glad the solution worked. This should be fixed in the next version.

rated : 12 Up Down

This question has received the maximum number of answers.