app/shop/layout.tsx が例外を投げました。app/shop/error.tsx と app/error.tsx の両方があります。/shop を開くと、どちらのエラー画面が出ますか。
app/shop/layout.tsx
Serverで実行
import { connection } from 'next/server' Serverで実行
export default async function ShopLayout({ children }: { children: React.ReactNode }) {Serverで実行
await connection()Serverで実行
throw new Error('layout-broke')Serverで実行
}