Problem/Motivation
We recently deployed beta 5.0.0-beta1 to production and have noticed several instances of this error in our logs on one site:
Object of class DateTimeImmutable could not be converted to int in lockr_requirements line 99 of locker.install
Steps to reproduce
Visit the status report at /admin/reports/status
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3378650-object_of_class_datetimeimmutable.patch | 2.18 KB | iggy_lakic |
Issue fork lockr-3378650
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
nicrodgersComment #4
nicrodgersComment #5
nitesh624Above Merge Request solve the warning related to hook_requirements on status page
Comment #7
iggy_lakic commentedThis fix seems fine, and I also added similar logic to another place inside module, in `LockrAdminController.php`.
I created a patch for this.
Comment #8
nicrodgersSetting back to NR due to #7.
@Iggy i'm confused why you've made a commit to the fork but then uploaded a patch? I can't see any commits from you in the MR. Do you have more changes to push?
Comment #9
iggy_lakic commented@nicrodgers sorry for that. Yes, I've made changes inside the LockrAdminController.php where we have similar situation like in lockr.install.
Comment #11
phjouMerge request is fixing the issue, thanks!
Comment #13
cellar door commentedThanks all for this, merged into 5.x and we'll cut an official 5.0 release later today!