When deleting a revision the Object of class Drupal\Core\Entity\Query\Sql\Query could not be converted to int notice appears. It does not break the code, but it can be confusing.

CommentFileSizeAuthor
#2 notice_on_deletion-3112804-2.patch562 bytesdeaom

Comments

DeaOm created an issue. See original summary.

deaom’s picture

Status: Active » Needs review
StatusFileSize
new562 bytes

And the patch.

jernejbeg’s picture

Status: Needs review » Reviewed & tested by the community

I had the same error. The patch applies and it solves the issue. Well done DeaOm

  • benjamincizej committed be49ab3 on 8.x-1.x authored by DeaOm
    Issue #3112804 by DeaOm: Notice: Object of class Drupal\Core\Entity\...
bcizej’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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