• Home
  • nutrition
  • What Should You Eat If You Want to Snack at Night?

What Should You Eat If You Want to Snack at Night?

What Should You Eat If You Want to Snack at Night?
Illustration of snacking at night. Credit: Freepik

Share :


When nighttime cravings hit, it can be tricky to find a snack that satisfies without guilt. So, what are some nutritious yet delicious choices to enjoy late at night? Read on for details!

 

Benefits of Snacking at Night

Although often seen as a habit that leads to weight gain, nighttime snacking doesn't always harm your health. In fact, in some cases, it can offer benefits.

Research suggests that for those who are physically active, especially athletes, eating high-protein snacks before bed may actually boost muscle-building by supporting protein synthesis.

If done wisely, snacking at night can bring several benefits, including:

  • Preventing hunger pangs before sleep
  • Enhancing sleep quality
  • Aiding muscle recovery, particularly in active individuals
  • Keeping blood sugar levels stable
  • Reducing the chance of overeating the next morning
  • Enhancing focus and cognitive function
  • Assisting in weight control, especially if snacks are nutritious and low in calories

 

Nutritious Snacks for Nighttime

Choosing the right snack is key to maintaining both your health and sleep quality. Here are a few suggested options:

Low-fat yogurt with fresh fruit

Combining low-fat yogurt with fresh fruit is a great nighttime snack choice. Yogurt is rich in protein, particularly casein, which helps promote satiety.

Plus, its probiotics are good for digestion, while fresh fruits add fiber and vitamins without extra calories.

Almonds or other nuts

Almonds, cashews, walnuts, and similar nuts make healthy nighttime snacks. They provide healthy fats, protein, and fiber, and while they're relatively high in calories, enjoying a small portion can give you energy without spiking blood sugar.

Boiled eggs

Boiled eggs work well as a late-night snack since they help you feel full longer. They’re also packed with tryptophan, an amino acid that aids serotonin and melatonin production, both of which support good sleep.

High-fiber fruits

For a light, sweet snack, high-fiber fruits like apples, pears, or grapes are ideal. Their fiber content slows digestion, helping you feel satisfied longer.

 

Is Nighttime Snacking Safe If You Have Diabetes?

People with diabetes don’t always have to avoid nighttime snacks. However, it's important to choose snacks wisely, whether the snacks are healthy or not.

You will be advised to prioritize those with a low glycemic index, combining them with protein and fiber, and steering clear of foods with added sugar.

 

For guidance in selecting suitable snacks, consider consulting a doctor or nutritionist. You can also use the Ai Care health consultation app, available for download on the App Store or Play Store.

 

Looking for more advice on nutrition, healthy foods, and diet tips? Click here!

Writer : Agatha Writer
Editor :
  • dr Hanifa Rahma
Last Updated : Thursday, 31 October 2024 | 09:45

Marsha McCulloch, MS, RD (2024). The 14 Best Healthy Late Night Snacks. Available from: https://www.healthline.com/nutrition/healthy-late-night-snacks 

Barbara Brody (2024). Best and Worst Late-Night Snacks for Your Health. Available from: https://www.webmd.com/diet/ss/slideshow-late-night-snacks 

Daniel Pachecho (2024). Is Eating Before Bed Bad?. Available from: https://www.sleepfoundation.org/nutrition/is-it-bad-to-eat-before-bed 

Cleveland Clinic (2020). 4 Late-Night Snacks That Are Actually Good for You. Available from: https://health.clevelandclinic.org/4-late-night-snacks-that-are-actually-good-for-you 

Shereen Lehman, MS (2024). 17 Healthy Late-Night Snacks. Available from: https://www.verywellfit.com/healthy-midnight-snacks-4097329 

Kira Sampson (2022). Late-Night Eating Impact. Available from: https://hms.harvard.edu/news/late-night-eating-impact 

Atli Arnarson, BSc, PhD (2023). Yogurt 101: Nutrition Facts and Health Benefits. Available from: https://www.healthline.com/nutrition/foods/yogurt 

M. Regina Castro, M.D. (2023). Are late-night snacks OK for people who have diabetes?. Available from: https://www.mayoclinic.org/diseases-conditions/diabetes/expert-answers/diabetes/faq-20058372 

Request history8.1.29PHP Version1.04sRequest Duration6MBMemory UsageGET {category}/{slug}Route
  • warninglog[14:58:35] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[14:58:35] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[14:58:35] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • infolog[14:58:35] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • errorlog[14:58:35] LOG.error: Error accessing doctor id: 63983202e088e5e18c0511d7 { "exception": "Undefi...
  • Booting (312ms)time
  • Application (724ms)time
  • 1 x Application (69.92%)
    724ms
    1 x Booting (30.07%)
    312ms
    11 templates were rendered
    • 1x web.v2.single-post-healthpediasingle-post-healthpedia.blade.php#?blade
    • 1x web.v2.partials.single.breadcrumbbreadcrumb.blade.php#?blade
    • 2x web.partials.single-sharesingle-share.blade.php#?blade
    • 1x web.v2.partials.single.editoreditor.blade.php#?blade
    • 1x web.v2.partials.single.tagstags.blade.php#?blade
    • 1x web.v2.partials.single.referensireferensi.blade.php#?blade
    • 1x web.v2.partials.article-populararticle-popular.blade.php#?blade
    • 1x web.v2.partials.related-articlerelated-article.blade.php#?blade
    • 1x web.v2.partials.healthtopichealthtopic.blade.php#?blade
    • 1x layouts.v2.web_layoutweb_layout.blade.php#?blade
    uri
    GET {category}/{slug}
    middleware
    web
    controller
    App\Http\Controllers\WebController@newSinglePost
    namespace
    App\Http\Controllers
    prefix
    where
    as
    web.new.single.post
    file
    app/Http/Controllers/WebController.php:645-806
    32 statements were executed414ms
    • WebController.php#656aicare_prod_new1.02msselect * from `categories` where (`slug` = 'nutrition' or `slug_en` = 'nutrition') and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: nutrition
      • 1: nutrition
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:656
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#657aicare_prod_new90.47msselect * from `posts` where (`slug` = 'what-should-you-eat-if-you-want-to-snack-at-night-en' or `slug_en` = 'what-should-you-eat-if-you-want-to-snack-at-night-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: what-should-you-eat-if-you-want-to-snack-at-night-en
      • 1: what-should-you-eat-if-you-want-to-snack-at-night-en
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:657
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new72.38msselect * from `posts` where (`slug` = 'what-should-you-eat-if-you-want-to-snack-at-night-en' or `slug_en` = 'what-should-you-eat-if-you-want-to-snack-at-night-en') and `status` = 1 and `publish_date` <= '2025-04-27 14:58:35' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: what-should-you-eat-if-you-want-to-snack-at-night-en
      • 1: what-should-you-eat-if-you-want-to-snack-at-night-en
      • 2: 1
      • 3: 2025-04-27 14:58:35
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new960μsselect `users`.*, `post_editor`.`post_id` as `pivot_post_id`, `post_editor`.`user_id` as `pivot_user_id`, `post_editor`.`created_at` as `pivot_created_at`, `post_editor`.`updated_at` as `pivot_updated_at` from `users` inner join `post_editor` on `users`.`id` = `post_editor`.`user_id` where `post_editor`.`post_id` in (9969)
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new940μsselect `users`.*, `post_english_editors`.`post_id` as `pivot_post_id`, `post_english_editors`.`user_id` as `pivot_user_id`, `post_english_editors`.`created_at` as `pivot_created_at`, `post_english_editors`.`updated_at` as `pivot_updated_at` from `users` inner join `post_english_editors` on `users`.`id` = `post_english_editors`.`user_id` where `post_english_editors`.`post_id` in (9969)
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new5.3msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` in (9969) and `categories`.`deleted_at` is null
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#703aicare_prod_new600μsselect * from `categories` where `categories`.`id` in (0) and `categories`.`deleted_at` is null
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:703
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#724aicare_prod_new16.08msselect `tags`.*, `post_tag`.`post_id` as `pivot_post_id`, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`created_at` as `pivot_created_at`, `post_tag`.`updated_at` as `pivot_updated_at` from `tags` inner join `post_tag` on `tags`.`id` = `post_tag`.`tag_id` where `post_tag`.`post_id` = 9969
      Bindings
      • 0: 9969
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:724
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#1362aicare_prod_new16.26msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 64 and `posts`.`deleted_at` is null
      Bindings
      • 0: 64
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new12.23msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 361 and `posts`.`deleted_at` is null
      Bindings
      • 0: 361
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new12.9msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 437 and `posts`.`deleted_at` is null
      Bindings
      • 0: 437
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#1362aicare_prod_new11.08msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 952 and `posts`.`deleted_at` is null
      Bindings
      • 0: 952
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1362
      • app/Http/Controllers/WebController.php:735
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#743aicare_prod_new74.22msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-27 14:58:35' and `deleted_at` is null and `content_type` = 'article' and `slug_en` != '' and `slug_en` is not null and `posts`.`deleted_at` is null order by RAND() limit 7
      Bindings
      • 0: 1
      • 1: 2025-04-27 14:58:35
      • 2: article
      • 3: 
      Hints
      • Use SELECT * only if you need all columns from table
      • ORDER BY RAND() is slow, try to avoid if you can. You can read this or this
      • The != operator is not standard. Use the <> operator to test for inequality instead.
      Backtrace
      • app/Http/Controllers/WebController.php:743
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • CategoryHealtTopics.php#11aicare_prod_new1.21msselect * from `categories` where (`slug` != 'penyakit-a-z' and `slug` != 'obat-a-z' and `slug` != 'pemeriksaan-a-z' and `parent_id` = '0') and `categories`.`deleted_at` is null order by `order` asc
      Bindings
      • 0: penyakit-a-z
      • 1: obat-a-z
      • 2: pemeriksaan-a-z
      • 3: 0
      Hints
      • Use SELECT * only if you need all columns from table
      • The != operator is not standard. Use the <> operator to test for inequality instead.
      Backtrace
      • app/Repositories/Categories/CategoryHealtTopics.php:11
      • app/Http/Controllers/WebController.php:744
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
    • WebController.php#748aicare_prod_new1.45msselect `healthpedia`.*, `healthpedia_post`.`post_id` as `pivot_post_id`, `healthpedia_post`.`healthpedia_id` as `pivot_healthpedia_id`, `healthpedia_post`.`created_at` as `pivot_created_at`, `healthpedia_post`.`updated_at` as `pivot_updated_at` from `healthpedia` inner join `healthpedia_post` on `healthpedia`.`id` = `healthpedia_post`.`healthpedia_id` where `healthpedia_post`.`post_id` = 9969 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 9969
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:748
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • WebController.php#779aicare_prod_new7.56msupdate `posts` set `views_count` = 209 where `id` = 9969
      Bindings
      • 0: 209
      • 1: 9969
      Backtrace
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • ActivityLogger.php#174aicare_prod_new5.99msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 9969, 'App\\Models\\Admin\\Post', 'updated', '2025-04-27 14:58:35', '2025-04-27 14:58:35')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 9969
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-27 14:58:35
      • 8: 2025-04-27 14:58:35
      Backtrace
      • vendor/spatie/laravel-activitylog/src/ActivityLogger.php:174
      • vendor/spatie/laravel-activitylog/src/Traits/LogsActivity.php:88
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
    • single-post-healthpedia.blade.php#37aicare_prod_new1.09msselect * from `users` where `users`.`id` = 20 limit 1
      Bindings
      • 0: 20
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::web.v2.single-post-healthpedia:37
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new7.22msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 5574 and `categories`.`deleted_at` is null
      Bindings
      • 0: 5574
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new6.99msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9888 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9888
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new9.02msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9760 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9760
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new9.13msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9970 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9970
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new10.39msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9812 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9812
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new9.69msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 874 and `categories`.`deleted_at` is null
      Bindings
      • 0: 874
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new5.58msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9648 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9648
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new5.37msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9984 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9984
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new5.8msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9811 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9811
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new5.2msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9987 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9987
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • related-article.blade.php#15aicare_prod_new5.86msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9899 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9899
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#122aicare_prod_new680μsselect * from `pages` where `slug` = 'about-us' limit 1
      Bindings
      • 0: about-us
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::layouts.v2.web_layout:122
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#549aicare_prod_new540μsselect * from `faqs` where `name_en` is not null and `slug_en` is not null limit 1
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::layouts.v2.web_layout:549
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • web_layout.blade.php#551aicare_prod_new670μsselect * from `term_policies`
      Hints
      • Use SELECT * only if you need all columns from table
      • The SELECT statement has no WHERE clause and could examine many more rows than intended
      Backtrace
      • view::layouts.v2.web_layout:551
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    App\Models\Admin\Post
    93Post.php#?
    App\Models\Admin\Category
    21Category.php#?
    App\Models\Admin\Tag
    4Tag.php#?
    App\User
    3User.php#?
    App\Models\TermPolicy
    3TermPolicy.php#?
    App\Models\Admin\Page
    1Page.php#?
    App\Models\Admin\Faq
    1Faq.php#?
        locale
        en
        _token
        YoDCA2QRui0BNSUO9Qth6d8DDcY0OnjbySexKhf1
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/nutrition/what-should-you-eat-if-you-want-to-snack...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /nutrition/what-should-you-eat-if-you-want-to-snack-at-night-en
        status_code
        200
        
        status_text
        OK
        format
        html
        content_type
        text/html; charset=UTF-8
        request_query
        []
        
        request_request
        []
        
        request_headers
        0 of 0
        array:19 [ "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-real-ip" => array:1 [ 0 => "3.14.136.92" ] "x-forwarded-for" => array:1 [ 0 => "3.14.136.92" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-scheme" => array:1 [ 0 => "https" ] "host" => array:1 [ 0 => "ai-care.atmatech.id" ] "connection" => array:1 [ 0 => "keep-alive" ] ]
        request_cookies
        []
        
        response_headers
        0 of 0
        array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 27 Apr 2025 07:58:35 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImlzNmhXSkVSb2JrUHFMNGtEMEhmUFE9PSIsInZhbHVlIjoiL1dQaXN3VXdKcG9CZDdBQ2lDVEVyR3NnMklGSHd2K3A3Wk9QTm10UTJZY0F0T25tZzRnTW8zRmtZYndDSzY4OGxDbVBvSGFCS0xnTENkOEZ1ejFlV1NsK3BqS0hnQ2FJSEp2MUlEKzR5eXY3U3JPdy95eTdxdnRtVlRFZnpUUDIiLCJtYWMiOiI3NDVhYjcyNWM4ODUyZmU4Yjk4ODI3Yzc3NmNiNzViMGJlZGM5NTEyMjk0MWQ5YmU5Y2ZhMjY2NDliZjlhOTVjIiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 09:58:36 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6ImlzNmhXSkVSb2JrUHFMNGtEMEhmUFE9PSIsInZhbHVlIjoiL1dQaXN3VXdKcG9CZDdBQ2lDVEVyR3NnMklGSHd2K3A3Wk9QTm10UTJZY0F0T25tZzRnTW8zRmtZYndDSzY4OGxDbVBvS" 1 => "laravel_session=eyJpdiI6Ijg3c1JvSFo5RXpWNGVwL256RHJXcnc9PSIsInZhbHVlIjoia1R4NkdXZjdNR0RtTkErMnBmN1Bhc1YyQjVnbkkxbW0rSzMxWmxLOFFEbm5rUzhUWEpVeHBwSFd4alkxOXA1NXkweXJSOHRrU3V5bU1jektvT242SWVscy9EejFnN1k5NEt2Zk4yKzZvVXcwLzlnNWc5amJ0MllOZy9nOTc0ZzYiLCJtYWMiOiIzZjRjMWE0NDBlOGI4ZjA3MGYzOTg2NDBkYWYzNGQxNDM2NzVhMGJiMTllNjVjZDhiZmJiYmZmNzc4Njk5NmM0IiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 09:58:36 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6Ijg3c1JvSFo5RXpWNGVwL256RHJXcnc9PSIsInZhbHVlIjoia1R4NkdXZjdNR0RtTkErMnBmN1Bhc1YyQjVnbkkxbW0rSzMxWmxLOFFEbm5rUzhUWEpVeHBwSFd4alkxOXA1NXkw" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImlzNmhXSkVSb2JrUHFMNGtEMEhmUFE9PSIsInZhbHVlIjoiL1dQaXN3VXdKcG9CZDdBQ2lDVEVyR3NnMklGSHd2K3A3Wk9QTm10UTJZY0F0T25tZzRnTW8zRmtZYndDSzY4OGxDbVBvSGFCS0xnTENkOEZ1ejFlV1NsK3BqS0hnQ2FJSEp2MUlEKzR5eXY3U3JPdy95eTdxdnRtVlRFZnpUUDIiLCJtYWMiOiI3NDVhYjcyNWM4ODUyZmU4Yjk4ODI3Yzc3NmNiNzViMGJlZGM5NTEyMjk0MWQ5YmU5Y2ZhMjY2NDliZjlhOTVjIiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 09:58:36 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6ImlzNmhXSkVSb2JrUHFMNGtEMEhmUFE9PSIsInZhbHVlIjoiL1dQaXN3VXdKcG9CZDdBQ2lDVEVyR3NnMklGSHd2K3A3Wk9QTm10UTJZY0F0T25tZzRnTW8zRmtZYndDSzY4OGxDbVBvS" 1 => "laravel_session=eyJpdiI6Ijg3c1JvSFo5RXpWNGVwL256RHJXcnc9PSIsInZhbHVlIjoia1R4NkdXZjdNR0RtTkErMnBmN1Bhc1YyQjVnbkkxbW0rSzMxWmxLOFFEbm5rUzhUWEpVeHBwSFd4alkxOXA1NXkweXJSOHRrU3V5bU1jektvT242SWVscy9EejFnN1k5NEt2Zk4yKzZvVXcwLzlnNWc5amJ0MllOZy9nOTc0ZzYiLCJtYWMiOiIzZjRjMWE0NDBlOGI4ZjA3MGYzOTg2NDBkYWYzNGQxNDM2NzVhMGJiMTllNjVjZDhiZmJiYmZmNzc4Njk5NmM0IiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 09:58:36 GMT; path=/; httponlylaravel_session=eyJpdiI6Ijg3c1JvSFo5RXpWNGVwL256RHJXcnc9PSIsInZhbHVlIjoia1R4NkdXZjdNR0RtTkErMnBmN1Bhc1YyQjVnbkkxbW0rSzMxWmxLOFFEbm5rUzhUWEpVeHBwSFd4alkxOXA1NXkw" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "YoDCA2QRui0BNSUO9Qth6d8DDcY0OnjbySexKhf1" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/nutrition/what-should-you-eat-if-you-want-to-snack-at-night-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-27 14:58:36GET/nutrition/what-should-you-eat-if-you-want-to-snack-at-night-en51132126