Closed (cannot reproduce)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
block displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2011 at 03:06 UTC
Updated:
11 Jul 2012 at 17:09 UTC
I have a view with a block display and when I add the field field: User: Roles I get an error:
Notice: Array to string conversion in DatabaseStatementBase->execute() (line 2137 of /var/www/mototribe/dev/includes/database/database.inc).
Comments
Comment #1
dawehnerYou have to add the content: author relationship first.
This bug is fixed in the current dev version.
Comment #2
ppc.coder commentedI tried adding the Content: Authored relationship before adding User: Roles field but I still get that error (and many more times).
Comment #3
Ate_f commentedHaving the same problem... Is there any other way of showing all the people assigned a certain role on one page? (I wish to group people per role, duplicates in different roles are no objection)
Comment #4
Aldus commentedI am having the same problem with an user view. Adding an User: Roles field creates this error:
Notice: Array to string conversion in DatabaseStatementBase->execute() (line 2137 of [....]
Using content: authored doens't work (it would work maybe for a node view)
Comment #5
Aldus commentedComment #6
daniela basualdo commented+ subscribing
Comment #7
BeaPower commentedI get this error when using the latest dev: PDOException: SQLSTATE[08004] [1040] Too many connections in drupal_get_installed_schema_version() (line 150 of /var/www/vhosts/ewe.com/httpdocs/includes/install.inc).
Comment #8
dawehner@BeaPower
My suggestion for this error is google. This has simply nothing to do with drupal.
@Aldus
Could you please this with the current version of views and provide a view export of the buggy view? This would be somehow required to get some help.
Comment #9
esmerel commented