Title: PHP warnings
Last modified: June 6, 2023

---

# PHP warnings

 *  Resolved [germanshep01](https://wordpress.org/support/users/germanshep01/)
 * (@germanshep01)
 * [3 years ago](https://wordpress.org/support/topic/php-warnings-159/)
 * 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
   24PHP 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 24PHP 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 38PHP 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 38PHP 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 24PHP 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 38PHP 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 38Seems 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](https://wordpress.org/support/users/ahmedimran/)
 * (@ahmedimran)
 * [3 years ago](https://wordpress.org/support/topic/php-warnings-159/#post-16800193)
 * Hello [@germanshep01](https://wordpress.org/support/users/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](https://wordpress.org/support/users/germanshep01/)
 * (@germanshep01)
 * [3 years ago](https://wordpress.org/support/topic/php-warnings-159/#post-16800243)
 * Hi [@ahmedimran](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/webappick-pdf-invoice-for-woocommerce/assets/icon-256x256.
   png?rev=2512818)
 * [PDF Invoices & Packing Slips for WooCommerce – Challan](https://wordpress.org/plugins/webappick-pdf-invoice-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webappick-pdf-invoice-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webappick-pdf-invoice-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/webappick-pdf-invoice-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webappick-pdf-invoice-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webappick-pdf-invoice-for-woocommerce/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [germanshep01](https://wordpress.org/support/users/germanshep01/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-warnings-159/#post-16800243)
 * Status: resolved