• Resolved gstricklind

    (@gstricklind)


    I’m currently in debug mode and getting these warnings.

    Strict Standards: Declaration of SCI_Social_Widget::update() should be compatible with WP_Widget::update($new_instance, $old_instance) in /Applications/MAMP/htdocs/development/kernedc/wp-content/plugins/simple-contact-info/inc/widgets/contact-social-widget.php on line 7

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/development/kernedc/wp-content/plugins/simple-contact-info/inc/widgets/contact-social-widget.php:7) in /Applications/MAMP/htdocs/development/kernedc/wp-includes/option.php on line 571

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/development/kernedc/wp-content/plugins/simple-contact-info/inc/widgets/contact-social-widget.php:7) in /Applications/MAMP/htdocs/development/kernedc/wp-includes/option.php on line 572

    http://ww.wp.xz.cn/plugins/simple-contact-info/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author LehaMotovilov

    (@lehamotovilov)

    Thanks, I’ll check.

    Plugin Author LehaMotovilov

    (@lehamotovilov)

    WordPress 3.6.1
    Simple Contact Info 1.1.3

    Plugin activated without Warning and any Notice.
    What version WP and plugin did you use?

    I got a similar error and am using the same latest versions like you (3.6.1 & 1.1.3)

    Strict Standards: Declaration of SCI_Social_Widget::update() should be compatible with WP_Widget::update($new_instance, $old_instance) in /var/www/bdstadia.co.uk/htdocs/europe/wp-content/plugins/simple-contact-info/inc/widgets/contact-social-widget.php on line 172

    I got the message to go away by by adding an extra input parameter to the update function

    I changed line 172 from

    public function update($instance) {

    to

    public function update($instance, $oldinstance) {

    in accordance with the class definition at http://codex.ww.wp.xz.cn/Widgets_API

    Hope this helps. Great plug-in by the way!

    Plugin Author LehaMotovilov

    (@lehamotovilov)

    Thanks!
    Fixed in 1.1.4 version.
    Please check new version.

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

The topic ‘php warnings after activation’ is closed to new replies.