Forums › Forums › Search & Filter Pro › Errors
- This topic has 4 replies, 2 voices, and was last updated 10 years, 9 months ago by
Ross.
-
Anonymous(Private) January 16, 2016 at 10:12 pm #34493
Any idea what will be causing this when I try to update the settings of a form?
Warning: number_format() expects parameter 1 to be double, string given in
/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php on line 464Warning: number_format() expects parameter 1 to be double, string given in /wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php on line 465
Warning: Cannot modify header information – headers already sent by (output started at
/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php:464) in /srv/disk8/1949386/www/photoworkshops.co.nf/wp-includes/pluggable.php on line 1228Ross Moderator(Private) January 18, 2016 at 10:46 am #34564Hi Jacob
What version of PHP are you running?
Thanks
Ross Moderator(Private) January 18, 2016 at 1:36 pm #34577Hi Jacob
I’ve just emailed you a potential fix.
Let me know if this works.
It sounds like you were putting non numeric values in some fields which were expecting a float data type to be passed.
This is likely occurring in post meta (number) field.
I’ve added some code now which should stop this message from showing and force the inputs to be floats.
Thanks
-
AuthorPosts