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

Issue fork lockr-3378650

Command icon 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

nicrodgers created an issue. See original summary.

nicrodgers’s picture

Issue summary: View changes

nicrodgers’s picture

Assigned: nicrodgers » Unassigned
Status: Active » Needs review
nitesh624’s picture

Status: Needs review » Reviewed & tested by the community

Above Merge Request solve the warning related to hook_requirements on status page

Iggy_Lakic made their first commit to this issue’s fork.

iggy_lakic’s picture

This fix seems fine, and I also added similar logic to another place inside module, in `LockrAdminController.php`.
I created a patch for this.

nicrodgers’s picture

Status: Reviewed & tested by the community » Needs review

Setting 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?

iggy_lakic’s picture

@nicrodgers sorry for that. Yes, I've made changes inside the LockrAdminController.php where we have similar situation like in lockr.install.

phjou’s picture

Merge request is fixing the issue, thanks!

cellar door’s picture

Status: Needs review » Fixed

Thanks all for this, merged into 5.x and we'll cut an official 5.0 release later today!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.