PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

PHP Error on number field

  1. Edwin
    Member

    Hi,

    I have added a Number field and give an range from Min 12 to max 14. This field is meant to prevent spam-submissions.
    When filling out the form and entering the correct value 13 an error appears when submitting the form. The form data is sent correctly though.
    And without the number field the error isn't shown.

    PHP Fatal error: Call to undefined method GFCommon::clean_number() in .....\wp-content\plugins\gravityforms\forms_model.php on line 896.

    What could be causing this ?

    I am using - PHP Version 5.2.12 - MySQL Version 5.0.85 - WordPress Version 2.9.2.
    Gravity Forms Version 1.3.8

    Posted 14 years ago on Friday February 19, 2010 | Permalink
  2. Edwin
    Member

    Hi, I am also getting a similar error when changing notifications.
    So the problem is not only be related to the number field. Possibly the upgrade from wp 2.9.1 to 2.9.2 earlier this week is giving problems.

    The site is still in testing fase so I will start with a fresh WP install to see if this solves the problems.
    No need to reply to this.

    Posted 14 years ago on Friday February 19, 2010 | Permalink
  3. Vic, you are running an old version of Gravity Forms. You may want to upgrade to the latest version, 1.3.9, which fixed a numeric validation bug that could be the cause of the issue you are encountering.

    There shouldn't be any issues running Gravity Forms on WordPress 2.9.2 as the changes were related only to the trash functionality for pages, posts, etc.

    Install Gravity Forms 1.3.9 and let me know if the problem still exists and we can go from there. Thanks!

    Posted 14 years ago on Friday February 19, 2010 | Permalink
  4. Edwin
    Member

    Hi Carl,
    Just read your reply. I altready have started with an fresh WP (2.9.2) install an everything works fine even without the update.
    I will now update to Gravityforms 1.3.9. If there are any issues I will let you know.

    Posted 14 years ago on Wednesday February 24, 2010 | Permalink