I'm using pressflow, which has the PHP flag E_NOTICE enabled.

This is causing several PHP variables errors to show up on Pressflow that may not be showing up on standard Drupal sites.

I'm getting this on the front page after installing this module:
Notice: Undefined variable: icons in _rpx_update_user_login_form() (line 610 of /vol/var/www/sites/all/modules/rpx/rpx.module).

I'm getting this on the complete registration page:

    * Notice: Undefined index: add_to_account in rpx_end_point() (line 287 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Trying to get property of non-object in rpx_end_point() (line 320 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined variable: icons in _rpx_update_user_login_form() (line 610 of /vol/var/www/sites/all/modules/rpx/rpx.module).

I'm getting this when clicking submit on the complete registration page:

    * Notice: Undefined variable: categories in _rpx_save_profile_fields() (line 860 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Warning: Invalid argument supplied for foreach() in _rpx_save_profile_fields() (line 860 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined variable: messages in drupal_mail_wrapper() (line 28 of /vol/var/www/sites/all/modules/returnpath/returnpath.module).
    * Notice: Undefined variable: icons in _rpx_update_user_login_form() (line 610 of /vol/var/www/sites/all/modules/rpx/rpx.module).

Comments

cookiesunshinex’s picture

Sorry, can't edit the original issue.

During a twitter account creation, on the complete registration form, I'm seeing the following:

* Notice: Undefined index: add_to_account in rpx_end_point() (line 287 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Trying to get property of non-object in rpx_end_point() (line 320 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined index: email in rpx_registration() (line 168 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined variable: icons in _rpx_update_user_login_form() (line 610 of /vol/var/www/sites/all/modules/rpx/rpx.module).

After clicking submit on the twitter account creation page, I get the following:

* Notice: Undefined index: email in rpx_registration() (line 168 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined index: verifiedEmail in rpx_registration_submit() (line 252 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined variable: categories in _rpx_save_profile_fields() (line 860 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Warning: Invalid argument supplied for foreach() in _rpx_save_profile_fields() (line 860 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Trying to get property of non-object in _rpx_mail_text() (line 473 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Trying to get property of non-object in _rpx_mail_text() (line 473 of /vol/var/www/sites/all/modules/rpx/rpx.module).
    * Notice: Undefined variable: icons in _rpx_update_user_login_form() (line 610 of /vol/var/www/sites/all/modules/rpx/rpx.module).

I would assume that this is because the email verification process is triggered, whereas it wasn't on the Yahoo/Google accounts I created in the original issue above.

nrambeck’s picture

Assigned: Unassigned » nrambeck
Status: Active » Closed (fixed)

I've addressed most of these notices. Thanks.

cookiesunshinex’s picture

I've installed the latest dev version and I can confirm that the errors above have all disappeared.

I have disabled Twitter login since, the email address is not pulled from twitter and I don't want to have to re-confirm the email address.

Since, I've disabled twitter login, I cannot confirm if those errors have been fixed.