New Bug Since Update to 1.1.8 - Widget sort by Date Broken
WPMU DEV Community
New Bug Since Update to 1.1.8 - Widget sort by Date Broken
Inactive
57 pointsSerious WPMU DEV-sterI'm new here
counteragent
Member
—
9th February 2011 (1 year ago)
I get a "number_format() expects parameter 1 to be double... " error now in place of the Global Product List widget that was previously working. I've had it set to Order Product By: Publish Date, that seems to be where the bug is originating. If I change it to something else, like Random, everything is fine.
I get a "number_format() expects parameter 1 to be double... " error now in place of the Global Product List widget that was previously working. I've had it set to Order Product By: Publish Date, that seems to be where the bug is originating. If I change it to something else, like Random, everything is fine.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
10th February 2011 (1 year ago)
#
Hi there counteragent,
I can't seem to replicate that error on a test server. I'm trying various things with the Global Product List widget with the Order Product By: Publish Date setting. I've tried other settings as well yet I'm not getting that error. Are there specific settings you have on the widget that I could try?
Warning: number_format() expects parameter 1 to be double, string given in C:\wamp2.1\www\mysite\wp-includes\functions.php on line 139
This is the actual bug that appears when I place the mp_list_global_products widget. I didn't have this problem on the last version I had installed of the plugin 1.1.6. I skipped 1.1.7 and jumped straight to 1.1.8, now I've got this problem. For now I'll just downgrade since the new features I need aren't there yet, but I am going to need the update sooner or later, please help. Thanks. Also, I'm running wordpress 3.0.4 with buddypress and multisite enabled.
Just realized it has something to do with the price not the date. It seems to go away as long as I remove the price from displaying. I looked through the database in the wp_mp_products table and all the prices seem fine, not sure why this is happening.
7026 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lead Developer
—
10th February 2011 (1 year ago)
#
Ya, sounds like something with the price formatting. Hard to tell from here though. Can you check your store settings and resave the page that has the "remove decimals" option on it and see if that helps?
Responses (6)
WPMU DEV Fanatic — 10th February 2011 (1 year ago) #
Hi there counteragent,
I can't seem to replicate that error on a test server. I'm trying various things with the Global Product List widget with the Order Product By: Publish Date setting. I've tried other settings as well yet I'm not getting that error. Are there specific settings you have on the widget that I could try?
Cheers,
David
Member — 10th February 2011 (1 year ago) #
Warning: number_format() expects parameter 1 to be double, string given in C:\wamp2.1\www\mysite\wp-includes\functions.php on line 139This is the actual bug that appears when I place the mp_list_global_products widget. I didn't have this problem on the last version I had installed of the plugin 1.1.6. I skipped 1.1.7 and jumped straight to 1.1.8, now I've got this problem. For now I'll just downgrade since the new features I need aren't there yet, but I am going to need the update sooner or later, please help. Thanks. Also, I'm running wordpress 3.0.4 with buddypress and multisite enabled.
Member — 10th February 2011 (1 year ago) #
Just realized it has something to do with the price not the date. It seems to go away as long as I remove the price from displaying. I looked through the database in the wp_mp_products table and all the prices seem fine, not sure why this is happening.
Lead Developer — 10th February 2011 (1 year ago) #
Ya, sounds like something with the price formatting. Hard to tell from here though. Can you check your store settings and resave the page that has the "remove decimals" option on it and see if that helps?
Member — 10th February 2011 (1 year ago) #
No dice.
Lead Developer — 11th February 2011 (1 year ago) #
Can you give a link?
Become a member