Closed (fixed)
Project:
Purge
Version:
8.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Oct 2018 at 11:07 UTC
Updated:
14 Oct 2021 at 23:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dpiPatch converts param to property with default value. Doesnt seem to be called with different args outside of class.
Comment #3
dpiComment #4
guschilds commentedWe started getting the same error after upgrading from PHP 7.1 to 7.2, while adding a wildcardurl to the queue. This patch resolved the issue for us. Going to mark this as RTBC, though admittedly, I'm not familiar enough with the codebase to know if it truly is the best fix. Thanks!
EDIT: I should probably also mention that we also have https://www.drupal.org/files/issues/2921309-17-port-purge-drush-9.patch applied and are running the p:queue:add command with a wildcardurl.
Comment #5
nielsvm commentedThis error looks familiar and I remember I've fixed it earlier, also, my development environment runs on PHP 7.3.9.
Can we confirm that this error no longer happens and that this can be closed?
Comment #6
recrit commentedThis is still needed. The module should adhere to its own interface defined in Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface which does not have any arguments:
Comment #7
recrit commentedRe-rolled the patch against the latest 8.x-3.x.
Comment #8
marcingy commentedComment #9
acbramley commentedThe failures in #7 are also failing on HEAD so are unrelated to this issue.
Comment #10
acbramley commentedComment #11
aspilicious commentedCan someone verify the test fix patch? #3138392: Fix tests
Comment #12
dpiRerolled after "drupal9-kernel-tests" branch merge.
Diff based off
b49bcedComment #13
kim.pepperComment #14
japerryCommitted to the 3.1 branch, looks good to me.
Comment #16
nielsvm commentedMerged, thank you for this uncatched fix!
https://www.drupal.org/project/purge/issues/3236847