Title: php error
Last modified: April 1, 2019

---

# php error

 *  Resolved [amiayu](https://wordpress.org/support/users/amiayu/)
 * (@amiayu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-error-316/)
 * Thanks for the great plugin!
 * Received the following error:
    Warning: sprintf(): Too few arguments in /home/####/
   public_html/wp-content/plugins/woocommerce-discounts-plus/index.php on line 1860
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-316%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [WP Mechanic](https://wordpress.org/support/users/wpmechanic/)
 * (@wpmechanic)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-error-316/#post-11379544)
 * I am releasing another version and it’s dedicated to you as you brought attention
   to this problem. Kindly check the problem after updating, if didn’t fixed so 
   must report here.
 *  Thread Starter [amiayu](https://wordpress.org/support/users/amiayu/)
 * (@amiayu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-error-316/#post-11381572)
 * Thanks!
 *  [donmcleman](https://wordpress.org/support/users/donmcleman/)
 * (@donmcleman)
 * [7 years ago](https://wordpress.org/support/topic/php-error-316/#post-11579536)
 * Hi, I have just installed the plugin and receive the same error message:
 * Warning: sprintf(): Too few arguments in /***/***/public_html/***/wp-content/
   plugins/woocommerce-discounts-plus/index.php on line 2086
 * The problem that I have is that there is nowhere to actually create the discount,
   I just have general settings.
 * (I’ll post this in a separate thread in case you don’t get notified of resolved
   threads.)
 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [7 years ago](https://wordpress.org/support/topic/php-error-316/#post-11579608)
 * Thank you, i will fix it immediately.
 *  [donmcleman](https://wordpress.org/support/users/donmcleman/)
 * (@donmcleman)
 * [7 years ago](https://wordpress.org/support/topic/php-error-316/#post-11579984)
 * Thank you for being so quick, I will check right away.

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

The topic ‘php error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-discounts-plus/assets/icon-256x256.gif?rev=2467408)
 * [Discounts & Promotions Automation](https://wordpress.org/plugins/woocommerce-discounts-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-discounts-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-discounts-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-discounts-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-discounts-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-discounts-plus/reviews/)

## Tags

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

 * 5 replies
 * 4 participants
 * Last reply from: [donmcleman](https://wordpress.org/support/users/donmcleman/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/php-error-316/#post-11579984)
 * Status: resolved