Title: Strict Mode Error (and fix)
Last modified: August 21, 2016

---

# Strict Mode Error (and fix)

 *  Resolved [oldskool73](https://wordpress.org/support/users/oldskool73/)
 * (@oldskool73)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/strict-mode-error-and-fix/)
 * Hi,
    When using the plugin with WP3.6, I get an error :
 * > Strict standards: Declaration of Latest_Tweets_Widget::widget() should be compatible
   > with WP_Widget::widget($args, $instance) in /Users/adamr/Documents/Work/Host/
   > HOST-Website/build/content/plugins/latest-tweets-widget/latest-tweets.php on
   > line 240
 * Simply removing the ‘array’ keyword in the ‘widget’ function parameters seems
   to fix this.
 * [http://wordpress.org/plugins/latest-tweets-widget/](http://wordpress.org/plugins/latest-tweets-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/strict-mode-error-and-fix/#post-4003150)
 * Thanks. I’ve fixed this in the current dev version.
 * It’s not an issue with WP3.6, it’s just that you have E_STRICT error reporting
   enabled. I keep this disabled in WordPress due the amount of legacy code in the
   ecosystem.

Viewing 1 replies (of 1 total)

The topic ‘Strict Mode Error (and fix)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/latest-tweets-widget_c5bfab.svg)
 * [Latest Tweets Widget](https://wordpress.org/plugins/latest-tweets-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/latest-tweets-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/latest-tweets-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/latest-tweets-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/latest-tweets-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/latest-tweets-widget/reviews/)

## Tags

 * [Strict](https://wordpress.org/support/topic-tag/strict/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/strict-mode-error-and-fix/#post-4003150)
 * Status: resolved