Hi,

I have an Ajax error attempting to call addressfield phone field from views.

Please see the attachment.

Comments

Aporie created an issue. See original summary.

aporie’s picture

Assigned: aporie » Unassigned
matas.k’s picture

I get same error. After saving the view, the website crash.

Error: Unsupported operand types in addressfield_phone_handler_field_address_phone_nr->render() (line 51 of /var/www/test..com/htdocs/sites/all/modules/addressfield_phone/views/handlers/addressfield_phone_handler_field_address_phone_nr.inc).

This is with Commerce. Trying to display phone field on Orders view.

mpv’s picture

I get the same error, also trying to display phone field on Orders view. Here's a patch that fixed it for me.

mpv’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Active » Needs review

  • jcisio committed 98eabc5 on 7.x-1.x authored by mpv
    Issue #2878541 by mpv, Aporie: Views Ajax error with "Content: Address...
jcisio’s picture

Status: Needs review » Fixed

Thanks for the patch. It looks good. Committed and pushed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.