WordPress.org

Ready to get started?Download WordPress

Forums

Latest Tweets Widget
[resolved] Strict Mode Error (and fix) (2 posts)

  1. oldskool73
    Member
    Posted 8 months ago #

    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/

  2. timwhitlock
    Member
    Plugin Author

    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic