Closed (works as designed)
Project:
Webform2PDF
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2011 at 08:44 UTC
Updated:
1 Oct 2011 at 17:45 UTC
PHP Fatal error: Access level to W2PDF::$header_logo must be public (as in class TCPDF) in /sites/all/modules/webform2pdf/webform2pdf.class.inc on line 11
The error comes up when trying to generate a PDF on the results page of a Webform. Of course this results in a WSOD. This error only comes up on our live site, but on our localhost it is running fine.
Any ideas what could be causing this? Thanks.
Comments
Comment #1
shafter commentedCan you please tell, which PHP, and TCPD version do you have on live site? Is it differs from the ones on localhost? We couldn't reproduce this behavior.
Comment #2
peps commentedNevermind my post, it was on our end. The TCPDF uploaded was a wrong version. Sorry abou that.
Comment #3
shafter commentedComment #4
pixelsmooth commentedHow were you able to resolve this? Where did you get the right TCPDF file?
Comment #5
grapes777 commentedin the webform2pdf.class.inc changing all instances of "protected" to "public" worked for me...