• Home
  • self-help-en
  • Frequently Snacking on Sweet Foods at Night? Here’s How It Affects Your Health

Frequently Snacking on Sweet Foods at Night? Here’s How It Affects Your Health

Frequently Snacking on Sweet Foods at Night? Here’s How It Affects Your Health
Illustration of sugars and sweet foods. Credit: Freepik

Share :


Sweet treats like cake or chocolate are loved by people of all ages. Many enjoy snacking on these sugary foods, even late at night before bed. But what impact does nighttime snacking on sweet foods have on our health? Read on to learn more.

 

Health Impacts of Eating Sweet Foods at Night

Desserts and snacks often have a sweet flavor. When we eat sweets, our body releases serotonin, a hormone that makes us feel content and happy. This effect often leads people to indulge in sweet treats as a nighttime snack.

Though sweet snacks can bring temporary happiness, this habit can actually lead to negative health effects. Here are some of the drawbacks of eating sweet foods at night:

Difficulty Achieving Deep Sleep

Research has shown that eating sweet foods can lead to sleep disturbances, such as trouble falling asleep, restless sleep, or reduced sleep duration. When you consume sugar, your body processes it into energy.

The more sugar consumed, the longer it remains in your system, prolonging the time needed to metabolize it. For instance, it takes about an hour and a half to metabolize a single teaspoon of sugar, meaning sweet foods or drinks can interfere with your ability to fall asleep.

Other studies indicate that high sugar intake before bed also affects sleep quality, often leading to disrupted sleep or shorter durations. This lack of restful sleep can leave you feeling groggy, irritable, and tired upon waking.

Promotes Weight Gain

Consuming sweet foods before bed is closely linked to weight gain due to the extra calories that are not burned off while sleeping. The body then stores this surplus energy as fat. 

Leads to Sugar Cravings

Sugar activates the brain’s reward system, triggering dopamine release, hormones associated with pleasure and satisfaction. However, over time, consuming large amounts of sugar decreases the brain's sensitivity to dopamine, which can result in cravings for more sugar or sweet foods (sugar craving).

Over the long term, this habit can impair the effectiveness of hormones that regulate appetite and metabolism, increasing the risk of obesity, prediabetes, and diabetes.

 

Healthy Nighttime Snack Options

In certain situations, a late-night snack may be necessary. If you feel hungry before bed, there are plenty of healthier snack choices. Opt for low-calorie options, and steer clear of spicy or acidic foods to avoid stomach discomfort.

Some nutritious snacks for the evening include:

  • Bananas with peanut or almond butter
  • Yogurt
  • Oatmeal
  • Fruits like kiwi, cherries, and watermelon
  • Nuts and seeds, such as cashews, walnuts, and pistachios

 

Although it’s common to crave snacks at night, it’s better to avoid sweet options, as they can trigger cravings, disrupt sleep, and elevate health risks like obesity and diabetes.

If you need help managing your diet, consider consulting a doctor or using the Ai Care app’s consultation feature, available on the Play Store and App Store.

 

Want to learn more about nutrition, food, and diet tips? Click here!

Writer : Ratih AI Care
Editor :
  • dr Hanifa Rahma
Last Updated : Monday, 28 October 2024 | 12:14

Jones, T. (2023). Is It Bad to Eat Before Bed?. Available from: https://www.healthline.com/nutrition/eating-before-bed#1

Pacheco, D. (2024). Healthy Bedtime Snacks To Eat Before Sleep. Available from: https://www.sleepfoundation.org/nutrition/healthy-bedtime-snacks

Kubala, J. (2021). 6 Foods That Keep You Awake at Night. Available from: https://www.healthline.com/nutrition/foods-that-keep-you-awake

Breus, M. (2024).How Does Sugar Affect Sleep?.  Available from: https://sleepdoctor.com/nutrition/how-sugar-affects-sleep/

Alahmary, S. A., Alduhaylib, S. A., Alkawii, H. A., Olwani, M. M., Shablan, R. A., Ayoub, H. M., Purayidathil, T. S., Abuzaid, O. I., & Khattab, R. Y. (2019). Relationship Between Added Sugar Intake and Sleep Quality Among University Students: A Cross-sectional Study. American journal of lifestyle medicine16(1), 122–129. https://doi.org/10.1177/1559827619870476

Request history8.1.29PHP Version1.15sRequest Duration6MBMemory UsageGET {category}/{slug}Route
  • warninglog[14:33:20] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[14:33:20] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[14:33:21] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • infolog[14:33:21] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • errorlog[14:33:21] LOG.error: Error accessing doctor id: 63983202e088e5e18c0511d7 { "exception": "Undefi...
  • Booting (236ms)time
  • Application (912ms)time
  • 1 x Application (79.46%)
    912ms
    1 x Booting (20.54%)
    236ms
    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
    33 statements were executed527ms
    • WebController.php#656aicare_prod_new700μsselect * from `categories` where (`slug` = 'self-help-en' or `slug_en` = 'self-help-en') and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: self-help-en
      • 1: self-help-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: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_new84.04msselect * from `posts` where (`slug` = 'often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en' or `slug_en` = 'often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en
      • 1: often-snacking-sweet-food-at-night-this-is-the-impact-on-health-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_new83.08msselect * from `posts` where (`slug` = 'often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en' or `slug_en` = 'often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en') and `status` = 1 and `publish_date` <= '2025-04-28 14:33:20' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en
      • 1: often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en
      • 2: 1
      • 3: 2025-04-28 14:33: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
      • 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 (9956)
      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_new1.01msselect `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 (9956)
      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.65msselect `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 (9956) 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_new640μ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.58msselect `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` = 9956
      Bindings
      • 0: 9956
      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_new14.76msselect `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` = 84 and `posts`.`deleted_at` is null
      Bindings
      • 0: 84
      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.96msselect `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.89msselect `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` = 679 and `posts`.`deleted_at` is null
      Bindings
      • 0: 679
      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.89msselect `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` = 4922 and `posts`.`deleted_at` is null
      Bindings
      • 0: 4922
      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.91msselect `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` = 8525 and `posts`.`deleted_at` is null
      Bindings
      • 0: 8525
      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_new107msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-28 14:33:20' 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-28 14:33:20
      • 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_new960μsselect * 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.37msselect `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` = 9956 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 9956
      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_new25.63msupdate `posts` set `views_count` = 251 where `id` = 9956
      Bindings
      • 0: 251
      • 1: 9956
      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_new11.93msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 9956, 'App\\Models\\Admin\\Post', 'updated', '2025-04-28 14:33:21', '2025-04-28 14:33:21')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 9956
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-28 14:33:21
      • 8: 2025-04-28 14:33:21
      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.38msselect * from `users` where `users`.`id` = 18 limit 1
      Bindings
      • 0: 18
      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_new9.66msselect `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` = 9288 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9288
      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.73msselect `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` = 8334 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8334
      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.71msselect `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` = 9573 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9573
      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.6msselect `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` = 9504 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9504
      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_new17.76msselect `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` = 9122 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9122
      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_new17.27msselect `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` = 8389 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8389
      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_new11.14msselect `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` = 9770 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9770
      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_new6.05msselect `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` = 9971 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9971
      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_new10.9msselect `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` = 9891 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9891
      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_new10.54msselect `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` = 9335 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9335
      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_new6.6msselect `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` = 9866 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9866
      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_new670μ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_new530μ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_new640μ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
    127Post.php#?
    App\Models\Admin\Category
    19Category.php#?
    App\Models\Admin\Tag
    5Tag.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
        qnK6km80mT68rSHs7AyPdkORHpt9ZKzUbgexSUu9
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/self-help-en/often-snacking-sweet-food-at-night-th...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /self-help-en/often-snacking-sweet-food-at-night-this-is-the-impact-on-health-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.83.200" ] "x-forwarded-for" => array:1 [ 0 => "3.14.83.200" ] "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 => "Mon, 28 Apr 2025 07:33:21 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Im5MdDhFcWxVd3pDSk1UYThDVXJPQWc9PSIsInZhbHVlIjoiTWYrRGZnUDJOTmdOak1wZWJadEh5Q3JzdTNXMVR5KzRETnhadFIyajhGNEV5aDFMWk50YWx3M0xuZURvT3pRdTNBTFJoRXY2V2I4VUFHTEZNbG4zcWRicGExdGcwSy8wc0JEWlB3UitoZVgramtmTXdjL3hIalRLaGpVU0tlVmsiLCJtYWMiOiIxZjg0MGEyNGZhNjNlNTU4N2ZiOTkzNzA2NjAyYjI1ZjFmY2U3YzQzMmQxYTk4NWM3NmZiMmM2Mzg1Y2RjOWE3IiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 09:33:21 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6Im5MdDhFcWxVd3pDSk1UYThDVXJPQWc9PSIsInZhbHVlIjoiTWYrRGZnUDJOTmdOak1wZWJadEh5Q3JzdTNXMVR5KzRETnhadFIyajhGNEV5aDFMWk50YWx3M0xuZURvT3pRdTNBTFJoR" 1 => "laravel_session=eyJpdiI6Imt1Q0NDMXFHWG12dVZlVU1MOFEvSkE9PSIsInZhbHVlIjoiY2ZuTTNlYlpaT0xZdmhxTVo2Wk9LN2paU3I3cTB2YUxKb0svY0ZIeDh6SmxZNG40RUlDY2w0bGV4TjMwbUJZV1pqS0lzb2x4M2wzR1FaY2lFU2dBdFVUR2paOWwvVXdNRGJnWFJ2YmxJK0puaUFUMkQ0RlpWL2dYQkh2dzhHQ2giLCJtYWMiOiI1YTc4OTg1YmQxYzZkMzQ5NTFmZjUyMjc2NmNiYjYyZGRhMTE3MWJiY2M0NDFjNWVjOTI3NjM4MjRjMGVjZTRjIiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 09:33:21 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6Imt1Q0NDMXFHWG12dVZlVU1MOFEvSkE9PSIsInZhbHVlIjoiY2ZuTTNlYlpaT0xZdmhxTVo2Wk9LN2paU3I3cTB2YUxKb0svY0ZIeDh6SmxZNG40RUlDY2w0bGV4TjMwbUJZV1pq" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Im5MdDhFcWxVd3pDSk1UYThDVXJPQWc9PSIsInZhbHVlIjoiTWYrRGZnUDJOTmdOak1wZWJadEh5Q3JzdTNXMVR5KzRETnhadFIyajhGNEV5aDFMWk50YWx3M0xuZURvT3pRdTNBTFJoRXY2V2I4VUFHTEZNbG4zcWRicGExdGcwSy8wc0JEWlB3UitoZVgramtmTXdjL3hIalRLaGpVU0tlVmsiLCJtYWMiOiIxZjg0MGEyNGZhNjNlNTU4N2ZiOTkzNzA2NjAyYjI1ZjFmY2U3YzQzMmQxYTk4NWM3NmZiMmM2Mzg1Y2RjOWE3IiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 09:33:21 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6Im5MdDhFcWxVd3pDSk1UYThDVXJPQWc9PSIsInZhbHVlIjoiTWYrRGZnUDJOTmdOak1wZWJadEh5Q3JzdTNXMVR5KzRETnhadFIyajhGNEV5aDFMWk50YWx3M0xuZURvT3pRdTNBTFJoR" 1 => "laravel_session=eyJpdiI6Imt1Q0NDMXFHWG12dVZlVU1MOFEvSkE9PSIsInZhbHVlIjoiY2ZuTTNlYlpaT0xZdmhxTVo2Wk9LN2paU3I3cTB2YUxKb0svY0ZIeDh6SmxZNG40RUlDY2w0bGV4TjMwbUJZV1pqS0lzb2x4M2wzR1FaY2lFU2dBdFVUR2paOWwvVXdNRGJnWFJ2YmxJK0puaUFUMkQ0RlpWL2dYQkh2dzhHQ2giLCJtYWMiOiI1YTc4OTg1YmQxYzZkMzQ5NTFmZjUyMjc2NmNiYjYyZGRhMTE3MWJiY2M0NDFjNWVjOTI3NjM4MjRjMGVjZTRjIiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 09:33:21 GMT; path=/; httponlylaravel_session=eyJpdiI6Imt1Q0NDMXFHWG12dVZlVU1MOFEvSkE9PSIsInZhbHVlIjoiY2ZuTTNlYlpaT0xZdmhxTVo2Wk9LN2paU3I3cTB2YUxKb0svY0ZIeDh6SmxZNG40RUlDY2w0bGV4TjMwbUJZV1pq" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "qnK6km80mT68rSHs7AyPdkORHpt9ZKzUbgexSUu9" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/self-help-en/often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-28 14:33:21GET/self-help-en/often-snacking-sweet-food-at-night-this-is-the-impact-on-health-en51133159