Hướng dẫn tôi chạy Chạy trong Tinker hoặc dump SQL (Full)
✅ Cách 1: Chạy trong Laravel Tinker (khuyên dùng)
🔹 Bước 1: Mở terminal (SSH hoặc local)
bashCopyEditphp artisan tinker🔹 Bước 2: Kiểm tra slug "about"
phpCopyEditDB::table('slugs')->where('key', 'about')->get();phpCopyEdit=> Illuminate\Support\Collection {#...
all: [
{#...
id: 95,
key: "about",
reference_type: "Botble\\Page\\Models\\Page",
reference_id: 12,
prefix: null,
},
],
}🔹 Bước 3: Kiểm tra pages theo reference_id vừa tìm
pages theo reference_id vừa tìm✅ Cách 2: Dump SQL trực tiếp (nếu bạn dùng phpMyAdmin, Adminer, TablePlus, v.v.)
🔹 Kiểm tra slugs:
slugs:🔹 Kiểm tra pages:
pages:✅ Gửi lại cho mình:
Last updated