When generating PDF, I'm getting the following warning

Deprecated function: Creation of dynamic property W2PDF::$footer_string is deprecated in W2PDF->setFooterData() (line 95 of /app-drupal7/web/sites/all/modules/contrib/webform2pdf/webform2pdf.class.inc).
Deprecated function: Creation of dynamic property W2PDF::$footer_string is deprecated in W2PDF->setFooterData() (line 95 of /app-drupal7/web/sites/all/modules/contrib/webform2pdf/webform2pdf.class.inc).
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

VladimirAus created an issue. See original summary.

vladimiraus’s picture

vladimiraus’s picture

Title: PHP 8.2 » Deprecated function: Creation of dynamic property W2PDF::$footer_string is deprecated

chetan 11 made their first commit to this issue’s fork.

chetan 11’s picture

Status: Active » Needs review

Please check the above MR.

vladimiraus’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. 👀

mr.york’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.