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.

Warning: Illegal offset type in ...userregistration.php on line 1781

  1. Overton
    Member

    I am getting a Warning for each of my User Meta fields (10) in my User Registration Form:

    Warning: Illegal offset type in ...../wp-content/plugins/gravityformsuserregistration/userregistration.php on line 1781

    All the entry data gets collected including the 10 User Meta fields. The WP User account also gets created with out any problems.

    Any idea how to fix?

    Posted 13 years ago on Friday April 8, 2011 | Permalink
  2. It sounds like you are running your WordPress with debug mode turned ON. Try turning off Debug mode and let me know if that resolves the issue. We'll look into the debug warnings in the User Registration Add-On.

    Posted 13 years ago on Friday April 8, 2011 | Permalink
  3. Overton
    Member

    I'm not running in debug mode. In my wp_config file I added the following and got the same result:

    define('WP_DEBUG', false); // Turn debugging ON
    define('WP_DEBUG_DISPLAY', false); // Turn forced display OFF
    define('WP_DEBUG_LOG', false); // Turn logging to wp-content/debug.log ON

    Posted 13 years ago on Friday April 8, 2011 | Permalink
  4. @Overton, did you resolve this problem?

    I'm having a similar problem, not in debug mode, deactivated all of the plug-ins, set the theme to the default. Still couldn't find issue.
    My warning is a little different...
    Warning: Illegal offset type in /home/content/10/6737110/html/wp-content/plugins/gravityformsuserregistration/userregistration.php on line 1801
    Cheers,
    Marge

    Posted 12 years ago on Wednesday May 11, 2011 | Permalink
  5. Hi fitpirategirl2,

    Would you mind sharing your FTP info with me so I can take a look at this issue? I would also need a login to your WP admin. You can send this information to david@rocketgenius.com

    Posted 12 years ago on Wednesday May 11, 2011 | Permalink
  6. twistystraws
    Member

    I have just started getting this error, when a registration form is submitted. I'm not in debug mode. Warning: Illegal offset type in /wp-content/plugins/gravityformsuserregistration/userregistration.php on line 1857. The user is registered, and everything works as expected apart from the error. Is there a resolution to the problem?

    Thanks

    Posted 12 years ago on Tuesday August 30, 2011 | Permalink
  7. Hi Twistystraws, just sent you an email.

    Posted 12 years ago on Tuesday August 30, 2011 | Permalink
  8. I'm having the same problems with an older site.

    Running
    GF: 1.5.3
    User Reg: 1.2.9
    WordPress 3.0.1

    Any tips on how to troubleshoot this problem? It's a live working site, so i am reluctant to start disabling plugins.

    Thanks

    Posted 12 years ago on Monday October 10, 2011 | Permalink
  9. Just thought I would say, user registration isn't effected, new users can register new accounts.

    As a temporary measure is there a function that we can add to hide all GF PHP error messages?

    Thanks

    Posted 12 years ago on Monday October 10, 2011 | Permalink