I installed the module version 8.x-1.2 and attempting to access the page at /activitytrackinglog results in a WSOD, with message saying "The website encountered an unexpected error. Please try again later." The following error appeared in my db log:
InvalidArgumentException: Class "\Drupal\activity_tracking\Form\ActivityTracking" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /path/to/docroot/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).
The module is currently unusable, requiring me to uninstall. Thanks in advance for looking into this, if you can.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | updated_form_file_name-3097842-14.patch | 1.13 KB | gaurav_manerkar |
Issue fork activitytracking-3097842
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jasonluttrellComment #3
vernitComment #4
jasonluttrellComment #5
vernitI have tried installing module and access the
/activitytrackinglog.It is working as expected. Please re-build cache or re-install it.
Comment #6
vernitComment #7
jasonluttrellI'll import a fresh copy of the database from a different tier and try your recommendation. Will get back to you soon. Thanks.
Comment #8
jasonluttrellHi Vernit,
Thank you for following up on this. I tried it on my local computer, re-installed the Activity Tracking 8.x-1.2+0-dev module (I installed the dev module to see if it would make a difference) and cleared the cache/rebuilt site. Previously, I was using Drupal 8.7.10. Now, I am testing on 8.8.0-rc1. It looks like the same result (though I'm seeing a somewhat different error message--it could be because of different module version, Drupal version, or different environment). No other issues with my Drupal install.
Here is a more detailed (and seemingly different) error message from the /activitytrackinglog page, if it helps:
Thanks again for your time.
Regards,
Jason
Comment #9
vernitHi Jason,
Please follow below steps on fresh installation :
1. composer require drupal/activitytracking:1.x-dev
2. vendor\bin\drush en activity_tracking
Also, Please share your steps of installation to work around at my end.
Many thanks,
Vernit
Comment #10
jasonluttrellOk, I'll try but it may not be right away.
Comment #11
gaurav_manerkar commentedIssue is with filename
Filename not matching classname (case sensitive issue)
Comment #12
gaurav_manerkar commentedComment #13
gaurav_manerkar commentedComment #14
gaurav_manerkar commentedIssue is with form filename.
Filename not matching classname (case sensitive issue).
Form file name should be ActivityTracking.php not activityTracking.php
Updated code with new filename.
Comment #15
vernitThanks for patch. I have updated the module with this bug fix and Views integration
Comment #16
vernitComment #17
vernitComment #18
BigEd commentedWas this released into Dev? I am getting this error still, so just need to know if to patch..
Thanks.