Title: Plugin show warning in backend
Last modified: August 23, 2022

---

# Plugin show warning in backend

 *  [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/)
 * Warning: Use of undefined constant AGRWC – assumed ‘AGRWC’ (this will throw an
   Error in a future version of PHP) in /home/customer/www/therapylights.com.au/
   public_html/wp-content/plugins/agreeme-checkboxes-for-woocommerce/agree-me-woocommerce.
   php on line 325
 * Please help us, how to remove this warning.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-show-warning-in-backend/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-show-warning-in-backend/page/2/?output_format=md)

 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15944273)
 * Hello Naseem,
 * thanks for pointing that out, this is fixed in the new version, you can update
   to the latest version from admin plugins page, or try updating the specific file
   downloading the latest version files.
 * Regards,
    Amin.
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15945402)
 * Hi Amin Y Wrote:
    Thanks for the quick reply yes it is solved but I found one
   more problem, I add checkbox with fee and when someone click on checkbox then
   it will added in cart with that product but if someone remove the product from
   cart then just product is removed from cart and checkbox fee is still there although
   it not show when someone remove product from cart but when someone add another
   product and click checkbox for fee again then it added the fee twice. It should
   remove the fee from cart when someone remove that product from cart Plzz fix 
   this issue. In your plugin the fee is used for one time, fee is not select for
   specific product, like if i select fee for one product and same fee I use for
   another product and if someone buy both products and click on check box as well
   then it will show only one fee in cart, it not charge fee for each product separately.
   Regards Naseem
 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15945954)
 * Hello Naseem,
 * thanks again for bringing in the new issues,
 * Yes I’ve fixed the first issue in the code, you can update the code manually 
   downloading the files, I will do further testing and update you and so then it
   get auto updated in the newer version release, within a couple days.
 * About the second issue, the fees names should be different, so its added twice
   for each of the checkboxes.
 * Regards,
    Amin
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15946200)
 * Hello Amin:
    Thanks for the quick fix, can you plzz share that code with me and
   tell me in which file i need to add that code manually. Thanks & Best Regards
   Naseem Ansari
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15946203)
 * Or please update the plugin to new version, so it can easily update.
    Thanks 
   Naseem
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15949518)
 * Hi Amin Y:
    I update the plugin but issue is still not fixed. After removing 
   product from cart if i add product again in cart without click on checkbox it
   add the fee as well in cart.
 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15949982)
 * Hello Naseem,
 * Can you please download and update the plugin files? I just fixed this, i will
   change the plugin version again, which i will update tomorrow after testing this.
 * Regards & thanks,
    Amin.
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15949990)
 * Hi Amin Y:
    Please tell me where I can download the updated plugin files.
 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15951670)
 * I had updated this as a new version, you can try updating from your plugins page.
   You can download it here also. [https://wordpress.org/plugins/agreeme-checkboxes-for-woocommerce/](https://wordpress.org/plugins/agreeme-checkboxes-for-woocommerce/)
 * Regards,
    Amin
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15952281)
 * Hi Amin:
    I update the plugin but it still not fixed the issue, may be you did
   not understand the issue properly. Let me explain it again. when someone add 
   product in cart with checkbox fee then it is fine when it remove product from
   cart then it means it should remove the product and checkbox fee from cart but
   it not do this it just remove product price from cart then if I add product again
   without checkbox fee then it should just add that product in cart but it add 
   the product with the checkbox fee which is not remove from cart previously. Please
   fix this issue. Thanks Naseem
 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15952491)
 * Hello Naseem,
    I got it and i think i fixed it, Can you send me your website 
   url details and the product where this is applied on your case. Also check here,
 * [http://qcompsolutions.com/wpdemo/shop/](http://qcompsolutions.com/wpdemo/shop/)
 * Products:
    Album Belt has the checkbox and fees,
 * Regards,
    Amin
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15952520)
 * Hi Amin:
    Here is the product link please check it here: [https://test.kehdoo.com/product/test/](https://test.kehdoo.com/product/test/)
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15952552)
 * Hi Amin:
    I made a video for you. In video you can see 2nd time when I add product
   in cart without click on checkbox then it add the checkbox fee as well in cart,
   I have not click on checkbox second time and it still add the checkbox fee in
   cart, it means the first time I added product with checkbox fee just remove the
   product price from cart but not the checkbox fee. Video link [https://www.loom.com/share/e3703cdc2b564bb1b258235966cb7c05](https://www.loom.com/share/e3703cdc2b564bb1b258235966cb7c05)
   Thanks Naseem
 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15952882)
 * Can you clear your cookies and test again, also update to the latest version.
   1.0.4
    Regards, Amin.
 *  Thread Starter [naseem241](https://wordpress.org/support/users/naseem241/)
 * (@naseem241)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/#post-15953339)
 * Hi Amin:
    Thanks for the help, yes it is fixed now. I find one more improvement
   that can do in plugin. Can we show the fee price in front of checkbox with currency
   symbol and price and symbol can change dynamically if site use currency plugin.
   I add screenshort below, you can see that. [https://paste.pics/0bab83119aea961de6de2355f99d0074](https://paste.pics/0bab83119aea961de6de2355f99d0074)
   Thanks Naseem

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-show-warning-in-backend/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-show-warning-in-backend/page/2/?output_format=md)

The topic ‘Plugin show warning in backend’ is closed to new replies.

 * ![](https://ps.w.org/agreeme-checkboxes-for-woocommerce/assets/icon-256x256.png?
   rev=2708352)
 * [AgreeMe Checkboxes For WooCommerce](https://wordpress.org/plugins/agreeme-checkboxes-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/plugin-show-warning-in-backend/page/2/#post-15954995)
 * Status: not resolved