• Home
  • diseases
  • Frequently Experiencing Migraines? Here's How to Prevent Them

Frequently Experiencing Migraines? Here's How to Prevent Them

Frequently Experiencing Migraines? Here's How to Prevent Them
Illustration of migraines. Credit: Freepik

Table of Content


Share :


Migraines can significantly disrupt daily activities, with pain often concentrated on one side of the head, lasting anywhere from hours to days.

In addition to head pain, migraines are often accompanied by nausea, vomiting, and heightened sensitivity to light and sound. Some individuals also experience visual disturbances, known as auras, which can manifest as flashes of light, spots, or temporary vision loss. So, how can you prevent these debilitating headaches?

 

How To Prevent Migraines

While there is no cure for migraines, treatments typically focus on relieving symptoms.

However, as the saying goes, "prevention is better than cure," and learning how to prevent migraines from recurring is essential.

Recognizing Migraine Triggers

The first step in preventing migraines is identifying what triggers them. Everyone's migraine triggers are unique, but some common triggers include:

  • Foods or drinks containing chocolate, caffeine, MSG, and alcohol
  • Emotional and physical stress
  • Changes in sleep patterns
  • Hormonal fluctuations during menstruation, pregnancy, or menopause

By recognizing these triggers, you can spot patterns and take steps to avoid them.

Living A Healthy Lifestyle

Adopting a healthy lifestyle not only benefits your overall well-being but can also help reduce the occurrence of migraines. Try to maintain a consistent sleep schedule, even on weekends, to stabilize your circadian rhythm and prevent migraines.

Regular physical activity like walking, cycling, or swimming can also decrease the frequency of migraines. However, avoid overexerting yourself, as intense exercise can trigger headaches.

Eat a balanced diet and steer clear of foods that are known to trigger migraines. Proper dietary management is also crucial to preventing the onset of other chronic conditions.

Manage Stress Effectively

Stress is one of the most common triggers for migraines. Learning to manage stress can be a key factor in preventing them. Techniques like meditation, yoga, deep breathing, or engaging in a hobby can help reduce stress levels.

Considering Preventive Treatment

If migraines are frequent and disruptive, it may be worth discussing preventive treatments with a doctor. Certain medications, such as beta-blockers, antidepressants, and anticonvulsants, are sometimes prescribed to reduce the frequency and severity of migraines.

Preventive treatments are usually taken daily, with effects becoming noticeable after several weeks or months. The choice of medication depends on factors like your general health, medical history, and any other medications you're currently taking.

 

Consult a doctor to determine the most effective treatment and preventive measures for your migraines. You can also take advantage of Ai Care's health consultation service by downloading the app via the App Store or Play Store.

 

Looking for information about other diseases? Click here!

Writer : Agatha Writer
Editor :
  • dr Hanifa Rahma
Last Updated : Tuesday, 24 September 2024 | 16:46

Mark Gurarie (2024). How To Prevent a Migraine. Available from: https://www.health.com/migraine-prevention-7094820 

Cleveland Clinic (2024). Migraine Headaches. Available from: https://my.clevelandclinic.org/health/diseases/5005-migraine-headaches 

Mayo Clinic (2023). Migraine. Available from: https://www.mayoclinic.org/diseases-conditions/migraine-headache/symptoms-causes/syc-20360201 

Jay Summer (2023). Migraines and Sleep: A Bidirectional Relationship. Available from: https://www.sleepfoundation.org/physical-health/migraines-sleep 

Lauren Ragland (2023). Ways to Manage Stress. Available from: https://www.webmd.com/balance/stress-management/stress-management 

WebMD (2023). Ways to Prevent Migraine Headaches. Available from: https://www.webmd.com/migraines-headaches/preventive-migraine-medicine 

Request history8.1.29PHP Version1.01sRequest Duration5MBMemory UsageGET {category}/{slug}Route
  • warninglog[19:02:57] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[19:02:57] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[19:02:57] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • infolog[19:02:57] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • errorlog[19:02:57] LOG.error: Error accessing doctor id: 63983202e088e5e18c0511d7 { "exception": "Undefi...
  • Booting (264ms)time
  • Application (746ms)time
  • 1 x Application (73.89%)
    746ms
    1 x Booting (26.11%)
    264ms
    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 executed432ms
    • WebController.php#656aicare_prod_new1.12msselect * from `categories` where (`slug` = 'diseases' or `slug_en` = 'diseases') and `categories`.`deleted_at` is null limit 1
      Bindings
      • 0: diseases
      • 1: diseases
      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_new81.06msselect * from `posts` where (`slug` = 'how-to-prevent-frequent-migraine-en' or `slug_en` = 'how-to-prevent-frequent-migraine-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: how-to-prevent-frequent-migraine-en
      • 1: how-to-prevent-frequent-migraine-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_new85.68msselect * from `posts` where (`slug` = 'how-to-prevent-frequent-migraine-en' or `slug_en` = 'how-to-prevent-frequent-migraine-en') and `status` = 1 and `publish_date` <= '2025-04-25 19:02:57' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: how-to-prevent-frequent-migraine-en
      • 1: how-to-prevent-frequent-migraine-en
      • 2: 1
      • 3: 2025-04-25 19:02:57
      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_new920μ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 (9774)
      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_new930μsselect `users`.*, `post_english_editors`.`post_id` as `pivot_post_id`, `post_english_editors`.`user_id` as `pivot_user_id`, `post_english_editors`.`created_at` as `pivot_created_at`, `post_english_editors`.`updated_at` as `pivot_updated_at` from `users` inner join `post_english_editors` on `users`.`id` = `post_english_editors`.`user_id` where `post_english_editors`.`post_id` in (9774)
      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.96msselect `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 (9774) 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_new690μ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.63msselect `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` = 9774
      Bindings
      • 0: 9774
      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.75msselect `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` = 387 and `posts`.`deleted_at` is null
      Bindings
      • 0: 387
      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.04msselect `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` = 605 and `posts`.`deleted_at` is null
      Bindings
      • 0: 605
      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.11msselect `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` = 1016 and `posts`.`deleted_at` is null
      Bindings
      • 0: 1016
      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.6msselect `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` = 1023 and `posts`.`deleted_at` is null
      Bindings
      • 0: 1023
      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_new77.4msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-25 19:02:57' 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-25 19:02:57
      • 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.13msselect * 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.66msselect `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` = 9774 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 9774
      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.53msupdate `posts` set `views_count` = 251 where `id` = 9774
      Bindings
      • 0: 251
      • 1: 9774
      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_new7.01msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 9774, 'App\\Models\\Admin\\Post', 'updated', '2025-04-25 19:02:57', '2025-04-25 19:02:57')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 9774
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-25 19:02:57
      • 8: 2025-04-25 19:02:57
      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_new910μ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_new10.23msselect `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` = 8098 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8098
      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.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` = 8764 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8764
      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_new7.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` = 8504 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8504
      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_new7.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` = 960 and `categories`.`deleted_at` is null
      Bindings
      • 0: 960
      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_new8.37msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9678 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9678
      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_new8.33msselect `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` = 9867 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9867
      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_new8.84msselect `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` = 6902 and `categories`.`deleted_at` is null
      Bindings
      • 0: 6902
      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_new8.38msselect `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` = 9865 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9865
      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_new8.31msselect `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` = 9630 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9630
      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_new7.84msselect `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` = 9350 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9350
      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` = 8797 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8797
      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_new720μ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_new760μ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_new830μ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
    62Post.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
        2S8AGPSmYzNEtqO5zul3Mr20VOhHoghCjfvmOhEa
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/diseases/how-to-prevent-frequent-migraine-en" ]
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /diseases/how-to-prevent-frequent-migraine-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.133.141.166" ] "x-forwarded-for" => array:1 [ 0 => "3.133.141.166" ] "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, 25 Apr 2025 12:02:57 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjZKZEZKM3JHalZaNXdqYXpjYXVmV2c9PSIsInZhbHVlIjoiTjNsQzFSQjV6QjlTcDA2SDMvQTdTMkgrcUQ4S241bDNENExPNzYzYTRwMjRXb0NqSWhJUGNIWlhrUG1pU2RrbHYwU1h0a2RrdnZwZWk2V0dPVmxNMW5FYncyYkV3SXN2RFRLQndkc1h2M0FUamJTVkxKMEw1dEovakxLTEVsaUsiLCJtYWMiOiJmMGE5MmRiNmVmMmQwNzY1ZjJjZTZkNzM1ODg5OGJlMGRjNDQ2OWMzMGUwN2NlZDhhM2U4YjBlZjA2MTA2NTJiIiwidGFnIjoiIn0%3D; expires=Fri, 25 Apr 2025 14:02:57 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6IjZKZEZKM3JHalZaNXdqYXpjYXVmV2c9PSIsInZhbHVlIjoiTjNsQzFSQjV6QjlTcDA2SDMvQTdTMkgrcUQ4S241bDNENExPNzYzYTRwMjRXb0NqSWhJUGNIWlhrUG1pU2RrbHYwU1h0a" 1 => "laravel_session=eyJpdiI6ImtyQXhmbVRaRzhxbTM1ZkJCalZFTGc9PSIsInZhbHVlIjoicXpQK0VPbVNrVWF2ZWxaV3NzTmVJVFBsQlNvUDhRNHhmYzJ0aHM5NzNjeENGbGdlQlY4TzVXbHdmQlhna2RuR3lHN0lueVExWEhXZ0xELzdMd2l6OXZXN3liOElSRWFVaWRyZXRIWnBuMWxCYklsQ3J4OGJPRVAvbkV3Vm5jWUoiLCJtYWMiOiJiYmJiNWVhYjVmNjJkNWMyZjc4NmNlYjg0MDZhOWM2NjgxZmMzMjdkNTUyNzllZTVjOTI0OWM2N2MzN2U2ZWM0IiwidGFnIjoiIn0%3D; expires=Fri, 25 Apr 2025 14:02:57 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6ImtyQXhmbVRaRzhxbTM1ZkJCalZFTGc9PSIsInZhbHVlIjoicXpQK0VPbVNrVWF2ZWxaV3NzTmVJVFBsQlNvUDhRNHhmYzJ0aHM5NzNjeENGbGdlQlY4TzVXbHdmQlhna2RuR3lH" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjZKZEZKM3JHalZaNXdqYXpjYXVmV2c9PSIsInZhbHVlIjoiTjNsQzFSQjV6QjlTcDA2SDMvQTdTMkgrcUQ4S241bDNENExPNzYzYTRwMjRXb0NqSWhJUGNIWlhrUG1pU2RrbHYwU1h0a2RrdnZwZWk2V0dPVmxNMW5FYncyYkV3SXN2RFRLQndkc1h2M0FUamJTVkxKMEw1dEovakxLTEVsaUsiLCJtYWMiOiJmMGE5MmRiNmVmMmQwNzY1ZjJjZTZkNzM1ODg5OGJlMGRjNDQ2OWMzMGUwN2NlZDhhM2U4YjBlZjA2MTA2NTJiIiwidGFnIjoiIn0%3D; expires=Fri, 25-Apr-2025 14:02:57 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6IjZKZEZKM3JHalZaNXdqYXpjYXVmV2c9PSIsInZhbHVlIjoiTjNsQzFSQjV6QjlTcDA2SDMvQTdTMkgrcUQ4S241bDNENExPNzYzYTRwMjRXb0NqSWhJUGNIWlhrUG1pU2RrbHYwU1h0a" 1 => "laravel_session=eyJpdiI6ImtyQXhmbVRaRzhxbTM1ZkJCalZFTGc9PSIsInZhbHVlIjoicXpQK0VPbVNrVWF2ZWxaV3NzTmVJVFBsQlNvUDhRNHhmYzJ0aHM5NzNjeENGbGdlQlY4TzVXbHdmQlhna2RuR3lHN0lueVExWEhXZ0xELzdMd2l6OXZXN3liOElSRWFVaWRyZXRIWnBuMWxCYklsQ3J4OGJPRVAvbkV3Vm5jWUoiLCJtYWMiOiJiYmJiNWVhYjVmNjJkNWMyZjc4NmNlYjg0MDZhOWM2NjgxZmMzMjdkNTUyNzllZTVjOTI0OWM2N2MzN2U2ZWM0IiwidGFnIjoiIn0%3D; expires=Fri, 25-Apr-2025 14:02:57 GMT; path=/; httponlylaravel_session=eyJpdiI6ImtyQXhmbVRaRzhxbTM1ZkJCalZFTGc9PSIsInZhbHVlIjoicXpQK0VPbVNrVWF2ZWxaV3NzTmVJVFBsQlNvUDhRNHhmYzJ0aHM5NzNjeENGbGdlQlY4TzVXbHdmQlhna2RuR3lH" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "2S8AGPSmYzNEtqO5zul3Mr20VOhHoghCjfvmOhEa" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/diseases/how-to-prevent-frequent-migraine-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-25 19:02:57GET/diseases/how-to-prevent-frequent-migraine-en5113293