×

Muturi's AG tenure: Legal blunders, ignored advice and bitter exit

Immediate former Public Service CS Justin Muturi and families of the abducted and missing persons at City Motuary, Nairobi, on January 31, 2025. [File, Standard]

The abduction of his son during last year’s youth-led revolt sent all of Justin Muturi’s pent-up frustrations gushing out.

Muturi, the immediate former Public Service Cabinet Secretary who is faulted for handing President Uhuru Kenyatta control of the National Assembly when he served as Speaker, is finding out that he can speak up. Much of it has been about his experience as Attorney General (AG), where he has repeatedly claimed his opinion mattered little.

To some, he might seem unafraid of facing his current boss, President William Ruto, almost goading the Head of State into sacking him. To others, he could pass off as eager to prop himself in the Mount Kenya region by attacking Ruto, currently unpopular in the area.

After months of soaking in Muturi’s jabs over wanton abductions and corruption in his administration, Ruto fired back.

“I had a problem with the AG (Attorney-General) who was there (Muturi). He was very incompetent. I now have a very competent lady – the issue of Waqf will be sorted out after six months,” the President said at the State House Tuesday evening when he hosted a host of Muslim faithful for an Iftar dinner. He was referring to setting up a foundation for the Muslim community, Waqf.

Muturi responded in kind on X yesterday morning, saying: “Under the Waqf Act no.8 of 2022 there’s no provision for a “Muslim Endowment Fund”. It must be understood that a Waqf is a religious, charitable or benevolent endowment by a person who professes Muslim faith and is managed by the Waqf Commission.”

Muturi was sacked as Attorney-General last July when Ruto dismissed his entire Cabinet except Prime Cabinet Secretary Musalia Mudavadi, following weeks of deadly youth-led protests over proposals to hike taxes.

Ruto said he had used Section 12 of the Attorney General’s Act to dismiss Muturi, a decision guided by “a holistic appraisal” of his cabinet and “its achievements and challenges.”

The said section reads: “The President may remove the Attorney-General or the Solicitor-General from office only for serious violation of the Constitution or any other law; gross misconduct, whether in the performance of their functions or otherwise; physical or mental incapacity to perform the functions of office; incompetence; or bankruptcy.”

As Muturi fought off claims that he was incompetent, an exit scorecard of his stint at the State Law Office circulated online, ostensibly released by his team.

It highlights Muturi’s achievements, which include reportedly saving the government some Sh17.5 billion by concluding some 1,588 civil suits. The scorecard states Muturi’s office won 1,503 cases.

Other achievements include issuing more than 700 advisories on bilateral, regional and international law matters and 225 others on international judicial cooperation in criminal matters “within six working days.” “The Office represented the Government in five (5) ongoing International Arbitration matters seeking to defend the Government against liabilities in excess of Sh632 billion,” the scorecard states in part, also highlighting more than 500 advisories issued to ministries and departments.

Muturi’s tenure as Attorney-General has always been under scrutiny, especially amid glaring legal blunders by Ruto’s administration, which has suffered setbacks in court over controversial programmes.

Some of this includes an initial attempt to impose the Housing Levy, which the High Court declared illegal in November 2023 before a law change enforced it. High Court stopped the deployment of police officers to gang-ravaged Haiti.

Justice Chacha Mwita found that the National Security Council lacked the mandate to deploy police officers outside the country unless in defence of the country during an emergency. Other cases he has lost include the attempt to hire Chief Administration Secretaries. More recently, the President’s Kenya Kwanza Alliance lost its claim as the majority party at the National Assembly.

In previous interviews, Muturi has said he was mostly slighted as Attorney-General and subordinates handed his duties.

“Once the AG has given the advisory, it is up to the advisee to implement the advisory. If they choose not to, then other organs of State oversight, like the auditor general and others, will come to deal with the issue… As Attorney-General, you cannot give advice and then start following up – to go and find out, why haven’t you followed this?” Muturi posed during a recent interview on Citizen TV.

Former Law Society of Kenya president Nelson Havi does not buy Muturi’s lamentations, saying he agrees with Ruto that “Muturi is the most incompetent AG we have had in history.” “His performance was deplorable for several reasons, and the blame falls squarely on Ruto. Muturi has never practised as an advocate; in fact, he was never admitted as an advocate of the High Court… How did we end up with someone like that as AG?” Havi posed.

The lawyer said Muturi ought to have advised the government “openly, confidently and firmly” and argued that some incidents such as last June’s storming of Parliament by youthful protesters could have been avoided by sound counsel.

While Muturi headed the State Law Office, there had been reports of alleged wrangles between him and Solicitor General Shadrack Mose.

His predecessor, Kihara Kariuki, also attracted concerns of competence during former President Uhuru Kenyatta’s tenure. Uhuru’s Jubilee administration suffered losses in courts owing to unconstitutional policies. When Muigai resigned in 2018, there were reports that his decision was informed by supremacy wars between himself and then-Solicitor General Njee Muturi.

Ben Sihanya, a professor of law, argued Muturi struggled with balancing “politics and technical legal operations.” ”Some people said there were issues around the efficiency and coordination of the office when he was in charge... and some of these things followed him from when he was a partisan speaker. Politics is not always a bad thing but the challenge is always to balance it with legal issues,” said Prof Sihanya. 

Request history8.1.26PHP Version1.49sRequest Duration3MBMemory UsageGET article/{id}/{slug}Route
    • Booting (10.94ms)time
    • Application (1.48s)time
    • 1 x Application (99.27%)
      1.48s
      1 x Booting (0.73%)
      10.94ms
      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 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 (11 duplicates)Show only duplicatesstandard_digital_mainstandard_digital_world753ms
      • 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_main3.58msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001514788' and `published_at` <= '2025-03-30 02:41:33' and `deleted_at` is null
        Bindings
        • 0: 2001514788
        • 1: 2025-03-30 02:41:33
        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_main900μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-03-30'
        Bindings
        • 0: 2025-03-30
        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_main720μ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` = 2001514788 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001514788
        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_main740μ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_main96.48msselect `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-30 02:41:33' 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-30 02:41:33
        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_main840μsselect `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_main910μ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_main670μ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.41msselect `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_main6.75msselect `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.2msselect `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_main140msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Public Service CS Justin Muturi\",\"President William Ruto\",\"Abductions\",\"Attorney General\"]%') and `site_id` = 1 and `published_at` <= '2025-03-30 02:41:33' and `deleted_at` is null and `id` not in ('2001514788') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Public Service CS Justin Muturi","President William Ruto","Abductions","Attorney General"]%
        • 1: 1
        • 2: 2025-03-30 02:41:33
        • 3: 2001514788
        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_main107msselect `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-30 02:41:33' and `published_at` >= '2025-03-30 01:41:33' 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-30 02:41:33
        • 4: 2025-03-30 01:41:33
        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_main890μsselect `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.59msselect `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-30 02:41:34' 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-30 02:41:34
        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_main840μ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#753standard_digital_main75.1msselect `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-30 02:41:34' 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-30 02:41:34
        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_main640μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 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_main2.79msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001514788' and `site_id` = 1 and `published_at` <= '2025-03-30 02:41:34' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001514788
        • 1: 1
        • 2: 2025-03-30 02:41:34
        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_main710μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7)
        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.06msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001514788' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-30 02:41:34' limit 1
        Bindings
        • 0: 2001514788
        • 1: 1
        • 2: 2025-03-30 02:41:34
        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_main620μ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_main23.74msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-30 02:41:34' and `article_category_id` = 588 and `site_id` = 1 and `id` not in ('2001514788') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-30 02:41:34
        • 1: 588
        • 2: 1
        • 3: 2001514788
        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_main830μ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_main34.83msselect `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 '%[\"Public Service CS Justin Muturi\",\"President William Ruto\",\"Abductions\",\"Attorney General\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Public Service CS Justin Muturi","President William Ruto","Abductions","Attorney General"]%
        • 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_main1.01msselect 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.43msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001249065, 2001515031, 2001515027, 2001514957, 2001514956, 2000198221, 2001514954, 2001515029, 2001515046, 2001514960, 2001514967, 2001434504, 2001515025, 2001515026, 2001500596, 2000195645, 2001514916, 2001514799, 2001514622, 2000182550) and `deleted_at` is null and `published_at` <= '2025-03-30 02:41:34' 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: 2001515031
        • 2: 2001515027
        • 3: 2001514957
        • 4: 2001514956
        • 5: 2000198221
        • 6: 2001514954
        • 7: 2001515029
        • 8: 2001515046
        • 9: 2001514960
        • 10: 2001514967
        • 11: 2001434504
        • 12: 2001515025
        • 13: 2001515026
        • 14: 2001500596
        • 15: 2000195645
        • 16: 2001514916
        • 17: 2001514799
        • 18: 2001514622
        • 19: 2000182550
        • 20: 2025-03-30 02:41:34
        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_main920μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7, 174, 273, 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
      • Builder.php#20standard_digital_main1.23msselect `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` in (2001514960, 2001515025, 2001515026, 2001515029, 2001515031) and `authors`.`deleted_at` is null
        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
      • CookieTool.php#185standard_digital_main780μ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_main930μ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_main740μ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_main750μ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_main650μ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_main227msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-30 02:41:34' and (`keywords` like '%Public Service CS Justin Muturi%' or `keywords` like '%President William Ruto%' or `keywords` like '%Abductions%' or `keywords` like '%Attorney General%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001514788' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-30 02:41:34
        • 1: %Public Service CS Justin Muturi%
        • 2: %President William Ruto%
        • 3: %Abductions%
        • 4: %Attorney General%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001514788
        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
      • Articles.php#1394standard_digital_worldConnection Established
        Backtrace
        • app/Utils/Articles.php:1394
        • app/Utils/Articles.php:1354
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Utils/Articles.php:1355
      • Articles.php#1399standard_digital_world6.85msselect * from `leads` where date(`created_at`) <= '2025-03-30' order by `date_paid` desc, `pay_count` desc limit 1 offset 2
        Bindings
        • 0: 2025-03-30
        Backtrace
        • app/Utils/Articles.php:1399
        • app/Utils/Articles.php:1354
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Utils/Articles.php:1355
      • Articles.php#1415standard_digital_main1.26msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-30 02:41:35' and `id` = '2001514985'
        Bindings
        • 0: 2025-03-30 02:41:35
        • 1: 2001514985
        Backtrace
        • app/Utils/Articles.php:1415
        • app/Utils/Articles.php:1354
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Utils/Articles.php:1355
      • app.blade.php#825standard_digital_main1.18msselect * 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
      380Category.php#?
      App\Models\Article
      36Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
      App\Models\Lead
      1Lead.php#?
          _token
          qdyLwP29OiaPpgA3EDcqZrGYtDtNUVF5T167dMPm
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001514788/muturis-ag-tenu...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /article/2001514788/muturis-ag-tenure-legal-blunders-ignored-advice-and-bitter-exit
          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 => "928337fd7aea125b-EWR" ] "x-forwarded-for" => array:1 [ 0 => "18.221.190.79" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "18.221.190.79" ] "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 => "XSRF-TOKEN=eyJpdiI6IlNkck54ekYvMEhwd1Nlamp4clA0c3c9PSIsInZhbHVlIjoiUnBUVVZ0SzVrY3crR3gyaTZ4WnZwQlRoTUU4MVV0NlJuOHI3YVJObzYzU3FRTDNJOGRHL0VJczN3UXE3dlNyNFpYS1I4NHlIYnVmU2pRd0xmeHc3R3AwbTZyOG9ZMkIzZlBkZ0txbys3d3lyR1IvQmJGZWc5dkUwR2pEOHJzU04iLCJtYWMiOiI2Yjk3MWVmOGE1YjJjMDZlOGJiMWU4MjQxMTQ4ZGFlNmNlZjA2YWMwODYwMWU2MDA4ZjNlOTA5NTU0MzlkMTIzIiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6Im85UmhmbGo3NWptMmtNTGRRYVV2cHc9PSIsInZhbHVlIjoidUlCUFVDWjZhRnF3YzRJZlQvam9EMWh2aFFNRHdzbEw4cFo2TXNxOUxaa0pqMHM5M3cvRmRORlBSbDlRQmVCM2EwaTUvUWI1V0h5MUEvYlc0dzF4NEpEMlZxYnJab1UzL0t2QkNGeE56NFk3WFdjeEh3VEllYmVIbi9udmQzejciLCJtYWMiOiJmNDA2ZjY1MDAwZGQ2OGUyYzE2NzNhMGIzNGQyMzEwNWNhMjgyYzU5YWZkMTkwNjM1OWI5MTE4NDc3NjdiOGFkIiwidGFnIjoiIn0%3D; _ga=amp-iVCm3ffU3YgV9X8Y59wbOwXSRF-TOKEN=eyJpdiI6IlNkck54ekYvMEhwd1Nlamp4clA0c3c9PSIsInZhbHVlIjoiUnBUVVZ0SzVrY3crR3gyaTZ4WnZwQlRoTUU4MVV0NlJuOHI3YVJObzYzU3FRTDNJOGRHL0VJczN3UXE3dlNyNFpYS1I4N" ] "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:3 [ "XSRF-TOKEN" => "qdyLwP29OiaPpgA3EDcqZrGYtDtNUVF5T167dMPm" "thestandardmediagroup_session" => "EPylXiOfdjo3dAcCLpvlVcAw44NC9mKmzFdXXcpd" "_ga" => 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 => "Sat, 29 Mar 2025 23:41:34 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IldtdjBhdFBtbFR2N2lScENWUnl4amc9PSIsInZhbHVlIjoiaURhMjYzZkZmUEVnZmNBb1lVNitvNHozOE1mQjVLVEk4R1ZKVktZeDBoRHlBbnlOSWRvQUtFM2tNWUJXVWFxNTlWNDR6cGpmdEMra3BoNG1QcWlxdmxZbTNlYWZSQTZ3cW5GeFppdUNvRzdEYUZZbDNrL3lwWlJhWXkrS2M4eTMiLCJtYWMiOiI3YzFlOWRiNzZhOGQ2NjZiNWIwZjNhMzlmZWU3ZDZlZGZhN2YyYTNjNjRhMzczZWM4NWI0YmFjZDk4YTU0ZjkwIiwidGFnIjoiIn0%3D; expires=Tue, 29 Apr 2025 10:10:35 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IldtdjBhdFBtbFR2N2lScENWUnl4amc9PSIsInZhbHVlIjoiaURhMjYzZkZmUEVnZmNBb1lVNitvNHozOE1mQjVLVEk4R1ZKVktZeDBoRHlBbnlOSWRvQUtFM2tNWUJXVWFxNTlWNDR6c" 1 => "thestandardmediagroup_session=eyJpdiI6ImszTnlOcWEvY1JwYzEyY1FjZUhONEE9PSIsInZhbHVlIjoiODJPQUNxeVJuQTFtcFM1TnNFVHlzSENkY2lVOW1wWDhHbVZpaTRZaXFEWnBPcGlDNXJhb1pkbU9odkVBU3RZRmk1RU16bzExbGE1RFBKRlVINFBQSHFtUE9jVjBRTXg2RmE4cWtNcnZLWWNzQlFBT3lHRGV0SThldEw5Lyt6UWQiLCJtYWMiOiI2YjI5N2Y0MTUyMDAyOTNkOGZlNGVkNjMzOWYyMDI2OGJhMGQ3MTIyODI1MTY4OWJiMTgxMmQ3MDBkYzE4NzFlIiwidGFnIjoiIn0%3D; expires=Tue, 29 Apr 2025 10:10:35 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6ImszTnlOcWEvY1JwYzEyY1FjZUhONEE9PSIsInZhbHVlIjoiODJPQUNxeVJuQTFtcFM1TnNFVHlzSENkY2lVOW1wWDhHbVZpaTRZaXFEWnBPcGlDNXJhb1pkbU" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IldtdjBhdFBtbFR2N2lScENWUnl4amc9PSIsInZhbHVlIjoiaURhMjYzZkZmUEVnZmNBb1lVNitvNHozOE1mQjVLVEk4R1ZKVktZeDBoRHlBbnlOSWRvQUtFM2tNWUJXVWFxNTlWNDR6cGpmdEMra3BoNG1QcWlxdmxZbTNlYWZSQTZ3cW5GeFppdUNvRzdEYUZZbDNrL3lwWlJhWXkrS2M4eTMiLCJtYWMiOiI3YzFlOWRiNzZhOGQ2NjZiNWIwZjNhMzlmZWU3ZDZlZGZhN2YyYTNjNjRhMzczZWM4NWI0YmFjZDk4YTU0ZjkwIiwidGFnIjoiIn0%3D; expires=Tue, 29-Apr-2025 10:10:35 GMT; path=/XSRF-TOKEN=eyJpdiI6IldtdjBhdFBtbFR2N2lScENWUnl4amc9PSIsInZhbHVlIjoiaURhMjYzZkZmUEVnZmNBb1lVNitvNHozOE1mQjVLVEk4R1ZKVktZeDBoRHlBbnlOSWRvQUtFM2tNWUJXVWFxNTlWNDR6c" 1 => "thestandardmediagroup_session=eyJpdiI6ImszTnlOcWEvY1JwYzEyY1FjZUhONEE9PSIsInZhbHVlIjoiODJPQUNxeVJuQTFtcFM1TnNFVHlzSENkY2lVOW1wWDhHbVZpaTRZaXFEWnBPcGlDNXJhb1pkbU9odkVBU3RZRmk1RU16bzExbGE1RFBKRlVINFBQSHFtUE9jVjBRTXg2RmE4cWtNcnZLWWNzQlFBT3lHRGV0SThldEw5Lyt6UWQiLCJtYWMiOiI2YjI5N2Y0MTUyMDAyOTNkOGZlNGVkNjMzOWYyMDI2OGJhMGQ3MTIyODI1MTY4OWJiMTgxMmQ3MDBkYzE4NzFlIiwidGFnIjoiIn0%3D; expires=Tue, 29-Apr-2025 10:10:35 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6ImszTnlOcWEvY1JwYzEyY1FjZUhONEE9PSIsInZhbHVlIjoiODJPQUNxeVJuQTFtcFM1TnNFVHlzSENkY2lVOW1wWDhHbVZpaTRZaXFEWnBPcGlDNXJhb1pkbU" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "qdyLwP29OiaPpgA3EDcqZrGYtDtNUVF5T167dMPm" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001514788/muturis-ag-tenure-legal-blunders-ignored-advice-and-bitter-exit" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-30 02:41:35GET/main-staging/article/2001514788/muturis-ag-tenure-legal-blunders-ignored-advice-and-bitter-exit1138467