PHP warnings
-
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
- The topic ‘PHP warnings’ is closed to new replies.