• Home
  • diseases
  • Battling Productive Coughs: From Common Cold to Chronic Conditions

Battling Productive Coughs: From Common Cold to Chronic Conditions

Battling Productive Coughs: From Common Cold to Chronic Conditions

Share :


Everyone has had a cough at some point. Coughing is the body's natural way of clearing the respiratory tract of foreign objects, irritants, and excess mucus.

Coughs are classified into two types: dry cough (nonproductive) and productive cough (wet cough with phlegm). In this article, we'll look at the conditions that cause productive coughs. Some causes of productive coughs may be serious illnesses that require further medical attention.

 

Various conditions that can cause productive coughs

Common cold

The common cold and cough often occur together in both children and adults. This is caused by viral infections like rhinovirus, coronavirus, and adenovirus. Typically, a cough associated with a cold resolves within 7–10 days. Adequate rest, proper hydration, and over-the-counter cold and cough medications can all help alleviate the symptoms.

Flu

Influenza, or flu, is a highly contagious viral infection of the respiratory tract. Flu can affect people of all ages, but it is most common in children, adults, and people with certain medical conditions who are vulnerable to infection. Common flu symptoms include fever, runny nose, cough, sore throat, headache, muscle aches, and fatigue. In some cases, severe flu can lead to pneumonia and bronchitis.

Acute bronhitis

Bronchitis is inflammation of the bronchial tubes in the respiratory tract. This inflammation can cause increased mucus production, so coughing in acute bronchitis usually starts as a dry cough and then develops into a productive cough.

Pneumonia

Pneumonia is an inflammation of lung tissue. Pneumonia is caused by a bacterial, viral, or fungal infection, which causes inflammation in one or both of the lungs' air sacs (alveoli). When someone has pneumonia, the alveoli can fill with fluid or pus, resulting in a productive cough, fever, chills, and difficulty breathing. Pneumonia coughs usually produce yellow, green, or brown mucus, or sometimes contain blood.

Chronic obstructive pulmonary disease (COPD)

COPD includes respiratory diseases such as chronic bronchitis and emphysema. When experiencing COPD, your airways may become inflamed and stop working normally. COPD causes the lungs to produce excess mucus with a persistent cough.

Cystic fibrosis

Cystic fibrosis is a hereditary condition that causes mucus buildup in the lungs and digestive tract. Cystic fibrosis is usually characterized by coughing, wheezing, swelling of the fingers and toes, and digestive problems.

Bronchiectasis

Bronchiectasis is a chronic condition in which the airways become damaged, resulting in mucus buildup. This mucus buildup makes the lungs more susceptible to infection.

 

Treating a cough depends on its cause. You can use over-the-counter cough medications and follow the dosage instructions on the package. You should consult a doctor for further evaluation if your cough worsens or does not improve. You may also need to have tests recommended by your doctor to get a more accurate diagnosis.

Do you have other questions related to the cough you're experiencing? You can make use of the consultation features that are available in the Ai Care application by downloading the Ai Care application from the App Store or Play Store.

 

Looking for more information about other diseases? Click here!

Writer : Agatha Writer
Editor :
  • Sean Edbert Lim, MBBS
Last Updated : Thursday, 4 July 2024 | 04:49

Keri Wiginton (2024). What Causes a Productive Cough?. Available from: https://www.webmd.com/lung/productive-cough-causes 

Cleveland Clinic (2022). Cough. Available from: https://my.clevelandclinic.org/health/symptoms/17755-cough 

Health Direct (2023). Coughs and colds in children. Available from: https://www.healthdirect.gov.au/coughs-and-colds-in-children 

Better Health Channel. Influenza (flu). Available from: https://www.betterhealth.vic.gov.au/health/conditionsandtreatments/flu-influenza 

John Hopkins Medicine. Acute Bronchitis. Available from: https://www.hopkinsmedicine.org/health/conditions-and-diseases/acute-bronchitis 

Mayo Clinic (2020). Pneumonia. Available from: https://www.mayoclinic.org/diseases-conditions/pneumonia/symptoms-causes/syc-20354204 

Cleveland Clinic (2022). Chronic Obstructive Pulmonary Disease (COPD). Available from: https://my.clevelandclinic.org/health/diseases/8709-chronic-obstructive-pulmonary-disease-copd 

NHS UK (2021). Cystic fibrosis. Available from: https://www.nhs.uk/conditions/cystic-fibrosis/ 

National Heart, Lung, and Blood Institute (2023). What Is Bronchiectasis?. Available from: https://www.nhlbi.nih.gov/health/bronchiectasis 

Request history8.1.29PHP Version851msRequest Duration6MBMemory UsageGET {category}/{slug}Route
  • warninglog[07:42:46] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[07:42:46] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[07:42:46] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • Booting (213ms)time
  • Application (638ms)time
  • 1 x Application (74.93%)
    638ms
    1 x Booting (25.07%)
    213ms
    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 executed399ms
    • WebController.php#656aicare_prod_new850μsselect * 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_new52.82msselect * from `posts` where (`slug` = 'battling-productive-cougha-from-common-cold-to-chronic-conditions-en' or `slug_en` = 'battling-productive-cougha-from-common-cold-to-chronic-conditions-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: battling-productive-cougha-from-common-cold-to-chronic-conditions-en
      • 1: battling-productive-cougha-from-common-cold-to-chronic-conditions-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_new78.28msselect * from `posts` where (`slug` = 'battling-productive-cougha-from-common-cold-to-chronic-conditions-en' or `slug_en` = 'battling-productive-cougha-from-common-cold-to-chronic-conditions-en') and `status` = 1 and `publish_date` <= '2025-04-15 07:42:46' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: battling-productive-cougha-from-common-cold-to-chronic-conditions-en
      • 1: battling-productive-cougha-from-common-cold-to-chronic-conditions-en
      • 2: 1
      • 3: 2025-04-15 07:42:46
      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.21msselect `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 (9198)
      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.08msselect `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 (9198)
      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.91msselect `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 (9198) 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_new650μ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_new18.1msselect `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` = 9198
      Bindings
      • 0: 9198
      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_new15.55msselect `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` = 105 and `posts`.`deleted_at` is null
      Bindings
      • 0: 105
      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.36msselect `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` = 493 and `posts`.`deleted_at` is null
      Bindings
      • 0: 493
      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.74msselect `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` = 5040 and `posts`.`deleted_at` is null
      Bindings
      • 0: 5040
      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.89msselect `posts`.*, `post_tag`.`tag_id` as `pivot_tag_id`, `post_tag`.`post_id` as `pivot_post_id` from `posts` inner join `post_tag` on `posts`.`id` = `post_tag`.`post_id` where `post_tag`.`tag_id` = 5286 and `posts`.`deleted_at` is null
      Bindings
      • 0: 5286
      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.59msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-15 07:42:46' 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-15 07:42:46
      • 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.35msselect * 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.69msselect `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` = 9198 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 9198
      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_new10.98msupdate `posts` set `views_count` = 432 where `id` = 9198
      Bindings
      • 0: 432
      • 1: 9198
      Backtrace
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • ActivityLogger.php#174aicare_prod_new5.57msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 9198, 'App\\Models\\Admin\\Post', 'updated', '2025-04-15 07:42:46', '2025-04-15 07:42:46')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 9198
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-15 07:42:46
      • 8: 2025-04-15 07:42:46
      Backtrace
      • vendor/spatie/laravel-activitylog/src/ActivityLogger.php:174
      • vendor/spatie/laravel-activitylog/src/Traits/LogsActivity.php:88
      • app/Http/Controllers/WebController.php:779
      • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
    • single-post-healthpedia.blade.php#37aicare_prod_new1.06msselect * 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_new6.43msselect `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` = 8688 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8688
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new6.57msselect `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` = 9712 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9712
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new6.26msselect `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` = 9546 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9546
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new6.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` = 9797 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9797
      Hints
      • Use SELECT * only if you need all columns from table
      Backtrace
      • view::web.v2.partials.article-popular:15
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new6.16msselect `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` = 7408 and `categories`.`deleted_at` is null
      Bindings
      • 0: 7408
      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.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` = 9632 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9632
      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.86msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 990 and `categories`.`deleted_at` is null
      Bindings
      • 0: 990
      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_new7.95msselect `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` = 9911 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9911
      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.99msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 9848 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9848
      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.88msselect `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` = 8455 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8455
      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.78msselect `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` = 8310 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8310
      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_new850μ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_new840μ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_new1.28msselect * 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
    111Post.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
        tk3ozAZoZUhmIcF1jqKGOaKPXtzKx5tTxoqQqPfz
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/diseases/battling-productive-cougha-from-common-co...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /diseases/battling-productive-cougha-from-common-cold-to-chronic-conditions-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.128.180.89" ] "x-forwarded-for" => array:1 [ 0 => "3.128.180.89" ] "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 => "Tue, 15 Apr 2025 00:42:46 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImthZ2JBU3NyRXh2WVM0NHpvTjJWVmc9PSIsInZhbHVlIjoidW5zbWt5ZVVLeUxhRFVEVWM1MnRIQ0l1YWdMalQ0TXR0UExlbWRkMzZJemgwYUtTVE5naHViU2svQlg0emJtZS9HLzBiV2NjYWx1cGowdXYrNjAydk1tZkhrOGFSV1p0eWsxMXlEcmRuZmRWLzJkdzBSOXZBMGxTZWNzNnlWQisiLCJtYWMiOiI5MWU0YzJhMDg4NTgyYjdlYmE4YmM3YTgyNGJjNzlkZWI3YmM0YWY0YzAzZjc2ZjZhYTgwZTFlOWM5ZjYyOTkzIiwidGFnIjoiIn0%3D; expires=Tue, 15 Apr 2025 02:42:47 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6ImthZ2JBU3NyRXh2WVM0NHpvTjJWVmc9PSIsInZhbHVlIjoidW5zbWt5ZVVLeUxhRFVEVWM1MnRIQ0l1YWdMalQ0TXR0UExlbWRkMzZJemgwYUtTVE5naHViU2svQlg0emJtZS9HLzBiV" 1 => "laravel_session=eyJpdiI6Ilo4M1ZLUlJ1ZU1iWDhxWE1BS1FtMlE9PSIsInZhbHVlIjoiSjV6dkt1M0ZZY3lpYktwUjBkQmp2NzNpZEd0QXlHMGZYTG90L2gwM21PeTIzaUtGeC96cmZHUHQrM3AxK1p1QVZFV2hTVUUyUFc4Sk10NXhaSHpSZW84aTVvS0p2Q0FQcUlMSWpLVUdJa05YVU1SVXBGR0wxcG1uUmhBc3ZKKzkiLCJtYWMiOiI0N2UyZTk1YjZmZWJjOWIzNTJmMjAwOWQyY2M1MmU3NWYzMTRiYzdhN2Q4MDBiZmYwY2FjNzg0NzkwMmQ3OWJmIiwidGFnIjoiIn0%3D; expires=Tue, 15 Apr 2025 02:42:47 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6Ilo4M1ZLUlJ1ZU1iWDhxWE1BS1FtMlE9PSIsInZhbHVlIjoiSjV6dkt1M0ZZY3lpYktwUjBkQmp2NzNpZEd0QXlHMGZYTG90L2gwM21PeTIzaUtGeC96cmZHUHQrM3AxK1p1QVZF" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImthZ2JBU3NyRXh2WVM0NHpvTjJWVmc9PSIsInZhbHVlIjoidW5zbWt5ZVVLeUxhRFVEVWM1MnRIQ0l1YWdMalQ0TXR0UExlbWRkMzZJemgwYUtTVE5naHViU2svQlg0emJtZS9HLzBiV2NjYWx1cGowdXYrNjAydk1tZkhrOGFSV1p0eWsxMXlEcmRuZmRWLzJkdzBSOXZBMGxTZWNzNnlWQisiLCJtYWMiOiI5MWU0YzJhMDg4NTgyYjdlYmE4YmM3YTgyNGJjNzlkZWI3YmM0YWY0YzAzZjc2ZjZhYTgwZTFlOWM5ZjYyOTkzIiwidGFnIjoiIn0%3D; expires=Tue, 15-Apr-2025 02:42:47 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6ImthZ2JBU3NyRXh2WVM0NHpvTjJWVmc9PSIsInZhbHVlIjoidW5zbWt5ZVVLeUxhRFVEVWM1MnRIQ0l1YWdMalQ0TXR0UExlbWRkMzZJemgwYUtTVE5naHViU2svQlg0emJtZS9HLzBiV" 1 => "laravel_session=eyJpdiI6Ilo4M1ZLUlJ1ZU1iWDhxWE1BS1FtMlE9PSIsInZhbHVlIjoiSjV6dkt1M0ZZY3lpYktwUjBkQmp2NzNpZEd0QXlHMGZYTG90L2gwM21PeTIzaUtGeC96cmZHUHQrM3AxK1p1QVZFV2hTVUUyUFc4Sk10NXhaSHpSZW84aTVvS0p2Q0FQcUlMSWpLVUdJa05YVU1SVXBGR0wxcG1uUmhBc3ZKKzkiLCJtYWMiOiI0N2UyZTk1YjZmZWJjOWIzNTJmMjAwOWQyY2M1MmU3NWYzMTRiYzdhN2Q4MDBiZmYwY2FjNzg0NzkwMmQ3OWJmIiwidGFnIjoiIn0%3D; expires=Tue, 15-Apr-2025 02:42:47 GMT; path=/; httponlylaravel_session=eyJpdiI6Ilo4M1ZLUlJ1ZU1iWDhxWE1BS1FtMlE9PSIsInZhbHVlIjoiSjV6dkt1M0ZZY3lpYktwUjBkQmp2NzNpZEd0QXlHMGZYTG90L2gwM21PeTIzaUtGeC96cmZHUHQrM3AxK1p1QVZF" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "tk3ozAZoZUhmIcF1jqKGOaKPXtzKx5tTxoqQqPfz" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/diseases/battling-productive-cougha-from-common-cold-to-chronic-conditions-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-15 07:42:47GET/diseases/battling-productive-cougha-from-common-cold-to-chronic-conditions-en31132142