×

Why KDF will still be back on the streets in case of violent protests

Defence CS Soipan Tuya answers questions in the Senate Plenary at Parliament Buildings, Nairobi. on March 19, 2025. [Elvis Ogina,Standard] 

The Kenya Defence Forces (KDF) is at liberty to get back to the streets and deal with protesters if need be.

Defence Cabinet Secretary Soipan Tuya on Wednesday told the Senate that the gazette notice signed by her predecessor Aden Duale, deploying KDF to the streets on July 24, 2024, was still in force due to a pending court case.

This implies that President William Ruto, who is the Commander in Chief of the Armed Forces, can deploy KDF officers on civilians in case of a situation similar to that of the Gen Z protests witnessed last year, paralysing business in major towns.

“I would like to inform the Senate that the parameters for July 24, 2024 deployment of KDF officers are clear with two gazette notices issued by then Defence Cabinet Secretary Aden Duale still in force stating how KDF was to carry out its mandate with a court case on the matter still pending,” said Tuya.

Kitui Senator Enoch Wambua had asked Tuya to tell the House whether the gazette notice deploying KDF officers in the streets following the countrywide demonstrations opposing the enactment of the Finance Bill, 2024, was still in force or had been revoked.

Nairobi Senator Edwin Sifuna asked Tuya to tell the House what was wrong with an article published in the Sunday Nation quoting former Prime Minister Raila Odinga stating that he rescued the Kenya Kwanza administration from a military coup.

She insisted that the article was “inaccurate, baseless and reckless” although the newspaper was quoting the ODM leader, whose party joined the Ruto administration after the changes that followed the protests.

Kisumu Senator Tom Ojienda asked the Cabinet Secretary to clarify whether the KDF monitors the security situation within the country and indicate the state of preparedness to address potential instability or civilian unrest.

She said that while the primary responsibility for internal security lies with other agencies, such as the National Police Service and the National Intelligence Service, KDF may be deployed.

Kenya Defence Forces (KDF) officers leave Nyayo National Stadium aboard their vehicles heading into the Nairobi Central Business District for Gen Z Anti-Finance Bill protests on June 27, 2024. [Stafford Ondego, Standard]

“Because KDF will majorly work in support of other security agencies, the force closely collaborates and regularly exchanges information with the relevant agencies to ensure that all parties remain informed with up to date situational awareness,” said Tuya.

Ojienda asked the CS the modalities for the involvement of KDF in internal security matters and how KDF balances the internal security needs and the sanctity of civilian lives.

She told the Senate that the Constitution requires the CS to furnish the National Assembly with reports on deployments, with details on the reason and the expenditure to be incurred.

Tuya said deployment is performed under the code of conduct and operational procedures on the regulation of the Defence Forces Support operations approved by the Defence Council as well as a joint operation plan and guidelines issued by the Chief of Defence Forces and the Inspector General of Police.

Tuya said that KDF is structured to ensure swift and effective response to both external and internal threats when the need arises.

She told Senators that the KDF Act specifies that notifications be gazetted, while authorisation must be sought prior to deployment and mandatory reports furnished to the National Assembly for oversight and accountability.

The gazette notice announcing the deployment of KDF personnel was unprecedented, raising political, legal and constitutional questions.

Duale cited Article 241 of the Constitution and Sections 31,33 and 34 of the KDF Act, 2012, to defend the move. 

Request history8.1.26PHP Version1.45sRequest Duration3MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (17.13ms)time
    • Application (1.44s)time
    • 1 x Application (98.82%)
      1.44s
      1 x Booting (1.18%)
      17.13ms
      11 templates were rendered
      • 1x mainsite.articlearticle.blade.php#?blade
      • 1x mainsite.partials.topsectionsubscribetopsectionsubscribe.blade.php#?blade
      • 1x common.vocalizedvocalized.blade.php#?blade
      • 1x mainsite.partials.footerfooter.blade.php#?blade
      • 1x mainsite.layouts.appapp.blade.php#?blade
      • 1x mainsite.partials.metasmetas.blade.php#?blade
      • 1x mainsite.partials.topbartopbar.blade.php#?blade
      • 1x mainsite.partials.logo_sectionlogo_section.blade.php#?blade
      • 1x mainsite.partials.menumenu.blade.php#?blade
      • 1x mainsite.partials.streamingstreaming.blade.php#?blade
      • 1x mainsite.partials.stickybottomstickybottom.blade.php#?blade
      uri
      GET {category}/article/{id}/{slug}
      middleware
      web
      controller
      App\Http\Controllers\MainsiteController@article
      namespace
      prefix
      where
      file
      app/Http/Controllers/MainsiteController.php:610-1128
      38 statements were executed (13 duplicates)Show only duplicates718ms
      • Articles.php#513standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:513
        • app/Http/Controllers/MainsiteController.php:657
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:658
      • Articles.php#520standard_digital_main7.32msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001514238' and `published_at` <= '2025-03-23 10:59:51' and `deleted_at` is null
        Bindings
        • 0: 2001514238
        • 1: 2025-03-23 10:59:51
        Backtrace
        • app/Utils/Articles.php:520
        • app/Http/Controllers/MainsiteController.php:657
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:658
      • Articles.php#1435standard_digital_main840μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-03-23'
        Bindings
        • 0: 2025-03-23
        Backtrace
        • app/Utils/Articles.php:1435
        • app/Http/Controllers/MainsiteController.php:660
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:661
      • Builder.php#20standard_digital_main820μsselect `authors`.*, `article_authors`.`article_id` as `pivot_article_id`, `article_authors`.`author_id` as `pivot_author_id` from `authors` inner join `article_authors` on `authors`.`id` = `article_authors`.`author_id` where `article_authors`.`article_id` = 2001514238 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001514238
        Backtrace
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:20
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:103
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:84
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:21
      • Articles.php#147standard_digital_main790μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 588 or `parent_id` = 588 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 588
        • 2: 588
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main91.01msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (1, 588) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:51' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 1
        • 1: 588
        • 2: 1
        • 3: 2025-03-23 10:59:51
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main1.01msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 588)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#53standard_digital_main780μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 588
        Bindings
        • 0: 588
        Backtrace
        • app/Utils/Articles.php:53
        • app/Utils/Articles.php:338
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#53standard_digital_main780μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:53
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#55standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:55
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#55standard_digital_main4.7msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:55
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#57standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:57
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#57standard_digital_main3.91msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:57
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#60standard_digital_main1.32msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `refer_id` is null
        Backtrace
        • app/Utils/Articles.php:60
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#688standard_digital_main118msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Defence CS Soipan Tuya\",\"Kenya Defence Forces\",\"Kitui Senator Enoch Wambua\",\"KDF Officers\"]%') and `site_id` = 1 and `published_at` <= '2025-03-23 10:59:52' and `deleted_at` is null and `id` not in ('2001514238') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Defence CS Soipan Tuya","Kenya Defence Forces","Kitui Senator Enoch Wambua","KDF Officers"]%
        • 1: 1
        • 2: 2025-03-23 10:59:52
        • 3: 2001514238
        Backtrace
        • app/Utils/Articles.php:688
        • app/Http/Controllers/MainsiteController.php:821
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:822
      • Articles.php#424standard_digital_main98.48msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' and `published_at` >= '2025-03-23 09:59:52' order by RAND(), `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 16
        • 2: 20
        • 3: 2025-03-23 10:59:52
        • 4: 2025-03-23 09:59:52
        Backtrace
        • app/Utils/Articles.php:424
        • app/Http/Controllers/MainsiteController.php:825
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:826
      • Articles.php#424standard_digital_main1.35msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 7, 588)
        Backtrace
        • app/Utils/Articles.php:424
        • app/Http/Controllers/MainsiteController.php:825
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:826
      • Articles.php#147standard_digital_main1.07msselect `id` from `article_categories` where `site_id` = 1 and `id` = 480 or `parent_id` = 480 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 480
        • 2: 480
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main1.97msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (480, 481, 482, 719) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 4 offset 0
        Bindings
        • 0: 480
        • 1: 481
        • 2: 482
        • 3: 719
        • 4: 1
        • 5: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main930μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (480, 482)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#257standard_digital_main29.31msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:257
        • app/Http/Controllers/MainsiteController.php:833
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:834
      • Articles.php#257standard_digital_main870μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 7, 588)
        Backtrace
        • app/Utils/Articles.php:257
        • app/Http/Controllers/MainsiteController.php:833
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:834
      • Articles.php#753standard_digital_main142msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`premium` = 1 or `article_category_id` = 486) and `site_id` = '1' and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 486
        • 2: 1
        • 3: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:837
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:838
      • Articles.php#753standard_digital_main890μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7, 588)
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:837
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:838
      • Articles.php#819standard_digital_main3.64msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001514238' and `site_id` = 1 and `published_at` <= '2025-03-23 10:59:52' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001514238
        • 1: 1
        • 2: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#819standard_digital_main980μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main1.45msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001514238' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' limit 1
        Bindings
        • 0: 2001514238
        • 1: 1
        • 2: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:865
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main870μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:865
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#1288standard_digital_main27.27msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-23 10:59:52' and `article_category_id` = 588 and `site_id` = 1 and `id` not in ('2001514238') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-23 10:59:52
        • 1: 588
        • 2: 1
        • 3: 2001514238
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:845
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:846
      • Articles.php#1288standard_digital_main970μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:845
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:846
      • Builder.php#20standard_digital_main1.06msselect `videos`.`id`, `videos`.`video_category_id`, `videos`.`title`, `videos`.`video_url`, `videos`.`description`, `videos`.`published_at`, `videos`.`thumbnail_url` from `videos` inner join `video_categories` on `video_categories`.`id` = `videos`.`video_category_id` where (`keywords` LIKE '%[\"Defence CS Soipan Tuya\",\"Kenya Defence Forces\",\"Kitui Senator Enoch Wambua\",\"KDF Officers\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Defence CS Soipan Tuya","Kenya Defence Forces","Kitui Senator Enoch Wambua","KDF Officers"]%
        • 1: 1
        Backtrace
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:20
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:103
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:84
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:21
      • Articles.php#3841standard_digital_main850μsselect count(std_trend_article_id) as count, std_trend_article_id from `std_article_trends` group by `std_trend_article_id` order by `count` desc limit 20
        Backtrace
        • app/Utils/Articles.php:3841
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • Articles.php#3867standard_digital_main1.58msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001249065, 2001514467, 2001514469, 2001514421, 2001514454, 2001514432, 2001514453, 2001267116, 2001514472, 2001514316, 2001514468, 2001514456, 2001514391, 2001514466, 2001514358, 2000198221, 2001296132, 2001445401, 2001482658, 2000212683) and `deleted_at` is null and `published_at` <= '2025-03-23 10:59:52' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2001249065
        • 1: 2001514467
        • 2: 2001514469
        • 3: 2001514421
        • 4: 2001514454
        • 5: 2001514432
        • 6: 2001514453
        • 7: 2001267116
        • 8: 2001514472
        • 9: 2001514316
        • 10: 2001514468
        • 11: 2001514456
        • 12: 2001514391
        • 13: 2001514466
        • 14: 2001514358
        • 15: 2000198221
        • 16: 2001296132
        • 17: 2001445401
        • 18: 2001482658
        • 19: 2000212683
        • 20: 2025-03-23 10:59:52
        Backtrace
        • app/Utils/Articles.php:3867
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • Articles.php#3867standard_digital_main830μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 7, 588)
        Backtrace
        • app/Utils/Articles.php:3867
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • CookieTool.php#185standard_digital_main990μsselect * from `settings` where `meta_name` = 'article_age' limit 1
        Bindings
        • 0: article_age
        Backtrace
        • app/Utils/CookieTool.php:185
        • app/Http/Controllers/MainsiteController.php:870
        • 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
      • helper.php#424standard_digital_main1.36msselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main850μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main900μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main910μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • Articles.php#1350standard_digital_main164msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-23 10:59:53' and (`keywords` like '%Defence CS Soipan Tuya%' or `keywords` like '%Kenya Defence Forces%' or `keywords` like '%Kitui Senator Enoch Wambua%' or `keywords` like '%KDF Officers%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001514238' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-23 10:59:53
        • 1: %Defence CS Soipan Tuya%
        • 2: %Kenya Defence Forces%
        • 3: %Kitui Senator Enoch Wambua%
        • 4: %KDF Officers%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001514238
        Backtrace
        • app/Utils/Articles.php:1350
        • app/Utils/Articles.php:1674
        • view::mainsite.article:568
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • app.blade.php#825standard_digital_main880μsselect * from `favourite_topics` where `status` = 1
        Bindings
        • 0: 1
        Backtrace
        • view::mainsite.layouts.app:825
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      App\Models\Category
      385Category.php#?
      App\Models\Article
      43Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          Yiw97nqvr5QHbGfBPtFtavMpNVRcrytnWVIWOvBM
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/national/article/2001514238/why-kd...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /national/article/2001514238/why-kdf-will-still-be-back-on-the-streets-in-case-of-violent-protests
          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:24 [ "cf-ray" => array:1 [ 0 => "924c644d9fbbd240-EWR" ] "x-forwarded-for" => array:1 [ 0 => "18.190.159.202" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "18.190.159.202" ] "accept-encoding" => array:1 [ 0 => "gzip, br" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "cookie" => array:1 [ 0 => "story_no=eyJpdiI6ImdkamVvSEtyWGw0bzJoZVpYZTdIb1E9PSIsInZhbHVlIjoiOG45MUc5ZlVWSkxkTUtoNHdNekRkU3RUSGd3NHZxN1FuYzYzWnJyQ2FKTWU2UUNCN2s1aE53OWI1T0xPejRxZiIsIm1hYyI6IjNmY2ZiOTU4MzBiYTAwYmIyODI5MDg5NTgxNzFlMzMzZmY1N2VlNjZlNTU3Y2M0MmQyZWYyYmEyZGI0NjQ1OWQiLCJ0YWciOiIifQ%3D%3D; story_no_insider=eyJpdiI6IlA4bjNKb2J2ZDNUUC8vY3ZhY09LZlE9PSIsInZhbHVlIjoiZ2NXRXZPeUpZUHljWi85UFd1NFVrZmRyQXByVkNJTmhDN1VwOTNaWDNPOFJ0R284b2dmelNYV1VWSHVYcTVPMyIsIm1hYyI6ImEyM2RhNTE4MGE5NmZjMzA5N2YxZjk4NjVjMmZkNTdjZDIyODQzMzUyZjM3ZjdkN2YwNjk1YTIxNWEwNGE5Y2QiLCJ0YWciOiIifQ%3D%3D; _gid=GA1.3.782955364.1742716790; _gat_UA-9511843-1=1; XSRF-TOKEN=eyJpdiI6ImV1d0FHNFIrQ3B5TkpkdStvcmUvR2c9PSIsInZhbHVlIjoiMGtHb3M5RUgrQ2tCQXJLWFR1VFFubENsVjJZNUpsWkF5dDJIclhLaE5nUzJQdFFmcFdTb0R6eHpjNFpJV1VoV1hMNmRCOTJVRk5KdVora3YyRFE0YWVxNmVVaHdNcDdaVUN5cE45MlR4a3huTmVTSGR2T1QxaGZhTEZXNGZLV2ciLCJtYWMiOiI3NDczNjk3MDQ2MjZiY2M4NTg5OWU5ZTA0YjVjY2M2OGFmODViNWU0ZTcxYThkMmMxMjllNDlmMGRmYzc3ZjUwIiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6IkFOWFZ0Y3AydXMxVjZLejFZUThtTXc9PSIsInZhbHVlIjoiWm14TzVXVzQ1SWU3elJOV1g3cDlpS25uNmlaWGZaWTUvcEphT1dydXB3Tkt3OHU3aEpvSU51RnBjTWIrZUpYRlRMaUpZMVIvNTVIZEVUaFVQSWRtM2VtM3V4Zng3aExQWnJXZXRSbnJiOE01S3ExbTR1UjFFOEUwMXZBeXNmaUwiLCJtYWMiOiJiYWNhOTZmMmU3ODA2MmZiYjRmNjBjNTAzMTk5YWFkMmNjZmUxYzQxOTRhOTIzMzc2NzZlNjQ3YjBiNGQ3ZjNiIiwidGFnIjoiIn0%3D; _ga_L7FB4EWJ0B=GS1.1.1742716790.1.1.1742716791.59.0.0; _ga=GA1.1.1452975157.1742716790; ___nrbic=%7B%22isNewUser%22%3Atrue%2C%22previousVisit%22%3A1742716791%2C%22currentVisitStarted%22%3A1742716791%2C%22sessionId%22%3A%228631cc4d-bde1-419d-8325-391853903678%22%2C%22sessionVars%22%3A%5B%5D%2C%22visitedInThisSession%22%3Atrue%2C%22pagesViewed%22%3A1%2C%22landingPage%22%3A%22https%3A//www.standardmedia.co.ke/article/2001493550/azimio-leaders-call-for-thorough-probe-into-kdf-chopper-crash%22%2C%22referrer%22%3A%22%22%2C%22lpti%22%3A%222024-04-20T10%3A00%3A00+03%3A00%22%7D; ___nrbi=%7B%22firstVisit%22%3A1742716791%2C%22userId%22%3A%22ee8ff3b9-ed74-4d7c-b73b-89c8bce26237%22%2C%22userVars%22%3A%5B%5D%2C%22futurePreviousVisit%22%3A1742716791%2C%22timesVisited%22%3A1%7D; compass_uid=ee8ff3b9-ed74-4d7c-b73b-89c8bce26237story_no=eyJpdiI6ImdkamVvSEtyWGw0bzJoZVpYZTdIb1E9PSIsInZhbHVlIjoiOG45MUc5ZlVWSkxkTUtoNHdNekRkU3RUSGd3NHZxN1FuYzYzWnJyQ2FKTWU2UUNCN2s1aE53OWI1T0xPejRxZiIsIm1hYyI" ] "priority" => array:1 [ 0 => "u=0, i" ] "cf-visitor" => array:1 [ 0 => "{"scheme":"https"}" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "cdn-loop" => array:1 [ 0 => "cloudflare; loops=1" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "connection" => array:1 [ 0 => "Keep-Alive" ] "pragma" => array:1 [ 0 => "no-cache" ] "cache-control" => array:1 [ 0 => "no-cache" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "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" ] ]
          request_cookies
          0 of 0
          array:11 [ "story_no" => "1" "story_no_insider" => "1" "_gid" => null "_gat_UA-9511843-1" => null "XSRF-TOKEN" => "Yiw97nqvr5QHbGfBPtFtavMpNVRcrytnWVIWOvBM" "thestandardmediagroup_session" => "JqEzx9MA0BsJKNkJPXM0VgowDgQzl8ba2uoYOuTH" "_ga_L7FB4EWJ0B" => null "_ga" => null "___nrbic" => null "___nrbi" => null "compass_uid" => null ]
          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 => "Sun, 23 Mar 2025 07:59:53 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjYrNGYxOThEalNrNGNNdUxESWN2MkE9PSIsInZhbHVlIjoibitVcVc2UlpFTjlKT1Q3VGU3elM3V05uYVZVdEtyYVhsQjdQU3p6T3BhSE5XKytwN2RuV0M3NGYvbyt3NWN0eHp3c1R0NUR5WTZsVFY4MElnUGQ4UWNXY2tlWi9ZZDZEaWh1elIydWk5cnh4d09IeUM1b3VwN3hlYlFXZmRSQTUiLCJtYWMiOiJhNTFjNTY4ZTM4OTk5N2YyOWQ4YTcyYjUwNzBhOWRjNmU2OGM2NmVkZDFlNWQ1YzFmY2Q5NDFjYWY5MDgxYmJjIiwidGFnIjoiIn0%3D; expires=Tue, 22 Apr 2025 18:28:53 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IjYrNGYxOThEalNrNGNNdUxESWN2MkE9PSIsInZhbHVlIjoibitVcVc2UlpFTjlKT1Q3VGU3elM3V05uYVZVdEtyYVhsQjdQU3p6T3BhSE5XKytwN2RuV0M3NGYvbyt3NWN0eHp3c1R0N" 1 => "thestandardmediagroup_session=eyJpdiI6IlFDeEpVVldkeG1UZ1J0d2E2VHNybmc9PSIsInZhbHVlIjoiQk5RZUQxYnVvcEZXNFd0SVdSaWRpNGhTc3VPTDQzOUVrUTd6cWFUSnJoOTdMZkxvbnNJLzlYQ1NuR2JMUWQ3OXRuUERIWFoydHdKUlo1SDdJNm9qSUNueXY5REgrdlZ3N0FCY3BNcysvZkV5SThFQkQ2cXJhOXA2LzZEZlkrdFgiLCJtYWMiOiJhNTdlMDM4Nzc3YTg5MGM2ZTIxYWFhNjRhYzc0ZjIzMmQ5Zjg2YTBkY2FkYmNjZmVmMTA4ZTc1NjM3ZTM2NjIwIiwidGFnIjoiIn0%3D; expires=Tue, 22 Apr 2025 18:28:53 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6IlFDeEpVVldkeG1UZ1J0d2E2VHNybmc9PSIsInZhbHVlIjoiQk5RZUQxYnVvcEZXNFd0SVdSaWRpNGhTc3VPTDQzOUVrUTd6cWFUSnJoOTdMZkxvbnNJLzlYQ1" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjYrNGYxOThEalNrNGNNdUxESWN2MkE9PSIsInZhbHVlIjoibitVcVc2UlpFTjlKT1Q3VGU3elM3V05uYVZVdEtyYVhsQjdQU3p6T3BhSE5XKytwN2RuV0M3NGYvbyt3NWN0eHp3c1R0NUR5WTZsVFY4MElnUGQ4UWNXY2tlWi9ZZDZEaWh1elIydWk5cnh4d09IeUM1b3VwN3hlYlFXZmRSQTUiLCJtYWMiOiJhNTFjNTY4ZTM4OTk5N2YyOWQ4YTcyYjUwNzBhOWRjNmU2OGM2NmVkZDFlNWQ1YzFmY2Q5NDFjYWY5MDgxYmJjIiwidGFnIjoiIn0%3D; expires=Tue, 22-Apr-2025 18:28:53 GMT; path=/XSRF-TOKEN=eyJpdiI6IjYrNGYxOThEalNrNGNNdUxESWN2MkE9PSIsInZhbHVlIjoibitVcVc2UlpFTjlKT1Q3VGU3elM3V05uYVZVdEtyYVhsQjdQU3p6T3BhSE5XKytwN2RuV0M3NGYvbyt3NWN0eHp3c1R0N" 1 => "thestandardmediagroup_session=eyJpdiI6IlFDeEpVVldkeG1UZ1J0d2E2VHNybmc9PSIsInZhbHVlIjoiQk5RZUQxYnVvcEZXNFd0SVdSaWRpNGhTc3VPTDQzOUVrUTd6cWFUSnJoOTdMZkxvbnNJLzlYQ1NuR2JMUWQ3OXRuUERIWFoydHdKUlo1SDdJNm9qSUNueXY5REgrdlZ3N0FCY3BNcysvZkV5SThFQkQ2cXJhOXA2LzZEZlkrdFgiLCJtYWMiOiJhNTdlMDM4Nzc3YTg5MGM2ZTIxYWFhNjRhYzc0ZjIzMmQ5Zjg2YTBkY2FkYmNjZmVmMTA4ZTc1NjM3ZTM2NjIwIiwidGFnIjoiIn0%3D; expires=Tue, 22-Apr-2025 18:28:53 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6IlFDeEpVVldkeG1UZ1J0d2E2VHNybmc9PSIsInZhbHVlIjoiQk5RZUQxYnVvcEZXNFd0SVdSaWRpNGhTc3VPTDQzOUVrUTd6cWFUSnJoOTdMZkxvbnNJLzlYQ1" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "Yiw97nqvr5QHbGfBPtFtavMpNVRcrytnWVIWOvBM" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/national/article/2001514238/why-kdf-will-still-be-back-on-the-streets-in-case-of-violent-protests" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-23 10:59:53GET/main-staging/national/article/2001514238/why-kdf-will-still-be-back-on-the-streets-in-case-of-violent-protests1138478