Title: PHP warning with E_STRICT on
Last modified: August 31, 2016

---

# PHP warning with E_STRICT on

 *  [kdreporter](https://wordpress.org/support/users/kdreporter/)
 * (@kdreporter)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-with-e_strict-on/)
 * I’m getting the following error with E_STRICT errors on in PHP at wp-admin/
 * Warning: Declaration of Daily_Tips_Table::prepare_items($group_name, $from_date,
   $to_date) should be compatible with WP_List_Table::prepare_items() in /var/www/
   html/wp-content/plugins/st-daily-tip/st-daily-tip-admin.php on line 121
 * I was able to fix this by doing the following:
 * `
    public function prepare_items() { list($group_name,$from_date,$to_date) = 
   func_get_args(); ... }
 * I’m not sure if that is how you would want to fix this warning, but I’d appreciate
   it a lot if the next release did fix this warning. Thanks.
 * [https://wordpress.org/plugins/st-daily-tip/](https://wordpress.org/plugins/st-daily-tip/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dhara Shah](https://wordpress.org/support/users/dharashah/)
 * (@dharashah)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-warning-with-e_strict-on/#post-8181148)
 * Hi,
 * Have included the change in latest version
    Thanks for help

Viewing 1 replies (of 1 total)

The topic ‘PHP warning with E_STRICT on’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/st-daily-tip_9eb177.svg)
 * [St-Daily-Tip](https://wordpress.org/plugins/st-daily-tip/)
 * [Support Threads](https://wordpress.org/support/plugin/st-daily-tip/)
 * [Active Topics](https://wordpress.org/support/plugin/st-daily-tip/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/st-daily-tip/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/st-daily-tip/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dhara Shah](https://wordpress.org/support/users/dharashah/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-warning-with-e_strict-on/#post-8181148)
 * Status: not resolved