Mana yang Lebih Baik, Tidur dengan Lampu Menyala atau Mati?

Mana yang Lebih Baik, Tidur dengan Lampu Menyala atau Mati?
Ilustrasi tidur dengan lampu menyala. Credit: Freepik

Bagikan :


Sleeping with the lights off or on may not make a significant difference for some people. Each individual has their preferences. However, sleeping with the lights on has been shown to affect the body significantly. Sleeping with lights on can make it difficult to get a good night's sleep, potentially increasing your risk of obesity.

 

Relationship between light and sleep

Relationship between Light and Sleep

The lighting in your bedroom can affect how well you sleep. Light can significantly impact a person's circadian rhythm, which is the biological rhythm that regulates various bodily processes, including sleep and wakefulness. These rhythms respond to environmental signals and are controlled by a small part of the brain known as the circadian pacemaker, which is heavily influenced by light exposure.

Everyone's biological clock becomes more sensitive to light about 2 hours before bedtime or 1 hour before you get up in the morning. When light enters the eye, some retinal cells transmit the stimulus to the brain, translated as morning, noon, or night time. The body will then adjust its rhythms to match the time of day, such as waking up, staying awake during the day, and sleeping at night.

The presence of light signals the body to wake up, and vice versa. As a result, prolonged exposure to artificial light, such as constant room lights or electronic device lights while sleeping, can cause circadian rhythms to become out of sync with the day-night cycle. This can cause the body to produce less melatonin, a hormone that regulates sleep.

When it is dark, the pineal gland in the brain produces melatonin, which signals the body to sleep by making it sleepy. However, light exposure reduces or stops the hormone's production if you sleep with the lights on. As a result, sleeping with the lights on can make it difficult to fall asleep or sleep well.

Read more: Food And Drinks To Avoid Before Bedtime

 

Long-term effects of sleeping with the lights on

Sleeping with the lights on does more than make it difficult to sleep well. Sleep is less restful and shorter, impacting the brain's sleep-related functions. Aside from directly affecting your brain, sleep deprivation caused by light exposure has also been linked to the following conditions:

Depression

Sleeping with lights on is frequently associated with an increased risk of depression. Room lights or blue lights from electronic devices near your bed can disrupt your mood and cause you to lose sleep. Poor sleep can leave you feeling uninspired, moody, or irritable.

Overweight

A study of women found that those who sleep with the TV or lights on have a higher risk of obesity. The study also found that people who sleep with the lights on have a 17% chance of gaining approximately 5 kg in a year. This is thought to be caused by increased food consumption due to a lack of sleep or inadequate sleep.

According to research, the less sleep you get, the more you eat the next day. This can also affect your eating habits, such as late at night, leading to weight gain.

Read more: How To Be Sleepy Regularly At Night

Risk of injury or accident

Inadequate or poor-quality sleep can reduce your alertness the next day. Sleep deprivation can put you at risk of injury or accident when operating machinery or driving a car. Sleep deprivation also raises the risk of falls in older adults. As a result, if you are sleep-deprived, you should avoid driving or operating machinery.

Increased risk of chronic diseases

According to Healthline, sleeping with the lights on for an extended period of time increases your risk of developing chronic diseases like high blood pressure (hypertension), heart disease, and type 2 diabetes.

 

Sleeping with lights on can disrupt your restful sleep. If you have sleep disorders, you should see a doctor or use the consultation feature in the AI Care application by downloading the Ai Care application from the App Store or Play Store.

Looking for more information about tips and tricks for health, first aid, and other home treatments? Click here

 

 

Writer : Ratih AI Care
Editor :
  • dr Hanifa Rahma
Last Updated : Kamis, 21 Maret 2024 | 03:46

Summer, J. (2023). Sleeping with the lights on. Available from: https://www.sleepfoundation.org/bedroom-environment/sleeping-with-the-lights-on#

Suni, E. (2023). Light and sleep. Available from: https://www.sleepfoundation.org/bedroom-environment/light-and-sleep

Cherney, S. (2019). Is sleeping with the lights on good or bad for you? . Available from: https://www.healthline.com/health/sleeping-with-the-lights-on

Chai, C. (2021). Blue Light: What Is It and How Does It Affect Your Sleep?. Available from: https://www.everydayhealth.com/sleep/blue-light-what-is-it-and-how-does-it-affect-your-sleep/

Request history8.1.29PHP Version1.01sRequest Duration5MBMemory UsageGET {category}/{slug}Route
  • warninglog[09:05:38] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[09:05:38] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[09:05:38] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • errorlog[09:05:38] LOG.error: Error accessing doctor id: 63983202e088e5e18c0511d7 { "exception": "Undefi...
  • infolog[09:05:38] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • Booting (283ms)time
  • Application (723ms)time
  • 1 x Application (71.89%)
    723ms
    1 x Booting (28.11%)
    283ms
    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 executed382ms
    • WebController.php#656aicare_prod_new960μsselect * from `categories` where (`slug` = 'gaya-hidup' or `slug_en` = 'gaya-hidup') and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: gaya-hidup
      • 1: gaya-hidup
      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_new64.18msselect * from `posts` where (`slug` = 'efek-tidur-dengan-lampu-nyala-atau-mati' or `slug_en` = 'efek-tidur-dengan-lampu-nyala-atau-mati') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: efek-tidur-dengan-lampu-nyala-atau-mati
      • 1: efek-tidur-dengan-lampu-nyala-atau-mati
      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_new46.05msselect * from `posts` where (`slug` = 'efek-tidur-dengan-lampu-nyala-atau-mati' or `slug_en` = 'efek-tidur-dengan-lampu-nyala-atau-mati') and `status` = 1 and `publish_date` <= '2025-04-11 09:05:38' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: efek-tidur-dengan-lampu-nyala-atau-mati
      • 1: efek-tidur-dengan-lampu-nyala-atau-mati
      • 2: 1
      • 3: 2025-04-11 09:05:38
      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.08msselect `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 (8728)
      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.07msselect `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 (8728)
      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.74msselect `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 (8728) 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_new710μ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.05msselect `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` = 8728
      Bindings
      • 0: 8728
      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#1360aicare_prod_new13.13msselect `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:1360
      • 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#1360aicare_prod_new14.57msselect `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` = 4186 and `posts`.`deleted_at` is null
      Bindings
      • 0: 4186
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1360
      • 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#1360aicare_prod_new12.25msselect `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` = 7191 and `posts`.`deleted_at` is null
      Bindings
      • 0: 7191
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • app/Http/Controllers/WebController.php:1360
      • 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#739aicare_prod_new110msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-11 09:05:38' and `deleted_at` is null and `content_type` = 'article' and `posts`.`deleted_at` is null order by RAND() limit 7
      Bindings
      • 0: 1
      • 1: 2025-04-11 09:05:38
      • 2: article
      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
      Backtrace
      • app/Http/Controllers/WebController.php:739
      • 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.15msselect * 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:740
      • 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.65msselect `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` = 8728 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 8728
      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_new11.59msupdate `posts` set `views_count` = 494 where `id` = 8728
      Bindings
      • 0: 494
      • 1: 8728
      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_new13.1msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 8728, 'App\\Models\\Admin\\Post', 'updated', '2025-04-11 09:05:38', '2025-04-11 09:05:38')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 8728
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-11 09:05:38
      • 8: 2025-04-11 09:05:38
      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_new900μsselect * 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#8aicare_prod_new6.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` = 1089 and `categories`.`deleted_at` is null
      Bindings
      • 0: 1089
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#11aicare_prod_new840μsselect * from `categories` where `categories`.`id` = 5 and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: 5
      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.partials.article-popular:11
      • 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#8aicare_prod_new5.53msselect `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` = 6119 and `categories`.`deleted_at` is null
      Bindings
      • 0: 6119
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new5.21msselect `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` = 7123 and `categories`.`deleted_at` is null
      Bindings
      • 0: 7123
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new6.18msselect `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` = 1757 and `categories`.`deleted_at` is null
      Bindings
      • 0: 1757
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new6.11msselect `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` = 9170 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9170
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new6.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` = 8459 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8459
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new6.09msselect `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` = 9221 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9221
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:8
      • 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#8aicare_prod_new5.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` = 10097 and `categories`.`deleted_at` is null
      Bindings
      • 0: 10097
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.related-article:8
      • 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#8aicare_prod_new6.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` = 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:8
      • 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#8aicare_prod_new6.12msselect `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:8
      • 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#8aicare_prod_new5.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` = 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:8
      • 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_new730μ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#547aicare_prod_new510μsselect * from `faqs` limit 1
      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
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::layouts.v2.web_layout:547
      • 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
    76Post.php#?
    App\Models\Admin\Category
    19Category.php#?
    App\User
    3User.php#?
    App\Models\Admin\Tag
    3Tag.php#?
    App\Models\TermPolicy
    3TermPolicy.php#?
    App\Models\Admin\Page
    1Page.php#?
    App\Models\Admin\Faq
    1Faq.php#?
        locale
        id
        _token
        peOz6D9onAn7Q3eP15PTlex3I0ZHZ6P38XUurEEo
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/gaya-hidup/efek-tidur-dengan-lampu-nyala-atau-mati...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /gaya-hidup/efek-tidur-dengan-lampu-nyala-atau-mati
        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.19.74.75" ] "x-forwarded-for" => array:1 [ 0 => "3.19.74.75" ] "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 => "Fri, 11 Apr 2025 02:05:39 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InBjdElnanZiOGZENlh5Z1RlQ1BYYVE9PSIsInZhbHVlIjoiTjZsdHYwZDlUdTJHVkhZYmJIcDkyTmEzWEppN2VGbkFrRHpuUmJxY3lvdHNMcUpvbk9QUG94Z0hOdmlFWWxEdUIrU2lySU01OHVtT012TE1GeFhkejVJeDRwNEQyWEJyckorTFNxeG9naDQ1c2hLeWdGV3RkaWZzZWx1Q1UwMFoiLCJtYWMiOiJjNDBiN2JiOGI5NWQyMmI3YWY4NDRiMGMzMzg1YThkMzViM2YyMjg2ZmVmNzhjOGVhOGRlOWVmZGZmNTNhY2JiIiwidGFnIjoiIn0%3D; expires=Fri, 11 Apr 2025 04:05:39 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6InBjdElnanZiOGZENlh5Z1RlQ1BYYVE9PSIsInZhbHVlIjoiTjZsdHYwZDlUdTJHVkhZYmJIcDkyTmEzWEppN2VGbkFrRHpuUmJxY3lvdHNMcUpvbk9QUG94Z0hOdmlFWWxEdUIrU2lyS" 1 => "laravel_session=eyJpdiI6IlNTaXFUYVBFeUVKRDdtUHAvZEQwdEE9PSIsInZhbHVlIjoiVWtoWFUvVUtYTXFSU2NCNVNDN1FPanRiVi96c2VOcDd1RnhUTVBtK3JXWXVJZVBBa2pLZHgvbmh1MDNyQUcrNnJiVm5NZTNRbkRReEt3b3Nnb2VKekllWlFMQkNMTkwxQ0kyUHoyL0pjWmlwcGxUUTFoSGJSaWxtU0VzeVBoWjkiLCJtYWMiOiI3NjFkYWRiOTg1NjMwZTM5YmQxMDVhNzhiODAyMWQ0MWRlYmU1NDgyMzRjNGI4Yzg5ZjRkMThhNjMzYTg4YTg5IiwidGFnIjoiIn0%3D; expires=Fri, 11 Apr 2025 04:05:39 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6IlNTaXFUYVBFeUVKRDdtUHAvZEQwdEE9PSIsInZhbHVlIjoiVWtoWFUvVUtYTXFSU2NCNVNDN1FPanRiVi96c2VOcDd1RnhUTVBtK3JXWXVJZVBBa2pLZHgvbmh1MDNyQUcrNnJi" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InBjdElnanZiOGZENlh5Z1RlQ1BYYVE9PSIsInZhbHVlIjoiTjZsdHYwZDlUdTJHVkhZYmJIcDkyTmEzWEppN2VGbkFrRHpuUmJxY3lvdHNMcUpvbk9QUG94Z0hOdmlFWWxEdUIrU2lySU01OHVtT012TE1GeFhkejVJeDRwNEQyWEJyckorTFNxeG9naDQ1c2hLeWdGV3RkaWZzZWx1Q1UwMFoiLCJtYWMiOiJjNDBiN2JiOGI5NWQyMmI3YWY4NDRiMGMzMzg1YThkMzViM2YyMjg2ZmVmNzhjOGVhOGRlOWVmZGZmNTNhY2JiIiwidGFnIjoiIn0%3D; expires=Fri, 11-Apr-2025 04:05:39 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6InBjdElnanZiOGZENlh5Z1RlQ1BYYVE9PSIsInZhbHVlIjoiTjZsdHYwZDlUdTJHVkhZYmJIcDkyTmEzWEppN2VGbkFrRHpuUmJxY3lvdHNMcUpvbk9QUG94Z0hOdmlFWWxEdUIrU2lyS" 1 => "laravel_session=eyJpdiI6IlNTaXFUYVBFeUVKRDdtUHAvZEQwdEE9PSIsInZhbHVlIjoiVWtoWFUvVUtYTXFSU2NCNVNDN1FPanRiVi96c2VOcDd1RnhUTVBtK3JXWXVJZVBBa2pLZHgvbmh1MDNyQUcrNnJiVm5NZTNRbkRReEt3b3Nnb2VKekllWlFMQkNMTkwxQ0kyUHoyL0pjWmlwcGxUUTFoSGJSaWxtU0VzeVBoWjkiLCJtYWMiOiI3NjFkYWRiOTg1NjMwZTM5YmQxMDVhNzhiODAyMWQ0MWRlYmU1NDgyMzRjNGI4Yzg5ZjRkMThhNjMzYTg4YTg5IiwidGFnIjoiIn0%3D; expires=Fri, 11-Apr-2025 04:05:39 GMT; path=/; httponlylaravel_session=eyJpdiI6IlNTaXFUYVBFeUVKRDdtUHAvZEQwdEE9PSIsInZhbHVlIjoiVWtoWFUvVUtYTXFSU2NCNVNDN1FPanRiVi96c2VOcDd1RnhUTVBtK3JXWXVJZVBBa2pLZHgvbmh1MDNyQUcrNnJi" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "id" "_token" => "peOz6D9onAn7Q3eP15PTlex3I0ZHZ6P38XUurEEo" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/gaya-hidup/efek-tidur-dengan-lampu-nyala-atau-mati" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-11 09:05:39GET/gaya-hidup/efek-tidur-dengan-lampu-nyala-atau-mati51132106