We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18174
    • 116 Posts
    It seems like eForm doesn't run proper anymore under php >=5.3.14:
    PHP error debug
    Error: number_format() expects parameter 1 to be double, string given
    Error type/ Nr.: Warning - 2
    File: /home/elipslif/public_html/assets/snippets/eform/eform.inc.php
    Line: 322
    Line 322 source: $value = number_format( $value);

    I changed
    line 322 in:
    $value = number_format( (float) $value); //EM~
    and line 329 in
    $value = number_format((float) $value, 2, $dec_point, $th_sep); //EM~

    I hope this helps.
    regards
    manu



      • 18174
      • 116 Posts
      Again, after Evo Upgrade to 1.0.7.
      Am I the onlyone with this problem?
      regards
      manu
      • I haven't come across this issue so far, could you share the eform call in question?
          Patrick | Server Wrangler
          About Me: Website | TweetsMODX Hosting
          • 18174
          • 116 Posts
          Quote from: AMDbuilder at Nov 29, 2012, 11:08 AM
          I haven't come across this issue so far, could you share the eform call in question?
          Just try to validate an input field as float or integer.
          regards
          manu