×

Regulator in new push to raise informal dairy sector standards

Silvia Alonso, Principal Scientist and Project Lead(L), Professor Appolinaire Djikeng, Director General of ILRI, (C) and Margaret Kibogy, Managing Director, Kenya Dairy Board (R) at the launch of More Milk: more milk for lives and livelihoods in Nairobi. [Nanjinia Wamuswa, Standard]

Kenya’s informal dairy sector accounts for nearly three-quarters of the country’s milk supply, playing a critical role in the economy and providing nutrition to millions of households affordably.

Despite its importance, the sector faces significant challenges, including limited support and the inability to adhere to best milk handling practices and regulatory requirements.

It also struggles to maintain consistent product quality and safety.

However, the sector is set to undergo a major transformation with the launch of the MoreMilk: More Milk for Lives and Livelihoods in Kenya Project.

The initiative is a collaborative effort between the Kenya Dairy Board (KDB) and the International Livestock Research Institute (ILRI). The four-year initiative focuses on improved milk safety standards, increased regulatory compliance and greater participation of informal businesses in regulated markets.

It will also empower consumers by increasing demand for safer, high-quality milk and strengthen gender equity by fostering collaboration between men and women in the informal sector.

Data shows 70 per cent of the dairy sector in Kenya is informal and includes small-scale dairy farmers, informal traders and vendors, who sell unpackaged milk directly to consumers. Women make up 50 per cent of the workforce in the sector.

Speaking at the project’s launch recently, KDB Managing Director Margaret Kibogy explained the Kenyan dairy industry is a vital economic activity, contributing to food security, income generation, employment creation and poverty reduction in our country.

Over the past few years, said Ms Kibogy, the board has made significant efforts to transition the dairy industry from smallholder subsistence to a market-oriented model.

“This transformation has spurred increased investment in processing capacity, expanded chilling infrastructure to 2.6 billion litres per day and driven production growth from 3.9 billion litres in 2019 to the current 4.6 billion litres,” she said.

Kenya is among the top producers in the continent, with an annual production of 4.6 billion litres of milk valued at over Sh230 billion and a per capita consumption of 86.1 litres as of 2023.

The scheme aims to support the gradual transition of informal sector businesses into certified enterprises that provide safe and quality products.

Targeting small-scale dairy businesses in Nakuru, Nyandarua and Uasin Gishu counties, the initiative will address current challenges by improving milk handling practices and ensuring regulatory compliance while empowering vendors to thrive and enhancing consumer trust.

KDB, mandated to regulate and promote Kenya’s dairy sector, has made efforts to address these challenges.

In 2021, the board revised its dairy regulations to align with modern technology and market demands, simplifying and automating permit processes and replacing the KDB licence with a cost-free, compliance-based permit for small and medium dairy business operators.

These changes have significantly reduced barriers for small businesses to participate in the formal economy, paving the way for more inclusive and safer dairy markets.

Building on these regulatory advancements and the successes of the project’s first phase, which demonstrated that vendors can improve milk handling practises with the right support and capacity building, the project aims to support informal dairy vendors to improve the quality and safety of milk sold in the semi-regulated markets.

State Department of Livestock Development Secretary Administration Dr Joshua Chepchieng said the initiative aligns with Kenya’s Bottom-Up Economic Transformation Agenda, which identifies dairy as a priority value chain for development.

By focusing on the three counties, the project intends to create a business case that demonstrates the feasibility of scaling up to support the government’s objective of increasing milk sales through regulated markets from less than 20 per cent to 50 per cent.

“Our long-term vision is to have a formalised dairy sector in Kenya that provides safe milk and contributes to nutrition security, health, and economic growth. This initiative is an essential step towards achieving this vision,” explained Dr Chepchieng.

KDB boss, Ms Kibogy, said food safety and milk quality concerns are mainly associated with poor handling practices, inadequate food safety knowledge, and inadequate access to clean water and appropriate equipment.

This threatens consumer’s health and hinders growth in the industry.

She explained: “Through capacity building, incentives for change and fostering an enabling environment, we are committed to supporting small and medium dairy enterprises. We believe that providing the necessary training, technology, and access to resources can uplift the entire dairy sector, ensuring healthier and safer milk for all Kenyans.”

ILRI Director General Appolinaire Djikeng said the collaboration with KDB is crucial to the success of this project.

“The partnership is pivotal in transforming Kenya’s informal dairy sector. By combining research and regulatory expertise, we are improving milk safety, enhancing livelihoods, and driving national food security and public health progress. Together, we are building a professionalized, sustainable industry that benefits millions,” said Mr Djikeng.

“Building on the success of the original MoreMilk project, and continuing to be grounded on sound research, this initiative aims to create a sustainable model that not only supports small businesses but also protects the health and well-being of Kenyan families,” added ILRI Principal Scientist and Project Lead Silvia Alonso.

The initiative is funded by ILRI, the Gates Foundation and the UK Foreign Commonwealth and Development Office (FCDO). 

Request history8.1.26PHP Version1.32sRequest Duration3MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (12.51ms)time
    • Application (1.31s)time
    • 1 x Application (99.05%)
      1.31s
      1 x Booting (0.95%)
      12.51ms
      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
      36 statements were executed (11 duplicates)Show only duplicates575ms
      • 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.93msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001510758' and `published_at` <= '2025-04-06 09:23:07' and `deleted_at` is null
        Bindings
        • 0: 2001510758
        • 1: 2025-04-06 09:23:07
        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_main880μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-04-06'
        Bindings
        • 0: 2025-04-06
        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_main1.2msselect `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` = 2001510758 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001510758
        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_main810μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 369 or `parent_id` = 369 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 369
        • 2: 369
        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_main9.35msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (369) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-04-06 09:23:07' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 369
        • 1: 1
        • 2: 2025-04-06 09:23:07
        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_main730μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (369)
        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_main660μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 369
        Bindings
        • 0: 369
        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_main650μ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_main3.23msselect `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.74msselect `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.06msselect `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_main105msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Dairy Farming\",\"Milk Production\",\"Kenya Dairy Board (KDB)\",\"Foreign Commonwealth and Development Office\"]%') and `site_id` = 1 and `published_at` <= '2025-04-06 09:23:07' and `deleted_at` is null and `id` not in ('2001510758') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Dairy Farming","Milk Production","Kenya Dairy Board (KDB)","Foreign Commonwealth and Development Office"]%
        • 1: 1
        • 2: 2025-04-06 09:23:07
        • 3: 2001510758
        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_main109msselect `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-04-06 09:23:08' and `published_at` >= '2025-04-06 08:23:08' 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-04-06 09:23:08
        • 4: 2025-04-06 08:23:08
        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.04msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7)
        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.18msselect `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.67msselect `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-04-06 09:23:08' 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-04-06 09:23:08
        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_main740μ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_main94.27msselect `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-04-06 09:23:08' 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-04-06 09:23:08
        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_main950μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3)
        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_main37.99msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001510758' and `site_id` = 1 and `published_at` <= '2025-04-06 09:23:08' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001510758
        • 1: 1
        • 2: 2025-04-06 09:23:08
        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_main940μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (17)
        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_main4.01msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001510758' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-04-06 09:23:08' limit 1
        Bindings
        • 0: 2001510758
        • 1: 1
        • 2: 2025-04-06 09:23:08
        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_main680μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7)
        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_main1.83msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-04-06 09:23:08' and `article_category_id` = 369 and `site_id` = 1 and `id` not in ('2001510758') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-04-06 09:23:08
        • 1: 369
        • 2: 1
        • 3: 2001510758
        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_main1msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (369)
        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_main20.98msselect `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 '%[\"Dairy Farming\",\"Milk Production\",\"Kenya Dairy Board (KDB)\",\"Foreign Commonwealth and Development Office\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Dairy Farming","Milk Production","Kenya Dairy Board (KDB)","Foreign Commonwealth and Development Office"]%
        • 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_main910μ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.65msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001249065, 2001515682, 2001515675, 2001515672, 2001515677, 2001515600, 2001515676, 2001515609, 2001515602, 2001515669, 2000198221, 2001453127, 2001515673, 2001515636, 2001515656, 2001515674, 2001515663, 2001515607, 2000154817, 2001515632) and `deleted_at` is null and `published_at` <= '2025-04-06 09:23:08' 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: 2001515682
        • 2: 2001515675
        • 3: 2001515672
        • 4: 2001515677
        • 5: 2001515600
        • 6: 2001515676
        • 7: 2001515609
        • 8: 2001515602
        • 9: 2001515669
        • 10: 2000198221
        • 11: 2001453127
        • 12: 2001515673
        • 13: 2001515636
        • 14: 2001515656
        • 15: 2001515674
        • 16: 2001515663
        • 17: 2001515607
        • 18: 2000154817
        • 19: 2001515632
        • 20: 2025-04-06 09:23:08
        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_main700μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 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_main740μ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.24msselect * from article_categories where id = '369'
        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_main890μsselect * from article_categories where id = '369'
        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_main940μsselect * from article_categories where id = '369'
        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 = '369'
        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_main158msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-04-06 09:23:09' and (`keywords` like '%Dairy Farming%' or `keywords` like '%Milk Production%' or `keywords` like '%Kenya Dairy Board (KDB)%' or `keywords` like '%Foreign Commonwealth and Development Office%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001510758' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-04-06 09:23:09
        • 1: %Dairy Farming%
        • 2: %Milk Production%
        • 3: %Kenya Dairy Board (KDB)%
        • 4: %Foreign Commonwealth and Development Office%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001510758
        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_main960μ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
      376Category.php#?
      App\Models\Article
      36Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          CabrRCRNakSzp8TbrL8py5EA4irEcmWsylbwADS4
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/smart-harvest/article/2001510758/r...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          offset
          0
          path_info
          /smart-harvest/article/2001510758/regulator-in-new-push-to-raise-informal-dairy-sector-standards
          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 => "92bf31c41ef3fa11-EWR" ] "x-forwarded-for" => array:1 [ 0 => "52.14.233.132" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "52.14.233.132" ] "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=eyJpdiI6Ii9zejRoclVHemVMVWZnQmtBN3BhWHc9PSIsInZhbHVlIjoiNUFOZTVXT0R1ZHRidmlGNGUwanlFM1RIaXprcWtUR2JWb0Z3RUQ4blRPUG1MNGFocTNGTmY1Ti80SG5Sa3JZSERNbmxZdUdBUUxxbGE3aWtINmpwZG40Q3dZd1FydkhRRjdaZlBNdk1MbVJYd3VRWXBsWHhmMlRjbHJGeEpNM0IiLCJtYWMiOiI2MjlmYmY1MzVhMzIwNzcyMTEyOTIyMmJjNDU5ZjE2OTk2YmYxMzU3Mjg0ZGNmNTBjNzhjYWFhZDk1OTgyYWVhIiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6IlhTSEpTbExFVHRPS2hUSnlKV3pzMEE9PSIsInZhbHVlIjoiS2N6SHpMYmdwdjNuU3ovWnNtZkgvaDNRci9lSE84cVN3YTJWL2k5MzFDMGxNRGozTDRlMFhWTnd6cHdleEVvTkdPczl0NEFiYXBYUkRkTHo4enJxaDhBVmFWU05md0NLQk5sdDJISVRPd29tU3NtdTN3RWVPVTkzRG1ZSVpKM04iLCJtYWMiOiJiNTVkY2E3NTM2MjJlY2FiNTNhZWZiMDBhMWE0ZDFhZDIwZThkYWQ5ODQ3YTU2NGE0OTE0YmZiNjg0YzdmMjA4IiwidGFnIjoiIn0%3D; story_no=eyJpdiI6Im1DMUdySFFRZEYrUEJseHhYR0lxQ2c9PSIsInZhbHVlIjoiMjZvTStvY2xsYUhONFZSdlNBUVRla2NIY2h4SnpOL0I2TW9xazNCN0R3MXlFK2s5NlFBSlFleXBwL2E3czdzUyIsIm1hYyI6IjdiNDM4ZDg3YTI1MWRiY2M5M2Y0OWJkNzA5YWY3Y2NkOWY2NTc1NGM1YTQ4ZGZkZmY2MDQzYmU1OWFiYzU0MjIiLCJ0YWciOiIifQ%3D%3D; story_no_insider=eyJpdiI6IjJ2ZXA5dE45ZDFiczdJbnVMa2h4Unc9PSIsInZhbHVlIjoiM2luMCtLdUhPa2hsN1lQTkZta3lxY3U2OGlrMTg0Q000Umd1S1RWbzMwbGhranJNdWxYZ2VucDQ1VW90RHpDcyIsIm1hYyI6ImY4M2RlZDgxYTI5OTg1MjliYTMxNGNjOTRiYTRiODJjMTA2OWI4Y2VmNzVhMjI5NjdhNDFlYWU3MjgzZTkyYjkiLCJ0YWciOiIifQ%3D%3DXSRF-TOKEN=eyJpdiI6Ii9zejRoclVHemVMVWZnQmtBN3BhWHc9PSIsInZhbHVlIjoiNUFOZTVXT0R1ZHRidmlGNGUwanlFM1RIaXprcWtUR2JWb0Z3RUQ4blRPUG1MNGFocTNGTmY1Ti80SG5Sa3JZSERNbmxZd" ] "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:4 [ "XSRF-TOKEN" => "CabrRCRNakSzp8TbrL8py5EA4irEcmWsylbwADS4" "thestandardmediagroup_session" => "HjMMrCIlD4EbdE0xTzhEZduTFUPkg8LkxAU0NsvD" "story_no" => "1" "story_no_insider" => "1" ]
          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, 06 Apr 2025 06:23:09 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IlErNndEVGdlQlpZUG1NYmQzcjVlZkE9PSIsInZhbHVlIjoiSEszbXBxUXd4TTYrMG9hMlAzZDd1Ykt5T0hzSTZqeGdTQ09kWVdlV2JoSnVhSU5wWmhFVHNMSWE5aVpJZ3RmYzZlSEI2ZjZmU3ZibFZPTHIvWHY3TjRxSTVSTE5CWjR4NkJFUFg0ZzJwK3ZNUkQxd1Y1cUpUMVNGRDFZbzFidkUiLCJtYWMiOiJmZWU4MzYyZjAwZmJiNWNkZTEzMjcxZjQwOTNhYTEzNjJkZTg0MTk5ZTg2Y2IxZDdlZGZiMWI3ZDI3ZmEyNTFlIiwidGFnIjoiIn0%3D; expires=Tue, 06 May 2025 16:52:09 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IlErNndEVGdlQlpZUG1NYmQzcjVlZkE9PSIsInZhbHVlIjoiSEszbXBxUXd4TTYrMG9hMlAzZDd1Ykt5T0hzSTZqeGdTQ09kWVdlV2JoSnVhSU5wWmhFVHNMSWE5aVpJZ3RmYzZlSEI2Z" 1 => "thestandardmediagroup_session=eyJpdiI6IitIUG1CT2tCUlI4UjJWdEUzd1R2RWc9PSIsInZhbHVlIjoiVlp6TzkvWGM5TnNCTEN6SmJIYkswaUZkMFBKQldGZkRULzFOcU92V3c5RjUxK2YwL1pDN3c2b0hrMkY3NEJqcExpcCtRaWhDaU1IWDN4eWRzQk5kYkIzRFltWGxpdm9JTjJMV25GY2h0SXdFTW9aY3drNDNSRWdPRDZ5R04xOFUiLCJtYWMiOiJkYmQ0Yjc5OWQ1NGFhNjBiZDM1MjFmZTlkNmQ1ODkzNTdmYTJkMmU3NzE4MTdhNmMwZDZiMmIzYTU2NjAzNmQwIiwidGFnIjoiIn0%3D; expires=Tue, 06 May 2025 16:52:09 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6IitIUG1CT2tCUlI4UjJWdEUzd1R2RWc9PSIsInZhbHVlIjoiVlp6TzkvWGM5TnNCTEN6SmJIYkswaUZkMFBKQldGZkRULzFOcU92V3c5RjUxK2YwL1pDN3c2b0" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IlErNndEVGdlQlpZUG1NYmQzcjVlZkE9PSIsInZhbHVlIjoiSEszbXBxUXd4TTYrMG9hMlAzZDd1Ykt5T0hzSTZqeGdTQ09kWVdlV2JoSnVhSU5wWmhFVHNMSWE5aVpJZ3RmYzZlSEI2ZjZmU3ZibFZPTHIvWHY3TjRxSTVSTE5CWjR4NkJFUFg0ZzJwK3ZNUkQxd1Y1cUpUMVNGRDFZbzFidkUiLCJtYWMiOiJmZWU4MzYyZjAwZmJiNWNkZTEzMjcxZjQwOTNhYTEzNjJkZTg0MTk5ZTg2Y2IxZDdlZGZiMWI3ZDI3ZmEyNTFlIiwidGFnIjoiIn0%3D; expires=Tue, 06-May-2025 16:52:09 GMT; path=/XSRF-TOKEN=eyJpdiI6IlErNndEVGdlQlpZUG1NYmQzcjVlZkE9PSIsInZhbHVlIjoiSEszbXBxUXd4TTYrMG9hMlAzZDd1Ykt5T0hzSTZqeGdTQ09kWVdlV2JoSnVhSU5wWmhFVHNMSWE5aVpJZ3RmYzZlSEI2Z" 1 => "thestandardmediagroup_session=eyJpdiI6IitIUG1CT2tCUlI4UjJWdEUzd1R2RWc9PSIsInZhbHVlIjoiVlp6TzkvWGM5TnNCTEN6SmJIYkswaUZkMFBKQldGZkRULzFOcU92V3c5RjUxK2YwL1pDN3c2b0hrMkY3NEJqcExpcCtRaWhDaU1IWDN4eWRzQk5kYkIzRFltWGxpdm9JTjJMV25GY2h0SXdFTW9aY3drNDNSRWdPRDZ5R04xOFUiLCJtYWMiOiJkYmQ0Yjc5OWQ1NGFhNjBiZDM1MjFmZTlkNmQ1ODkzNTdmYTJkMmU3NzE4MTdhNmMwZDZiMmIzYTU2NjAzNmQwIiwidGFnIjoiIn0%3D; expires=Tue, 06-May-2025 16:52:09 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6IitIUG1CT2tCUlI4UjJWdEUzd1R2RWc9PSIsInZhbHVlIjoiVlp6TzkvWGM5TnNCTEN6SmJIYkswaUZkMFBKQldGZkRULzFOcU92V3c5RjUxK2YwL1pDN3c2b0" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "CabrRCRNakSzp8TbrL8py5EA4irEcmWsylbwADS4" "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/smart-harvest/article/2001510758/regulator-in-new-push-to-raise-informal-dairy-sector-standards" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "offset" => 0 ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-06 09:23:09GET/main-staging/smart-harvest/article/2001510758/regulator-in-new-push-to-raise-informal-dairy-sector-standards1136462