• Home
  • diseases
  • Bacterial vs. Viral? How to Identify and Treat Common Infections

Bacterial vs. Viral? How to Identify and Treat Common Infections

Bacterial vs. Viral? How to Identify and Treat Common Infections

Table of Content


Daftar Isi Tidak Ditemukan

Share :


Bacterial and viral infections are among the most common causes of illness, with symptoms that can range from mild to severe. Without proper treatment, some infections can lead to severe, life-threatening conditions. Understanding the differences between these infections and how to treat them is crucial.

 

What differentiates bacterial and viral infections?

Causes

The main difference between bacterial and viral infections lies in their origins. Bacterial infections are caused by bacteria, which are single-celled microorganisms that can survive inside and outside the body. Most bacteria are harmless, and some even play a helpful role in digestion.

Examples of bacterial infections include:

  • Food poisoning: caused by Campylobacter and Salmonella
  • Pneumococcal diseases: such as ear and sinus infections, and some types of pneumonia
  • Bacterial vaginosis: an overgrowth of bacteria in the vagina
  • Sexually transmitted infections: like chlamydia and gonorrhea
  • Strep throat
  • Urinary tract infections (UTIs): often caused by E. coli

On the other hand, viral infections are caused by viruses, which are tiny germs that need a living host to survive and multiply. Viruses are much smaller than bacteria and consist of genetic material wrapped in a protein shell. Once inside a host, viruses can damage, kill, or change the cells they infect.

Examples of viral infections include:

  • COVID-19: caused by the SARS-CoV-2 coronavirus
  • Chickenpox: caused by the varicella-zoster virus
  • HIV: caused by the human immunodeficiency virus
  • Common cold: caused by various viruses, including rhinoviruses

Transmission and Prevention

Bacteria and viruses can spread from person to person in several ways:

  • Direct contact: If an infected person doesn’t wash their hands, they can transfer bacteria and viruses to surfaces and food
  • Droplets: When someone with an infection coughs, sneezes, or talks, they can expel bacteria or viruses. Breathing in these droplets can lead to infection
  • Wounds: Bacteria and viruses can enter the body through cuts or punctures

To prevent transmission, you can adopt a healthy lifestyle such as:

To prevent infections:

  • Wash your hands regularly with soap and water
  • Cover your mouth and nose when sneezing or coughing
  • Get vaccinated
  • Eat well-cooked, hygienic food

Treatment

Bacterial and viral infections can sometimes have similar symptoms, like fever, cough, sore throat, and body aches. Because of this, people might think both types of infections can be treated with antibiotics, but that’s not the case.

Doctors can prescribe antibiotics to treat bacterial infections, which are effective at killing the bacteria that cause the infection. It is important to complete the entire course of antibiotics, even if you begin to feel better, to prevent antibiotic resistance, in which bacteria become resistant to the medication.

Antibiotics are not effective against viral infections. Some viral infections can be treated with antiviral medications, but only for certain viruses. In most cases, viral infections are self-limiting, which means they resolve on their own. Treatment usually focuses on symptom relief, which includes rest and plenty of fluids.

While bacterial and viral infections can have similar symptoms, they require different treatments. If you are feeling unwell, you should see a doctor to get the proper treatment.

If you need medical advice or consultation, you can either visit a doctor or 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 : Ratih AI Care
Editor :
  • Sean Edbert Lim, MBBS
Last Updated : Friday, 23 August 2024 | 06:16

 Health Direct. What is the difference between bacterial and viral infections?. Available from: https://www.healthdirect.gov.au/bacterial-vs-viral-infection#

Seed, S., Ansorge. R. (2024). Bacterial and Viral Infections. Available from: https://www.webmd.com/a-to-z-guides/bacterial-and-viral-infections

Bacterial vs. viral infections: How do they differ?. Available from: https://www.mayoclinic.org/diseases-conditions/infectious-diseases/expert-answers/infectious-disease/faq-20058098

Cherney, K. (2023). What’s the Difference Between Bacterial and Viral Infections?. Available from: https://www.healthline.com/health/bacterial-vs-viral-infections

Giiorgi. A. (2022). Viral vs. Bacterial Infection: What’s the Difference?. Available from: https://www.verywellhealth.com/viral-vs-bacterial-infection-what-s-the-difference-5442997

Request history8.1.29PHP Version944msRequest Duration10MBMemory UsageGET {category}/{slug}Route
  • warninglog[11:13:44] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • warninglog[11:13:44] LOG.warning: str_contains(): Passing null to parameter #1 ($haystack) of type string is d...
  • infolog[11:13:44] LOG.info: Attempting to authenticate with: { "username": "administrator", "url": ...
  • Booting (290ms)time
  • Application (655ms)time
  • 1 x Application (69.34%)
    655ms
    1 x Booting (30.66%)
    290ms
    11 templates were rendered
    • 1x web.v2.single-post-healthpediasingle-post-healthpedia.blade.php#?blade
    • 1x web.v2.partials.single.breadcrumbbreadcrumb.blade.php#?blade
    • 2x web.partials.single-sharesingle-share.blade.php#?blade
    • 1x web.v2.partials.single.editoreditor.blade.php#?blade
    • 1x web.v2.partials.single.tagstags.blade.php#?blade
    • 1x web.v2.partials.single.referensireferensi.blade.php#?blade
    • 1x web.v2.partials.article-populararticle-popular.blade.php#?blade
    • 1x web.v2.partials.related-articlerelated-article.blade.php#?blade
    • 1x web.v2.partials.healthtopichealthtopic.blade.php#?blade
    • 1x layouts.v2.web_layoutweb_layout.blade.php#?blade
    uri
    GET {category}/{slug}
    middleware
    web
    controller
    App\Http\Controllers\WebController@newSinglePost
    namespace
    App\Http\Controllers
    prefix
    where
    as
    web.new.single.post
    file
    app/Http/Controllers/WebController.php:645-806
    33 statements were executed411ms
    • WebController.php#656aicare_prod_new840μ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_new53.19msselect * from `posts` where (`slug` = 'bacterial-vs-viral-how-to-identity-and-treat-common-infections-en' or `slug_en` = 'bacterial-vs-viral-how-to-identity-and-treat-common-infections-en') and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: bacterial-vs-viral-how-to-identity-and-treat-common-infections-en
      • 1: bacterial-vs-viral-how-to-identity-and-treat-common-infections-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_new58.43msselect * from `posts` where (`slug` = 'bacterial-vs-viral-how-to-identity-and-treat-common-infections-en' or `slug_en` = 'bacterial-vs-viral-how-to-identity-and-treat-common-infections-en') and `status` = 1 and `publish_date` <= '2025-04-28 11:13:44' and `deleted_at` is null and `posts`.`deleted_at` is null limit 1
      Bindings
      • 0: bacterial-vs-viral-how-to-identity-and-treat-common-infections-en
      • 1: bacterial-vs-viral-how-to-identity-and-treat-common-infections-en
      • 2: 1
      • 3: 2025-04-28 11:13:44
      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_new810μ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 (9694)
      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_new880μ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 (9694)
      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.92msselect `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 (9694) 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_new680μ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.51msselect `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` = 9694
      Bindings
      • 0: 9694
      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_new17msselect `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` = 1 and `posts`.`deleted_at` is null
      Bindings
      • 0: 1
      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` = 3825 and `posts`.`deleted_at` is null
      Bindings
      • 0: 3825
      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_new19.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` = 3835 and `posts`.`deleted_at` is null
      Bindings
      • 0: 3835
      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_new19.26msselect `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` = 4166 and `posts`.`deleted_at` is null
      Bindings
      • 0: 4166
      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.03msselect `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` = 6330 and `posts`.`deleted_at` is null
      Bindings
      • 0: 6330
      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_new83.49msselect * from `posts` where `status` = 1 and `publish_date` <= '2025-04-28 11:13:44' and `deleted_at` is null and `content_type` = 'article' and `slug_en` != '' and `slug_en` is not null and `posts`.`deleted_at` is null order by RAND() limit 7
      Bindings
      • 0: 1
      • 1: 2025-04-28 11:13:44
      • 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.07msselect * 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.6msselect `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` = 9694 and `healthpedia`.`deleted_at` is null
      Bindings
      • 0: 9694
      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` = 296 where `id` = 9694
      Bindings
      • 0: 296
      • 1: 9694
      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.7msinsert into `activity_log` (`log_name`, `properties`, `batch_uuid`, `event`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', null, 'updated', 9694, 'App\\Models\\Admin\\Post', 'updated', '2025-04-28 11:13:44', '2025-04-28 11:13:44')
      Bindings
      • 0: default
      • 1: []
      • 2: 
      • 3: updated
      • 4: 9694
      • 5: App\Models\Admin\Post
      • 6: updated
      • 7: 2025-04-28 11:13:44
      • 8: 2025-04-28 11:13:44
      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.17msselect * from `users` where `users`.`id` = 18 limit 1
      Bindings
      • 0: 18
      Hints
      • Use SELECT * only if you need all columns from table
      • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
      Backtrace
      • view::web.v2.single-post-healthpedia:37
      • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
      • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22
      • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
    • article-popular.blade.php#15aicare_prod_new5.03msselect `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` = 8662 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8662
      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.6msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 8651 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8651
      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.54msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 7635 and `categories`.`deleted_at` is null
      Bindings
      • 0: 7635
      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.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` = 8870 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8870
      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.46msselect `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` = 8709 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8709
      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.27msselect `categories`.*, `category_post`.`post_id` as `pivot_post_id`, `category_post`.`category_id` as `pivot_category_id`, `category_post`.`created_at` as `pivot_created_at`, `category_post`.`updated_at` as `pivot_updated_at` from `categories` inner join `category_post` on `categories`.`id` = `category_post`.`category_id` where `category_post`.`post_id` = 8957 and `categories`.`deleted_at` is null
      Bindings
      • 0: 8957
      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.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` = 9228 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9228
      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.44msselect `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` = 9763 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9763
      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.13msselect `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` = 9837 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9837
      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_new12.34msselect `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` = 9754 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9754
      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_new12.13msselect `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` = 9726 and `categories`.`deleted_at` is null
      Bindings
      • 0: 9726
      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_new820μ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_new900μ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_new690μ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
    287Post.php#?
    App\Models\Admin\Category
    19Category.php#?
    App\Models\Admin\Tag
    5Tag.php#?
    App\User
    3User.php#?
    App\Models\TermPolicy
    3TermPolicy.php#?
    App\Models\Admin\Page
    1Page.php#?
    App\Models\Admin\Faq
    1Faq.php#?
        locale
        en
        _token
        2b8aZGRtnGTs0mxfJ2bXIAuuWaIjbTgT4QgiDSjC
        _previous
        array:1 [ "url" => "https://ai-care.atmatech.id/diseases/bacterial-vs-viral-how-to-identity-and-tr...
        _flash
        array:2 [ "old" => [] "new" => [] ]
        path_info
        /diseases/bacterial-vs-viral-how-to-identity-and-treat-common-infections-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.143.170.30" ] "x-forwarded-for" => array:1 [ 0 => "3.143.170.30" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-scheme" => array:1 [ 0 => "https" ] "host" => array:1 [ 0 => "ai-care.atmatech.id" ] "connection" => array:1 [ 0 => "keep-alive" ] ]
        request_cookies
        []
        
        response_headers
        0 of 0
        array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Mon, 28 Apr 2025 04:13:44 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkQ2Y2FFQlN0OFZaK3lPd3VHV0lqdWc9PSIsInZhbHVlIjoibWdvZTNRQVBlcG9GOVBlOFhURWlTdm1DdzZGZTRtNURwTzNpelpXSHJYSGZyUE9IcXVTdEM5VmFxZTU5NDhYN3NVNjZ6b2lsYkhpS2FWakpxdnNMZ1dPdlVYSWtlVTUvY3g5Zkppa214ckowaTk2R1I4T0tVRUVYZFZteDZINnYiLCJtYWMiOiI4ZDYyNTM0YmI2ZGJiZjUxZjdmMGUyY2MyODg5YzQyMTZlNTNiYTJlMTQ1NzI4M2IwOGRiYTE3ZmE0YjUxMDRmIiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 06:13:44 GMT; Max-Age=7200; path=/; secureXSRF-TOKEN=eyJpdiI6IkQ2Y2FFQlN0OFZaK3lPd3VHV0lqdWc9PSIsInZhbHVlIjoibWdvZTNRQVBlcG9GOVBlOFhURWlTdm1DdzZGZTRtNURwTzNpelpXSHJYSGZyUE9IcXVTdEM5VmFxZTU5NDhYN3NVNjZ6b" 1 => "laravel_session=eyJpdiI6IlZpbWx4TkFLeXh2cVhDREFHUzZhNkE9PSIsInZhbHVlIjoiVHdCODkzeml4bDFxRm5jaG1zSGFkWlVqRHhwK0pjMG9JL0VrdjhyYmphNHdPeEFKUnJFT0N1SUpwczVabWJIei9rUEFtSVVUQUxvTGR4NVBQOHlab0FMVm9wcmlZLzNvY2UyRUtWTDVJNU04K1VWUWVqTHpwbW1KQTM4S3Y1Y2YiLCJtYWMiOiI4YmRmNjQ0NjhmYjY0NzNkYTE3Y2E2NTYwMTY1N2ZhMDE1Y2ZkOGI0NTNlYmJhODJlMmI1NGFkNGMzOGQ2MTQ3IiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 06:13:44 GMT; Max-Age=7200; path=/; httponlylaravel_session=eyJpdiI6IlZpbWx4TkFLeXh2cVhDREFHUzZhNkE9PSIsInZhbHVlIjoiVHdCODkzeml4bDFxRm5jaG1zSGFkWlVqRHhwK0pjMG9JL0VrdjhyYmphNHdPeEFKUnJFT0N1SUpwczVabWJIei9r" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkQ2Y2FFQlN0OFZaK3lPd3VHV0lqdWc9PSIsInZhbHVlIjoibWdvZTNRQVBlcG9GOVBlOFhURWlTdm1DdzZGZTRtNURwTzNpelpXSHJYSGZyUE9IcXVTdEM5VmFxZTU5NDhYN3NVNjZ6b2lsYkhpS2FWakpxdnNMZ1dPdlVYSWtlVTUvY3g5Zkppa214ckowaTk2R1I4T0tVRUVYZFZteDZINnYiLCJtYWMiOiI4ZDYyNTM0YmI2ZGJiZjUxZjdmMGUyY2MyODg5YzQyMTZlNTNiYTJlMTQ1NzI4M2IwOGRiYTE3ZmE0YjUxMDRmIiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 06:13:44 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6IkQ2Y2FFQlN0OFZaK3lPd3VHV0lqdWc9PSIsInZhbHVlIjoibWdvZTNRQVBlcG9GOVBlOFhURWlTdm1DdzZGZTRtNURwTzNpelpXSHJYSGZyUE9IcXVTdEM5VmFxZTU5NDhYN3NVNjZ6b" 1 => "laravel_session=eyJpdiI6IlZpbWx4TkFLeXh2cVhDREFHUzZhNkE9PSIsInZhbHVlIjoiVHdCODkzeml4bDFxRm5jaG1zSGFkWlVqRHhwK0pjMG9JL0VrdjhyYmphNHdPeEFKUnJFT0N1SUpwczVabWJIei9rUEFtSVVUQUxvTGR4NVBQOHlab0FMVm9wcmlZLzNvY2UyRUtWTDVJNU04K1VWUWVqTHpwbW1KQTM4S3Y1Y2YiLCJtYWMiOiI4YmRmNjQ0NjhmYjY0NzNkYTE3Y2E2NTYwMTY1N2ZhMDE1Y2ZkOGI0NTNlYmJhODJlMmI1NGFkNGMzOGQ2MTQ3IiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 06:13:44 GMT; path=/; httponlylaravel_session=eyJpdiI6IlZpbWx4TkFLeXh2cVhDREFHUzZhNkE9PSIsInZhbHVlIjoiVHdCODkzeml4bDFxRm5jaG1zSGFkWlVqRHhwK0pjMG9JL0VrdjhyYmphNHdPeEFKUnJFT0N1SUpwczVabWJIei9r" ] ]
        session_attributes
        0 of 0
        array:4 [ "locale" => "en" "_token" => "2b8aZGRtnGTs0mxfJ2bXIAuuWaIjbTgT4QgiDSjC" "_previous" => array:1 [ "url" => "https://ai-care.atmatech.id/diseases/bacterial-vs-viral-how-to-identity-and-treat-common-infections-en" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
        ClearShow all
        Date ↕MethodURLData
        #12025-04-28 11:13:44GET/diseases/bacterial-vs-viral-how-to-identity-and-treat-common-infections-en31133319