Title: PHP Warnings on Debug Log
Last modified: January 4, 2025

---

# PHP Warnings on Debug Log

 *  Resolved [ztpinar](https://wordpress.org/support/users/ztpinar/)
 * (@ztpinar)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/)
 * Hello we keep getting following PHP warning on our debug log:
   PHP Warning: Trying
   to access array offset on value of type null in XXX/ourwebsite.com/wp-content/
   plugins/wt-smart-coupons-for-woocommerce/public/modules/checkout_options/checkout_options.
   php on line 173What may be the cause of this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warnings-on-debug-log%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18229531)
 * Hi [@ztpinar](https://wordpress.org/support/users/ztpinar/) ,
 * Greetings from WebToffee Support!
 * Thank you for reaching out to us regarding the PHP warning you’ve encountered
   in your debug log.
 * Could you please let us know the version of the Smart Coupons for WooCommerce
   plugin you are currently using? The latest version of the plugin is 2.0.0. If
   you are using a previous version, kindly update to the latest version and check
   if the issue persists.
 * If the issue continues, we kindly request the following information:
 * – WooCommerce System Status Report:
      Navigate to WooCommerce > Status > Get
   system status report, and share the details with us. This report will help us
   understand your site’s environment and configurations.
 * You may securely share the required information through this [link](https://www.webtoffee.com/contact/).
   Once we have this, we’ll be better equipped to investigate and assist you further.
 * Looking forward to your response!
 *  Thread Starter [ztpinar](https://wordpress.org/support/users/ztpinar/)
 * (@ztpinar)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18230228)
 * Hey I believe the update was released one day ago. I’ll update and follow up 
   on this topic within 24hrs. Thanks.
 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18233618)
 * Hi [@ztpinar](https://wordpress.org/support/users/ztpinar/) ,
 * We wanted to follow up on your last message regarding the PHP warning. Have you
   had a chance to update the plugin to the latest version, and if so, did it resolve
   the issue?
 * If the issue persists, we recommend temporarily switching to a default WooCommerce
   theme like Storefront and checking if the warning still occurs. This will help
   us identify if the issue is theme-related or something else.
 * Please let us know the results or if you need any further assistance. We’re here
   to help!
 *  Thread Starter [ztpinar](https://wordpress.org/support/users/ztpinar/)
 * (@ztpinar)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18237827)
 * Hello,
   Issue still persists, we are going to try some debug options and get back
   to you soon. Thank you for your patience.
 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18249478)
 * Hi [@ztpinar](https://wordpress.org/support/users/ztpinar/) ,
 * We wanted to follow up as we haven’t heard back from you regarding the issue.
   Were you able to try debugging by switching to a default WooCommerce theme like
   Storefront?
 * If the problem persists after trying this, kindly share the WooCommerce System
   Status report with us. You can generate this report by navigating to WooCommerce-
   > Status -> Get system status report in your WordPress dashboard. Please share
   this via [our support link](https://www.webtoffee.com/contact/) so we can further
   assist you.
 *  Plugin Support [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * (@webtoffeesupport)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18269756)
 * Hi [@ztpinar](https://wordpress.org/support/users/ztpinar/) ,
 * We haven’t heard back from you for a while. As this thread has been inactive 
   for some time, we are marking it as resolved.
 * You may create a new thread if you require any further assistance.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Warnings on Debug Log’ is closed to new replies.

 * ![](https://ps.w.org/wt-smart-coupons-for-woocommerce/assets/icon-128x128.gif?
   rev=3248429)
 * [Smart Coupons For WooCommerce Coupons](https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wt-smart-coupons-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wt-smart-coupons-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wt-smart-coupons-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wt-smart-coupons-for-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [WebToffee Support](https://wordpress.org/support/users/webtoffeesupport/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/php-warnings-on-debug-log/#post-18269756)
 * Status: resolved