I installed invite
I did a drush cr
i got the admin page, /admin/config/invite/invite_config
I click on 'Invite list' and I get a WSOD and this:
|1||Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'devsocial30oneba.invite__field_invite_email_address' doesn't exist: SELECT COUNT(*) AS expression#012FROM #012(SELECT 1 AS expression#012FROM #012{invite} i#012LEFT OUTER JOIN {users} u ON i.user_id = u.uid#012LEFT OUTER JOIN {users_field_data} ufd ON u.uid = ufd.uid#012LEFT OUTER JOIN {invite__field_invite_email_address} ie ON i.id = ie.entity_id) subquery; Array#012(#012)#012 in Drupal\invite\Controller\InviteList->view() (line 81 of /var/aegir/platforms/drupal/8/servers/1-dev/sng-contrib/dev-social-3.0/html/modules/contrib/invite/src/Controller/InviteList.php).
Sep 2 07:34:12 insitehost pound: 24.63.88.111 GET /invite/list HTTP/1.1 - HTTP/1.1 500 500 Service unavailable (with message)
I have not installed invite_by_email yet
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | invite_list_wsod-2996758-16.patch | 2.31 KB | vj |
| #13 | 2996758-invite-list-gives-wsod.patch | 1.04 KB | socialnicheguru |
| #12 | Screenshot from 2020-05-08 11-21-59.png | 13.95 KB | paulocs |
| #10 | invite-list-wsod-2996758-10.patch | 1.5 KB | ryan osītis |
| #8 | Screenshot from 2020-05-05 14-19-24.png | 22.16 KB | paulocs |
Comments
Comment #2
vj commentedComment #3
dwkitchen commentedReviewed and tested, the same issue as not using invite by email
Comment #4
dwkitchen commentedThere is still a further change on the table rows on line 97
Comment #5
socialnicheguru commentedneeds work to include changes on line 97
Comment #6
ryan osītis commentedRe-rolling patch with additional work.
Comment #7
ryan osītis commentedComment #8
paulocsRTBC. I reviewed your patch @rositis and it is working good. I just had a problem with git apply patch so I replaced the code manually.
I think something from your code is different from the code from repository.
Comment #9
socialnicheguru commentedshould it be needs work until the patch applies correctly?
Comment #10
ryan osītis commentedGood catch on that. That patch accidentally incorporated a patch for a different Invite issue, specifically Issue #3130479. I re-rolled it again, this time without the extra.
Comment #11
ryan osītis commentedComment #12
paulocs@rositis, I tested your patch again. The feature is working but the patch didn't apply correctly. Follow the image.
Comment #13
socialnicheguru commentedUpdated the patch to use the latest dev version of invite
Comment #14
socialnicheguru commentedComment #15
paulocsRTBC. The patch applied good and the bug was fixed.
Comment #16
vj commentedinjecting the module_handler and attaching new patch
Comment #17
dale42The patch in #16 (invite_list_wsod-2996758-16.patch) applied cleanly and there was no longer a Database Exception on the Invite List page.
Comment #18
renatog commentedI applied the patch and the route invite.invite_list (invite/list) is really working fine. +1 to this
Comment #21
renatog commentedCommitted to the 8.x-1.x and 2.0.x branches. Thank you so much everyone for your contribution.