Closed (fixed)
Project:
Access unpublished
Version:
8.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2018 at 17:20 UTC
Updated:
30 Jan 2019 at 22:45 UTC
Jump to comment: Most recent
Comments
Comment #3
chr.fritschThank you for your first contribution. 🎉👏
The next time you upload a patch and expect to get some feedback set the issue status to "Needs review" 😀
So I just committed the patch. Thanks
Comment #5
keboca commentedThank for the patch!
After I applied it then I got a different error message saying "access_token" table does not exists. Then I verified the database to find out that the table wasn't there. It took me some time to finally see that `Access unpublished` module wasn't installed, however Drush was grabbing the hook function even when module wasn't enabled.
To make it works. I decided to include a way around as follow:
if (!\Drupal::moduleHandler()->moduleExists('access_unpublished')) {return;}