• Resolved germanshep01

    (@germanshep01)


    Hi,

    While examining my errorlogs (for an unrelated issue) i discovered several PHP warnings with regards to the Challan PDF plugin for WooCommerce.
    PHP version in use is “PHP 8.2.6”.
    My apologies for formatting, it’s probably awful since I copied and pasted the following logs:

    PHP Warning: Undefined array key “plugins” in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-mpdf-lib-on-plugin-upgrade.php on line 24

    PHP Warning: foreach() argument must be of type array|object, null given in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-mpdf-lib-on-plugin-upgrade.php on line 24

    PHP Warning: Undefined array key “plugins” in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-default-fonts-for-mpdf-on-plugin-upgrade.php on line 38

    PHP Warning: foreach() argument must be of type array|object, null given in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-default-fonts-for-mpdf-on-plugin-upgrade.php on line 38

    PHP Warning: Undefined array key “plugins” in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-mpdf-lib-on-plugin-upgrade.php on line 24

    PHP Warning: Undefined array key “plugins” in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-default-fonts-for-mpdf-on-plugin-upgrade.php on line 38

    PHP Warning: foreach() argument must be of type array|object, null given in /var/www/{website}/public_html/wp-content/plugins/webappick-pdf-invoice-for-woocommerce/includes/upgrader/download-default-fonts-for-mpdf-on-plugin-upgrade.php on line 38

    Seems to me that they are only warnings, and not errors (and therefore the plugin still works).
    I hope these logs do help the developer(s) make this plugin even better!

    Thank you for creating this great plugin.
    GermanShep01

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ahmed Imran

    (@ahmedimran)

    Hello @germanshep01 ,

    Thank you for bringing these PHP warnings to our attention. We appreciate your efforts in providing us with the error logs.

    It appears that these warnings are related to the compatibility of the Challan plugin with PHP 8.2.6. Currently, our plugin is compatible with PHP 7.4, and we apologize for any inconvenience caused by these warnings.

    We will forward the information you provided to our development team for further investigation and resolution. They will analyze the code and make any necessary adjustments to handle these warnings properly in a future plugin update.

    We appreciate your understanding and patience as we work towards improving the plugin and providing a seamless experience for our users.

    Thank you for using our plugin and for your valuable feedback. If you have any further questions or concerns, please don’t hesitate to reach out to us.

    Best regards,

    Thread Starter germanshep01

    (@germanshep01)

    Hi @ahmedimran,

    Thank you for your reply. These warnings do not have any inconvenience for me, I just wanted to let your dev team know.

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warnings’ is closed to new replies.