• Hi there,

    I just installed your plugin on a up-to-date site (WP 5.9.1 + WPForms 1.7.2.2) and get a fatal error for saving and previewing even the simplest PDFs.

    PHP Version is 8.0.16.

    I noticed the plugin is only tested up to WP 5.8.3. Is the version the matter?

    The error message is:
    PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float in /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer/Inline.php:153\nStack trace:\n#0 /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer.php(301): Dompdf\\Renderer\\Inline->render()\n#1 /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer.php(110): Dompdf\\Renderer->_render_frame()\n#2 /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer.php(202): Dompdf\\Renderer->render()\n#3 /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer.php(202): Dompdf\\Renderer->render()\n#4 /var/www/vhosts/example.de/httpdocs/wp-content/plugins/pdf-builder-for-wpforms/vendor/dompdf/dompdf/src/Renderer.php(202): Dompdf\\Renderer->render()\n#5 /var/www/vhosts/example.de/httpdoc...', referer: https://example.de/wp-admin/?page=rednaopdfwpform_pdf_builder&template_id=0

    Thanks a lot <3

Viewing 1 replies (of 1 total)
  • Thread Starter dromvati

    (@dromvati)

    So after some digging it seems like the used dompdf version is several years old and propably incompatible to php8. Any chance that can be fixed?

Viewing 1 replies (of 1 total)
  • The topic ‘WP 5.9 PHP 8 Compatilbiliy? Fatal PHP Errors’ is closed to new replies.