Hi, when I choose add existing table and select "Users" (in order to make relationships between this table and custom tables), most of the fields from the Users table disappear in the Views UI, for example I am no longer able to choose the field "User Picture". This problem also occurred with version 1.1, but only after relating the Users table to another base table. Now it happens just by adding the Users table. So for the moment, I had to uninstall version 1.2 and reinstall the old version to make my views work correctly.

Otherwise thanks for an excellent module :-)

Comments

adamgonzalez1984’s picture

StatusFileSize
new211.3 KB
new130.01 KB

I'm having the same problem. I have been trying to get access to the name field in the users table. Whenever I add the users table to Table Wizard I get the following fields to show up:
pass
mode
sort
threshold
heme
signature_format
timezone
init
data
timezone_name

but the other 11 fields are missing from the table view. I also get the following errors


    * warning: Illegal offset type in /Users/adam/Sites/fox/modules/acquia/views/includes/query.inc on line 96.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 17.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 37.
    * warning: Illegal offset type in isset or empty in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 120.
    * warning: class_exists() expects parameter 1 to be string, array given in /Users/adam/Sites/fox/modules/acquia/views/includes/handlers.inc on line 81.

I have used the current version of TW and the dev version both without success. Any ideas on a fix?? thanks in advance!!

-Adam

LarsKramer’s picture

This is what I do: in version 6.x-1.1 it works when you use the user table as "base table" and relate it with another table, but not the other way around.

eileenmcnaughton’s picture

Yes, this seems to be because it is allocating handlers etc to the users table which already has them

e.g.

Array
(
[handler] => Array
(
[0] => views_handler_field_user_name
[1] => views_handler_field
)

[click sortable] => Array
(
[0] => 1
[1] => 1
)

[group] => Array
(
[0] => User
[1] => users
)

[title] => Array
(
[0] => Name
[1] => name
)

[help] => Array
(
[0] => The user or author name.
[1] => Unique user name.
)

)

mikeryan’s picture