TypeError
Shopify\Utils::sanitizeShopDomain(): Argument #1 ($shop) must be of type string, null given, called in /var/www/html/web/app/Lib/AuthRedirection.php on line 17
TypeError
Shopify\Utils::sanitizeShopDomain(): Argument #1 ($shop) must be of type string, null given, called in /var/www/html/web/app/Lib/AuthRedirection.php on line 17
Can you provide more context on this error, eg: query/ mutation being made, general use-case, etc?
shop domain is null show Authredirection.php file
i am create shopify laravel store app
public static function redirect(Request $request, bool $isOnline = false): RedirectResponse
{
$shop = Utils::sanitizeShopDomain($request->query(“shop”));
if (Context::$IS_EMBEDDED_APP && $request->query("embedded", false) === "1") {
$redirectUrl = self::clientSideRedirectUrl($shop, $request->query());
} else {
$redirectUrl = self::serverSideRedirectUrl($shop, $isOnline);
}
return redirect($redirectUrl);
}