Avoid These Foods and Drinks Before Bed

Avoid These Foods and Drinks Before Bed

Share :


Difficulty sleeping and lack of sleep can have a negative impact on overall health. Lack of sleep can affect cognitive function, including memory, attention and thinking ability. You feel more stressed and irritable when you don't get enough sleep. Lack of sleep also makes the body weaker and more easily infected with disease.

Consuming certain foods and drinks before bedtime can affect sleep quality, so it is important to avoid them to ensure better sleep.

 

Foods and drinks that should be avoided before bed

Several types of food and drinks should be avoided before bed, including:

Alcoholic beverages

Alcohol has a sedative effect that can make people feel relaxed and sleepy. However, consuming excessive amounts of alcohol can disrupt sleep patterns and quality.

In addition, drinking alcohol can increase the risk of sleep apnea symptoms, such as breathing pauses during sleep. This can disturb deep sleep, leading to feelings of tiredness despite getting enough sleep.

Spicy food

Consuming spicy foods close to bedtime can interfere with sleep and cause various digestive disorders, including stomach pain, acid reflux, and gastric acid irritation. Spicy foods tend to stimulate the production of stomach acid, which can cause discomfort and a burning sensation in the throat, making it difficult to fall asleep.

Spicy foods can also temporarily increase body temperature. According to research, increasing body temperature before bed can affect sleep quality.

Read more: Why Does Eating Spicy Food Make You Addicted?

 

Foods and drinks that contain caffeine

Caffeine is a stimulant that can increase feelings of alertness and make you more alert. Consuming food or drinks containing caffeine before bed can affect the quality of your sleep and make it difficult for you to fall asleep.

Caffeine is found not only in coffee but in various other foods and drinks such as tea, chocolate, energy drinks, and several soft drinks and cakes.

Sweet foods with a high glycemic index

Foods with a high glycemic index and sugary may cause rapid spikes and drops in blood sugar levels. This can trigger the release of stress hormones like cortisol and adrenaline, which can disrupt the quality of your sleep. When these hormones are released, they can cause various symptoms such as anxiety, hunger, and irritability.

Read more: Is It Delicious For Sweet Food? This Is A Healthy Choice To Relax Sugar Crving

Fatty foods

Research shows that intake of fatty foods, especially saturated fat, can have a negative impact on sleep patterns. Those who like to eat heavy and fatty foods at night often suffer from insomnia.

The digestive tract slows down during sleep. Eating fatty foods can burden the digestive system and cause stomach discomfort and difficulty sleeping. In addition, high-fat foods also worsen acid reflux symptoms, which can cause discomfort and difficulty sleeping.

If you have difficulty sleeping during this time, try to avoid the foods and drinks mentioned previously, especially near bedtime. However, if your efforts do not improve sleep quality, then there is no harm in consulting a doctor and conveying your complaints.

 

If you need medical advice or consultation, you can either visit a doctor or use the consultation features available in the Ai Care application by downloading the Ai Care application from the App Store or Play Store.

Looking for more information about nutrition, food, and other diet tips? Click here!

 

 

Writer : Agatha Writer
Editor :
  • dr. Yuliana Inosensia
Last Updated : Tuesday, 19 March 2024 | 05:09

Dr. Carl Rosenberg (2019). Get Better Sleep by Avoiding These Types of Foods. Available from: https://www.sleephealthsolutionsohio.com/blog/foods-avoid-before-sleep/ 

CDC (2022). Tips for Better Sleep. Available from: https://www.cdc.gov/sleep/about_sleep/sleep_hygiene.html 

American Psychiatric Association (2020). What are Sleep Disorders?. Available from: https://www.psychiatry.org/patients-families/sleep-disorders/what-are-sleep-disorders 

Cleveland Clinic (2022). Sleep Deprivation. Available from: https://my.clevelandclinic.org/health/diseases/23970-sleep-deprivation 

Danielle Pacheco (2024). Alcohol and Sleep. Available from: https://www.sleepfoundation.org/nutrition/alcohol-and-sleep 

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

Danielle Pacheco (2024). Caffeine and Sleep. Available from: https://www.sleepfoundation.org/nutrition/caffeine-and-sleep 

Request history8.1.29PHP Version926msRequest Duration6MBMemory UsageGET {category}/{slug}Route
  • warninglog[19:03:19] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[19:03:19] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[19:03:20] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • errorlog[19:03:20] LOG.error: Error accessing doctor id: 640021cf1e44db877c0bce23 { "exception": "Undefi...
  • infolog[19:03:20] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • Booting (234ms)time
  • Application (692ms)time
  • 1 x Application (74.69%)
    692ms
    1 x Booting (25.31%)
    234ms
    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 executed365ms
    • WebController.php#656aicare_prod_new860μsselect * 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_new42.78msselect * from `posts` where (`slug` = 'avoid-these-foods-and-drinks-before-bed-en-en' or `slug_en` = 'avoid-these-foods-and-drinks-before-bed-en-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: avoid-these-foods-and-drinks-before-bed-en-en
      • 1: avoid-these-foods-and-drinks-before-bed-en-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_new59.5msselect * from `posts` where (`slug` = 'avoid-these-foods-and-drinks-before-bed-en-en' or `slug_en` = 'avoid-these-foods-and-drinks-before-bed-en-en') and `status` = 1 and `publish_date` <= '2025-04-26 19:03:19' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: avoid-these-foods-and-drinks-before-bed-en-en
      • 1: avoid-these-foods-and-drinks-before-bed-en-en
      • 2: 1
      • 3: 2025-04-26 19:03:19
      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_new1.31msselect `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 (8717)
      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.1msselect `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 (8717)
      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_new6msselect `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 (8717) 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_new15.87msselect `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` = 8717
      Bindings
      • 0: 8717
      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_new13.59msselect `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` = 882 and `posts`.`deleted_at` is null
      Bindings
      • 0: 882
      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_new13.98msselect `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` = 1701 and `posts`.`deleted_at` is null
      Bindings
      • 0: 1701
      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_new13.27msselect `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` = 8252 and `posts`.`deleted_at` is null
      Bindings
      • 0: 8252
      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_new15.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` = 932 and `posts`.`deleted_at` is null
      Bindings
      • 0: 932
      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_new99.61msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-26 19:03: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-26 19:03: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_new1.04msselect * 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.53msselect `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` = 8717 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 8717
      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_new6.56msupdate `posts` set `views_count` = 476 where `id` = 8717
      Bindings
      • 0: 476
      • 1: 8717
      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_new6.26msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 8717, 'App\\Models\\Admin\\Post', 'updated', '2025-04-26 19:03:20', '2025-04-26 19:03:20')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 8717
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-26 19:03:20
      • 8: 2025-04-26 19:03:20
      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_new880μsselect * 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_new5.82msselect `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` = 8636 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8636
      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.72msselect `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` = 8747 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8747
      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.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` = 9622 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9622
      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.7msselect `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` = 8851 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8851
      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.55msselect `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` = 8302 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8302
      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.81msselect `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` = 8509 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8509
      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.64msselect `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` = 9277 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9277
      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.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` = 9851 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9851
      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.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` = 9841 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9841
      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.79msselect `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` = 9169 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9169
      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.81msselect `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` = 8120 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8120
      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_new600μ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_new680μ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_new800μ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
    103Post.php#?
    App\Models\Admin\Category
    19Category.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
        G50gdCpJ4LgFFgOW1ggcFE3lk0sW9CnhHyZOXY10
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/nutrition/avoid-these-foods-and-drinks-before-bed-...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /nutrition/avoid-these-foods-and-drinks-before-bed-en-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 => "18.216.211.173" ] "x-forwarded-for" => array:1 [ 0 => "18.216.211.173" ] "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 => "Sat, 26 Apr 2025 12:03:20 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ik44WDREcmhEQjJmNGo5MEZGdXE0dWc9PSIsInZhbHVlIjoiR1BzQ2pxVUxLK2pka2tiaXZJZUorTzdrdWVKaFNYU2pGT0FwbEk3SW85amtJbUNoMUFkdDhXSEZuY1lkaUFGSklmeWJwcHFqT2MvaXRqdWRSOEhSbUYyWDVGSkVaQXJwOHdOUW5sS0VuVHpkNis5K2V4Qy9ZT21ZS0RHZVJkR2EiLCJtYWMiOiJjMGFlMDEwZDFkZjEzZTlmN2EyZWNhMzIxNzg2OWQyMTY1MTQ4MDM4NmU5YzM1NDEwZGQyNWFkMDc4NjdjZDc1IiwidGFnIjoiIn0%3D; expires=Sat, 26 Apr 2025 14:03:20 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6Ik44WDREcmhEQjJmNGo5MEZGdXE0dWc9PSIsInZhbHVlIjoiR1BzQ2pxVUxLK2pka2tiaXZJZUorTzdrdWVKaFNYU2pGT0FwbEk3SW85amtJbUNoMUFkdDhXSEZuY1lkaUFGSklmeWJwc" 1 => "laravel_session=eyJpdiI6IjJlVVBpZ1dYdXUwYmJHQ282UHpmOXc9PSIsInZhbHVlIjoidndhWnA0Uys0MXJtWHpuRHlQbzBraTh5emlOd3hZbjZBcWdhL0VabnNwakd1VFBTRzV5V2JEQVpKS2lhVG9sUW5rc2cvb3RKazdwWUh1dTBscGViRHB2akFyaUorbFc4UkVac1FqUWhGanJ2dE9Od1Rsb2hDNHV0T28vZy9xMkMiLCJtYWMiOiI4YmM1YjNmMDIwZTE2YzJiNTdkMDQyZDVhYzJlNjNiM2FhMzMwNWI2ODkwYjEzNjg4OTY3ZTZmOTAyNGI2ODcyIiwidGFnIjoiIn0%3D; expires=Sat, 26 Apr 2025 14:03:20 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6IjJlVVBpZ1dYdXUwYmJHQ282UHpmOXc9PSIsInZhbHVlIjoidndhWnA0Uys0MXJtWHpuRHlQbzBraTh5emlOd3hZbjZBcWdhL0VabnNwakd1VFBTRzV5V2JEQVpKS2lhVG9sUW5r" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Ik44WDREcmhEQjJmNGo5MEZGdXE0dWc9PSIsInZhbHVlIjoiR1BzQ2pxVUxLK2pka2tiaXZJZUorTzdrdWVKaFNYU2pGT0FwbEk3SW85amtJbUNoMUFkdDhXSEZuY1lkaUFGSklmeWJwcHFqT2MvaXRqdWRSOEhSbUYyWDVGSkVaQXJwOHdOUW5sS0VuVHpkNis5K2V4Qy9ZT21ZS0RHZVJkR2EiLCJtYWMiOiJjMGFlMDEwZDFkZjEzZTlmN2EyZWNhMzIxNzg2OWQyMTY1MTQ4MDM4NmU5YzM1NDEwZGQyNWFkMDc4NjdjZDc1IiwidGFnIjoiIn0%3D; expires=Sat, 26-Apr-2025 14:03:20 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6Ik44WDREcmhEQjJmNGo5MEZGdXE0dWc9PSIsInZhbHVlIjoiR1BzQ2pxVUxLK2pka2tiaXZJZUorTzdrdWVKaFNYU2pGT0FwbEk3SW85amtJbUNoMUFkdDhXSEZuY1lkaUFGSklmeWJwc" 1 => "laravel_session=eyJpdiI6IjJlVVBpZ1dYdXUwYmJHQ282UHpmOXc9PSIsInZhbHVlIjoidndhWnA0Uys0MXJtWHpuRHlQbzBraTh5emlOd3hZbjZBcWdhL0VabnNwakd1VFBTRzV5V2JEQVpKS2lhVG9sUW5rc2cvb3RKazdwWUh1dTBscGViRHB2akFyaUorbFc4UkVac1FqUWhGanJ2dE9Od1Rsb2hDNHV0T28vZy9xMkMiLCJtYWMiOiI4YmM1YjNmMDIwZTE2YzJiNTdkMDQyZDVhYzJlNjNiM2FhMzMwNWI2ODkwYjEzNjg4OTY3ZTZmOTAyNGI2ODcyIiwidGFnIjoiIn0%3D; expires=Sat, 26-Apr-2025 14:03:20 GMT; path=/; httponlylaravel_session=eyJpdiI6IjJlVVBpZ1dYdXUwYmJHQ282UHpmOXc9PSIsInZhbHVlIjoidndhWnA0Uys0MXJtWHpuRHlQbzBraTh5emlOd3hZbjZBcWdhL0VabnNwakd1VFBTRzV5V2JEQVpKS2lhVG9sUW5r" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "G50gdCpJ4LgFFgOW1ggcFE3lk0sW9CnhHyZOXY10" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/nutrition/avoid-these-foods-and-drinks-before-bed-en-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-26 19:03:20GET/nutrition/avoid-these-foods-and-drinks-before-bed-en-en51132134