- ๐ฌ๐งUnited Kingdom joachim
+++ b/plugin/src/ParamConverter/PluginTypeBasedConverterTrait.php @@ -79,7 +79,7 @@ public function applies($definition, $name, Route $route) { + if (is_null($this->getConverterDefinition((array)$definition))) {
Casting to the right type is not the right fix. We need to figure out why the wrong type of value is arriving here.
- ๐ฎ๐ณIndia tarunyaduvanshi
#2
Hi @SocialNicheGuru,I have same issue and apply this patch my issue is resolved.
Thanks
- ๐ฎ๐ณIndia chetan 11
chetan 11 โ made their first commit to this issueโs fork.
- Open on Drupal.org โCore: 9.5.5 + Environment: PHP 7.3 & MariaDB 10.3.22last update
10 months ago Waiting for branch to pass - Status changed to Needs review
10 months ago 11:28am 15 January 2024 - Status changed to Needs work
10 months ago 9:55pm 16 January 2024 - ๐ฌ๐งUnited Kingdom joachim
This is not the right way to fix this.
As I said above, we need to understand why the wrong value is arriving here, not just paper around it.
(Also, please be careful with whitespace when making changes.)