Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When evaluating my site through the devel module, it showed that there were 10 seperate queries on the front page to the following:
0.06 10 SELECT nid FROM ef_register WHERE uid = 1
0.06 10 SELECT nid FROM ef_host WHERE uid = 1
In the readme.txt for the devel module it said that there should not be multiple identical queries? Any ideas how I could fix this?
Comments
Comment #1
berko CreditAttribution: berko commentedAny progress on this issue? I am experiencing the same thing in 4.7 (CVS).
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedI have been looking into this for the 4.7 upgrade.
Basically, these queries check whether or not a user is registered for or is the host for a particular event (as you could have gathered already). There was some reason I did this check for every event, but I cannot remember why.
If I can change it, I will, if not I will provide some clarification on why this is happening.
M