• Hi. I have a site using the Print Invoice & Delivery Notes for WordPress plugin using version 4.7.3. My production site is running PHP 8 with WordPress Core at 6.3. I got an error and the WooCommerce settings page for the plugin is blank. I rolled PHP back to 7.4 on the dev server and the page is working fine and I can see the settings. Is this plugin compatible with PHP 8? Do you have any recommendations for how to fix this? Thanks!

    Error: “An error of type E_ERROR Error message: Uncaught DivisionByZeroError: Division by zero”

Viewing 1 replies (of 1 total)
  • Hii, @codegeek
    Thank you for sharing the error message. I am able to find the cause of this issue, but to be sure on that kindly share the full error message so that I can look at it and confirm if it’s the same case or not.

    Below, I am sharing the link to the patched file. Kindly download it and replace it with the same file on your site located at the below location, and see if that resolves the issue or not. Please let us know the result.

    Path – \app\public\wp-content\plugins\woocommerce-delivery-notes\includes\class-wcdn-settings.php

    Link – https://www.dropbox.com/scl/fi/qbx14ukjrzo2dx2mrsimi/class-wcdn-settings.php?rlkey=tptq1elrn4cxhi21za3kbwsup&dl=0

    If this doesn’t resolve the error, then once we get the full error message from you then we will be able to identify the cause of the issue you are facing on your site.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8 Compatibility’ is closed to new replies.