wp-front-end-editor icon indicating copy to clipboard operation
wp-front-end-editor copied to clipboard

Strict Standard Errors with PHP 5.4 and WP 3.6

Open kristofferR opened this issue 11 years ago • 2 comments

After updating to WP 3.6 I get a bunch of PHP Strict Standard errors due to Front-End Editor:

Strict Standards: Static function FEE_Field_Base::get_object_type() should not be abstract in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/base.php on line 36

Strict Standards: Declaration of FEE_Field_Terms::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 275

Strict Standards: Declaration of FEE_Field_Tags::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 284

Strict Standards: Declaration of FEE_Field_Category::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 293

Strict Standards: Declaration of FEE_Field_Post_Thumbnail::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 335

Strict Standards: Declaration of FEE_Field_Post_Meta::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 401

Strict Standards: Declaration of FEE_Field_Widget::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/widget.php on line 98

Strict Standards: Declaration of FEE_Field_Comment::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 54

Strict Standards: Declaration of FEE_Field_Term_Field::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 104

Strict Standards: Declaration of FEE_Field_Single_Title::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 120

Strict Standards: Declaration of FEE_Field_Option::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 267

I know I could ignore the errors by changing my PHP configuration, but the code should preferably be fixed anyway.

kristofferR avatar Aug 12 '13 09:08 kristofferR

Care to open a pull request?

On Monday, August 12, 2013, Kristoffer wrote:

After updating to WP 3.6 I get a bunch of PHP Strict Standard errors due to Front-End Editor:

Strict Standards: Static function FEE_Field_Base::get_object_type() should not be abstract in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/base.php on line 36

Strict Standards: Declaration of FEE_Field_Terms::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 275

Strict Standards: Declaration of FEE_Field_Tags::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 284

Strict Standards: Declaration of FEE_Field_Category::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 293

Strict Standards: Declaration of FEE_Field_Post_Thumbnail::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 335

Strict Standards: Declaration of FEE_Field_Post_Meta::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/post.php on line 401

Strict Standards: Declaration of FEE_Field_Widget::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/widget.php on line 98

Strict Standards: Declaration of FEE_Field_Comment::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 54

Strict Standards: Declaration of FEE_Field_Term_Field::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 104

Strict Standards: Declaration of FEE_Field_Single_Title::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 120

Strict Standards: Declaration of FEE_Field_Option::wrap() should be compatible with FEE_Field_Base::wrap($content, $data) in /Users/kristoffer/Sites/wpsite/wp-content/plugins/front-end-editor/php/fields/other.php on line 267

I know I could ignore the errors by changing my PHP configuration, but the code should preferably be fixed anyway.

— Reply to this email directly or view it on GitHubhttps://github.com/scribu/wp-front-end-editor/issues/101 .

http://scribu.net

scribu avatar Aug 12 '13 09:08 scribu

See #102

scribu avatar Jan 07 '14 18:01 scribu