=== Marketing Campaigns Diagnostic === 1. Checking if marketing_campaigns table exists... Table exists: YES 2. Checking table columns... Columns: id, name, template_id, template_name, targeted_customers, sent_count, delivered_count, read_count, failed_count, status, parameters, created_at, updated_at 3. Counting total campaigns... Total campaigns: 3 4. Fetching campaigns with raw SQL... Fetched 3 campaigns First campaign ID: 1 First campaign name: Campaign 1 2025 5. Fetching campaigns with Eloquent... Fetched 3 campaigns 6. Checking for invalid JSON in parameters column... ✓ All campaigns have valid JSON parameters 7. Testing pagination... Current page: 1 Total: 3 Per page: 15 Last page: 1 8. Testing MarketingController::index()... HTTP Status: 200 ✓ SUCCESS Campaigns returned: 3 === Diagnostic Complete ===