Support » Plugin: Simple Real Estate Pack » [Plugin: Simple Real Estate Pack] number_format() expects parameter 1 to be double

  • Hi,
    I’m seeing an error and seems that PHP is looking for a real number, and the code isn’t displaying one.

    I just installed a new WP site, and only have 3 plug-ins running. One for Google Analytics, and Simple Real Estate pack 4.

    Here are the errors:
    [08-Sep-2011 02:48:07] PHP Warning: number_format() expects parameter 1 to be double, object given in /<url path>/wordpress/wp-content/plugins/simple-real-estate-pack-4/includes/srp-widgets.php on line 418
    [08-Sep-2011 02:48:07] PHP Warning: number_format() expects parameter 1 to be double, object given in /<url path>/wordpress/wp-content/plugins/simple-real-estate-pack-4/includes/srp-widgets.php on line 421

    It seems if I remove the option for last week’s interest rate, I can get the error on 421 removed since it isn’t querying that info.

    I’m running:
    Apache version 2.2.19
    PHP version 5.3.6
    MySQL version 5.1.56

    Thanks for the help.

    http://wordpress.org/extend/plugins/simple-real-estate-pack-4/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Max Chirkov

    (@maxchirkov)

    Make sure the number you enter for the interest rate has no special characters inside the field (like $ or %). No commas either. For example: 4.25 – this will be accepted as 4.25%.

    When you choose “Use Live Rates in Calulators: Live rates from Zillow.com will be used in mortgage calculators instead of the default rate.” From the Mortgage Rates section it gives me that error.. any suggestions?

    Plugin Author Max Chirkov

    (@maxchirkov)

    I can’t reproduce the error on my own setup.
    Do you have the API key from Zillow?
    What version of PHP are you running?
    Where does the error appear?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Real Estate Pack] number_format() expects parameter 1 to be double’ is closed to new replies.