Various WP_Widget errors #77

Closed
kraftbj opened this Issue Aug 8, 2013 · 3 comments

Projects

None yet

3 participants

@kraftbj
Owner
kraftbj commented Aug 8, 2013

Strict Standards: Declaration of BJGK_Genesis_eNews_Extended::widget() should be compatible with WP_Widget::widget($args, $instance) in class-bjgk-genesis-enews-extended.php on line 0

Strict Standards: Declaration of BJGK_Genesis_eNews_Extended::update() should be compatible with WP_Widget::update($new_instance, $old_instance) in class-bjgk-genesis-enews-extended.php on line 0

Strict Standards: Declaration of BJGK_Genesis_eNews_Extended::form() should be compatible with WP_Widget::form($instance) in class-bjgk-genesis-enews-extended.php on line 0

@kraftbj kraftbj was assigned Aug 8, 2013
@hobbsy
hobbsy commented Aug 8, 2013

feel free to contact me Brandon if you need any more information, or if you have difficulties reproducing this error message

@kimparsell

I can confirm that the error still exists (Genesis 2.0.1, Genesis eNews Extended 1.3.1, WordPress 3.6).

@kraftbj kraftbj closed this in f09f2a9 Aug 29, 2013
@kraftbj
Owner
kraftbj commented Aug 29, 2013

I wasn't seeing this since I'm typically on PHP 5.3. Upgraded one server to 5.4 to duplicate error. It was being caused by my use of type hints in the functions, e.g. function update( array $new_instance, array $old_instance ) instead of function update( $new_instance, $old_instance ), which is why the errors were being thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment