WordPress.org

Ready to get started?Download WordPress

Forums

Simple Real Estate Pack
number_format() expects parameter 1 to be double (4 posts)

  1. Liquid_Squelch
    Member
    Posted 2 years ago #

    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/

  2. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    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%.

  3. murrydan
    Member
    Posted 2 years ago #

    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?

  4. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic