πŸ‡ΊπŸ‡ΈUnited States @sapetm

Account created on 8 February 2021, over 3 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States sapetm

Hey, wanted to add a tweak on patch from comment #53. The elseif on line 191 of /core/lib/Drupal/Core/Entity/Query/Sql/Tables.php didn't have a condition and was throwing warnings occasionally. Here is that patch with a condition for the elseif. This patch applies and works for us in Drupal 10.2.6 and PHP 8.1.27.

πŸ‡ΊπŸ‡ΈUnited States sapetm

Sorry folks, third time's the charm, or something like that. I uploaded the wrong patch file with my other two comments. This is the patch I am using for Drupal 10.2.6 and PHP 8.1.27. It is identical to the patch in comment #102 but with the addition of an array_unique() in the second hunk when setting the value of the $suggestions array in the render function. This fixes the issue for us. Hope it helps!

πŸ‡ΊπŸ‡ΈUnited States sapetm

I seem to have messed up the naming convention for the patch files. This is my first time uploading a patch file. Sorry about that! Hope I did it right this time. Below is from my previous post.

This is a tweak on the patch from comment #102. We have had this problem for a while and we've always had to, in the render function at the last point where the suggestions array is defined, apply an array_unique() to it. This has always fixed the problem for us, but I haven't tested thoroughly to see if this in fact fixes it everywhere. We are running Drupal 10.2.6 and PHP 8.1.27. Hope this helps!

πŸ‡ΊπŸ‡ΈUnited States sapetm

This is a tweak on the patch from comment #102. We have had this problem for a while and we've always had to, in the render function at the last point where the suggestions array is defined, apply an array_unique() to it. This has always fixed the problem for us, but I haven't tested thoroughly to see if this in fact fixes it everywhere. We are running Drupal 10.2.6 and PHP 8.1.27. Hope this helps!

Production build 0.71.5 2024