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.

Installation with iThemes Builder - Warning Messages

  1. Hi,
    I'm attempting to install with iThemes Builder child theme and all appears to work but I get the following error messages. I checked common.php and it looks like this might be because I'm on a local installation so my registration key is not being reconized (although it is checkmarked green on entry in WP-Admin). I'm using a "localhost" local installation - xampp on Windows 7. I will use iThemes BackupBuddy to move to live site when ready.

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 662

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 672

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 662

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 672

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 662

    Warning: Attempt to modify property of non-object in C:\xampplite\htdocs\cartwrightdrilling\wp-content\plugins\gravityforms\common.php on line 672

    The function in common.php with the warning lines is:

    public static function get_update_plugins_option($option){
    
            $plugin_name = "gravityforms/gravityforms.php";
            $gravity_option = $option->response[$plugin_name];
    
            if(empty($gravity_option))
    662            $option->response[$plugin_name] = new stdClass();
    
            //Getting version number
            $version_info = GFCommon::get_version_info();
    
            if (!$version_info)
                return;
    
            //Empty response means that the key is invalid. Do not queue for upgrade
            if(!$version_info["is_valid_key"] || version_compare(GFCommon::$version, $version_info["version"], '>=')){
    672            unset($option->response[$plugin_name]);
            }
            else{
                $option->response[$plugin_name]->url = "http://www.gravityforms.com";
                $option->response[$plugin_name]->slug = "gravityforms";
                $option->response[$plugin_name]->package = str_replace("{KEY}", GFCommon::get_key(), $version_info["url"]);
                $option->response[$plugin_name]->new_version = $version_info["version"];
                $option->response[$plugin_name]->id = "0";
            }
    
            return $option;
        }

    Thanks,
    Brad

    Posted 14 years ago on Monday September 13, 2010 | Permalink
  2. Also when I try to create a new form and click on "Save Form" it appears to hang - but the form is actually saved in the background. When I access the form to try and try to add a field I see the following javascript error in the firebug console (I'm using FireFox):

    invalid regular expression flag b
    
    function sack(file){...}
    Posted 14 years ago on Monday September 13, 2010 | Permalink
  3. I would suggest trying to re-install Gravity Forms. If you still encounter the problem, you are going to need to check for plugin and theme conflicts. There is some sort of conflict going on between either your theme, another plugin.

    You check for theme conflicts by activating the default Twenty Ten theme and then Gravity Forms. If Gravity Forms works fine, then something in your theme is causing a problem.

    You check for plugin conflicts by deactivating all other plugins and only activating Gravity Forms. Test it, if it works fine then activate each plugin one by one and test Gravity Forms after each one until you encounter a plugin causing the problem.

    If it's not either of the above then something strange is going on with your WordPress install.

    Posted 14 years ago on Monday September 13, 2010 | Permalink
  4. It is a plugin conflict with:

    BackupBuddy from iThemes

    Darn - this is a key plugin for me. I have posted a report to iThemes as well. There is one other post in the iThemes forums that denotes a conflict with Gravity Forms - but they provided no details.

    Posted 14 years ago on Monday September 13, 2010 | Permalink
  5. That doesn't make much sense as we use BackupBuddy internally without a problem, as do other users. I would suggest contacting the iThemes guys, they may have released an update that introduced a problem. They should fix it pretty quickly if you discuss it with them.

    Posted 14 years ago on Tuesday September 14, 2010 | Permalink
  6. Hmmm - I migrated to my "live" site and now they work together - obviously something to do with my localhost set-up - it is still broken there.

    Anyhow thanks for your help - I'm just glad the two are compatible on my live sites!

    Posted 14 years ago on Tuesday September 14, 2010 | Permalink
  7. Ok - ID10T error here. iThemes helped me find the problem.

    I was using BackupBuddy 1.2.9 locally (no prompt to upgrade on localhost even though it has a valid license) – when I manually upgraded to BackupBuddy 1.3.0 the problem was resolved.

    Glad to hear that iThemes and Gravity have a friendly working relationship as you both produce top quality premium products that make my life sooooo much easier.

    Posted 14 years ago on Wednesday September 15, 2010 | Permalink