vendor\pmochine\laravel-tongue\src\Accent\Accent.php : 81
TypeError
str_replace(): Argument #2 ($replace) must be of type string when argument #1 ($search) is a string
public static function substituteAttributesInRoute($attributes, $route)
{
foreach ($attributes as $key => $value) {
$route = str_replace('{'.$key.'}', $value, $route); // error happens here
$route = str_replace('{'.$key.'?}', $value, $route);
}
Getting erorr when using
the error is TypeError
Thanks