After importing accounts with just a few fields (username - email - first name - last name, options: activate - no email sent), the accounts created show an error when the user goes to check his profile page

warning: html_entity_decode() expects parameter 1 to be string, array given in /Drupal/sites/all/modules/views/includes/view.inc on line 676
this messages appears when I use the module views-6.x-3.x-dev.

If I change to views-6.x-3.0 then the error turns to:
warning: html_entity_decode() expects parameter 1 to be string, array given in /Drupal/sites/all/modules/views/includes/view.inc on line 562

Is anybody else seing this error on the profile pages of the newly imported accounts?

I already reported this bug into the views project issue list #1797986: html_entity_decode() expects parameter 1 to be string, array given in views/includes/view.inc on line 676., but as the bug happens only after an import I think it is more related to the user_import module.

thanks

Comments

drupalycious’s picture

I think I know why I am getting this error: I am importing accounts but only the basic information (username - name - surname) and actually in this website each profile has several mandatory fields that I am not filling during the import, and that's maybe why the error shows.

Did someone ever try to import accounts to a website without filling all the mandatory fields, but let the user complete their profile at their next login?

drupalycious’s picture

I forgot to mention that even if I complete the missing mandatory fields after the import, the error message is still present on the profile page.

drupalycious’s picture

Hi,

I have removed the mandatory option in all the fields so that none is required, then I imported the same basic accounts and the same error still shows up in the user profile page. I am going to try with user_import-4.1

gisle’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I've not been able to reporoduce with Drupal 7.

The Drupal 6 branch is no longer supported.