×

Doc help! Pig feeds is eating into my profits

Pigs feeding

Dear Njoroge,

First, thank you for being an ardent reader of Smart Harvest. I am sure many other pig farmers are going through the feeding challenge you have highlighted. 

In pig-rearing, feeding gobbles 80 per cent of the recurrent budget.

Pig-rearing systems can be broadly classified into two — intensive or semi-intensive.

Intensive system involves keeping pigs indoors and feeding them on high qualitycommercial feeds to quickly attain market weight.

Semi-intensive or free range involves keeping pigs outdoors; most of them left to feed mainly on pasture with a little bit supplementation with swill.

The free range system is the most practised by Kenyan farmers as a means of avoiding or minimising feeding costs.

CAUTION ON PASTURES

Pigs unlike cows are monogastrics (have one stomach) which means they have a limited ability to utilise fibrous feeds as compared to ruminants. Some farmers feed pigs like they are ruminants. Pigs need fibre in their diet but it shouldn’t go over 10 per cent of the total daily intake.

A serious pig farmer should plan well on how to feed their pigs. There are strategies that you can apply to minimise feed costs; having your own formulations instead of the commercial swine feeds which can be costly.

DIFFERENT NUTRITIONAL REQUIREMENTS

Piglets, weaners, growers, finishers, sows and lactating sows have different energy requirements. The daily intake is a factor of the current growth stage of the pig, physiological status and environmental conditions and is calculated relative to the body weight or age.

For example, by four months, pig’s daily intake will be around four kilogrammes per day.

If you intend to do home formulations; ensure they contain energy foods, proteins, fats and oils, minerals and vitamins. Water should be made available at all times. These nutritional requirements can be met by locally and cheaply available foods.  For example, maize, sorghum, wheat and cassava provide good sources of energy.

When using cassava, it must be dried properly as raw one has an anti-nutritional factor. Brewers’ dry grains is a by-product of brewery industry; soybean, groundnuts and fish meal are good source of protein and fibre but should also be dried before incorporation into the formulation.

Oyster shell, fish and bone meal are good sources of calcium and phosphorus which are needed for a strong skeletal system. Fresh vegetables offer a cheap source of vitamins.

WHOLE GRAIN FEEDS A WASTE

I have seen farmers feed their pigs like they are poultry – on whole grains. If you have been doing this, check the pig’s faecal waste and if you see seeds scattered therein, know that you are making a loss -- that is a cost you can save on. Pig’s stomach isn’t well-equipped to digest grains. But they still need grains as they are rich in proteins, oils and fat.

So what to do? A little processing of the grains will make them digestible and this can be done through grinding, boiling or soaking.

SWEET POTATO SILAGE

Sweet potato vines silage is currently being used by pig farmers the world over as a feeds cost saving approach. It is nutritionally beneficial and filing.

Fresh sweet potato vines have an enzyme that their digestibility; fermentation process during silage-making inactivates this enzyme and makes the silage palatable to the swine.

The silage is prepared by chopping the vines together with the sweet potato tubers mixed with molasses and storing in a water tight container for at least three weeks.

After this, the silage is ready to be fed to pigs. Supplementing commercial feeds with sweet potato vines silage ensures the pig attains good market weight.

SWILL AND CARCASSES

Swill is the remnants collected from eating places. Though common with pig farmers, it is full of risks and it doesn’t give a nutritionally balanced diet.

 

Request history8.1.26PHP Version1.24sRequest Duration6MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (11.31ms)time
    • Application (1.22s)time
    • 1 x Application (99.08%)
      1.22s
      1 x Booting (0.91%)
      11.31ms
      10 templates were rendered
      • 1x mainsite.articlearticle.blade.php#?blade
      • 1x mainsite.partials.topsectionsubscribetopsectionsubscribe.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
      • 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_main4.09msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001280911' and `published_at` <= '2025-03-18 00:29:35' and `deleted_at` is null
        Bindings
        • 0: 2001280911
        • 1: 2025-03-18 00:29:35
        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-18'
        Bindings
        • 0: 2025-03-18
        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
      • Articles.php#528standard_digital_worldConnection Established
        Backtrace
        • app/Utils/Articles.php:528
        • app/Http/Controllers/MainsiteController.php:665
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:666
      • Articles.php#531standard_digital_world3.7msselect `id`, `categoryid`, `title`, `long_title`, `story`, `related_video`, `thumbURL`, `keywords`, `publishday`, `updateddate`, `publishdate`, `author`, `source`, `premium`, `summary` from `std_article` where `id` = '2001280911' and `publishdate` <= '2025-03-18 00:29:35' and `inactive` is null
        Bindings
        • 0: 2001280911
        • 1: 2025-03-18 00:29:35
        Backtrace
        • app/Utils/Articles.php:531
        • app/Http/Controllers/MainsiteController.php:665
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:666
      • Articles.php#535standard_digital_world_archives_1Connection Established
        Backtrace
        • app/Utils/Articles.php:535
        • app/Http/Controllers/MainsiteController.php:665
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:666
      • Articles.php#538standard_digital_world_archives_13.96msselect `id`, `categoryid`, `title`, `long_title`, `story`, `related_video`, `thumbURL`, `keywords`, `publishday`, `updateddate`, `publishdate`, `author`, `source`, `premium`, `summary` from `std_article` where `id` = '2001280911' and `publishdate` <= '2025-03-18 00:29:35' and `inactive` is null
        Bindings
        • 0: 2001280911
        • 1: 2025-03-18 00:29:35
        Backtrace
        • app/Utils/Articles.php:538
        • app/Http/Controllers/MainsiteController.php:665
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:666
      • Articles.php#147standard_digital_main960μ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_main1.07msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where 0 = 1 and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-18 00:29:35' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 1
        • 1: 2025-03-18 00:29:35
        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_main730μ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_main790μ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.55msselect `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.81msselect `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.25msselect `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_main120msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Pig\",\"feeds\",\"profits\"]%') and `site_id` = 1 and `published_at` <= '2025-03-18 00:29:35' and `deleted_at` is null and `id` not in ('2001280911') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Pig","feeds","profits"]%
        • 1: 1
        • 2: 2025-03-18 00:29:35
        • 3: 2001280911
        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_main104msselect `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-18 00:29:35' and `published_at` >= '2025-03-17 23:29:35' 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-18 00:29:35
        • 4: 2025-03-17 23:29:35
        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_main790μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (22, 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.68msselect `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-18 00:29:36' 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-18 00:29:36
        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_main650μ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_main95.11msselect `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-18 00:29:36' 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-18 00:29:36
        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_main730μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (22, 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_main890μsselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001280911' and `site_id` = 1 and `published_at` <= '2025-03-18 00:29:36' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001280911
        • 1: 1
        • 2: 2025-03-18 00:29:36
        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#833standard_digital_main1.1msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001280911' and `site_id` = 1 and `published_at` <= '2025-03-18 00:29:36' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001280911
        • 1: 1
        • 2: 2025-03-18 00:29:36
        Backtrace
        • app/Utils/Articles.php:833
        • 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#847standard_digital_main960μsselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `deleted_at` is null and `published_at` <= '2025-03-18 00:29:36' and `site_id` = 1 and `id` < '2001280911' order by `id` desc limit 1
        Bindings
        • 0: 2025-03-18 00:29:36
        • 1: 1
        • 2: 2001280911
        Backtrace
        • app/Utils/Articles.php:847
        • 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.02msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001280911' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-18 00:29:36' limit 1
        Bindings
        • 0: 2001280911
        • 1: 1
        • 2: 2025-03-18 00:29:36
        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_main610μ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_main4.4msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-18 00:29:36' and `article_category_id` = 369 and `site_id` = 1 and `id` not in ('2001280911') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-18 00:29:36
        • 1: 369
        • 2: 1
        • 3: 2001280911
        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_main25.25msselect `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 '%[\"Pig\",\"feeds\",\"profits\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Pig","feeds","profits"]%
        • 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#3867standard_digital_main840μ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: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#3893standard_digital_main1.34msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001513869, 2001514038, 2001514035, 2001513871, 2001513258, 2000198221, 2001249065, 2001514033, 2001514023, 2001514028, 2001513982, 2001514021, 2001514030, 2001513826, 2001462237, 2001513873, 2001296407, 2001514025, 2001513653, 2001513938) and `deleted_at` is null and `published_at` <= '2025-03-18 00:29:36' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2001513869
        • 1: 2001514038
        • 2: 2001514035
        • 3: 2001513871
        • 4: 2001513258
        • 5: 2000198221
        • 6: 2001249065
        • 7: 2001514033
        • 8: 2001514023
        • 9: 2001514028
        • 10: 2001513982
        • 11: 2001514021
        • 12: 2001514030
        • 13: 2001513826
        • 14: 2001462237
        • 15: 2001513873
        • 16: 2001296407
        • 17: 2001514025
        • 18: 2001513653
        • 19: 2001513938
        • 20: 2025-03-18 00:29:36
        Backtrace
        • app/Utils/Articles.php:3893
        • 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#3893standard_digital_main830μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:3893
        • 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_main850μ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_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
      • helper.php#424standard_digital_main770μ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_main730μ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_main710μ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_main125msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-18 00:29:36' and (`keywords` like '%Pig%' or `keywords` like '%feeds%' or `keywords` like '%profits%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001280911' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-18 00:29:36
        • 1: %Pig%
        • 2: %feeds%
        • 3: %profits%
        • 4: 1
        • 5: 16
        • 6: 20
        • 7: 2001280911
        Backtrace
        • app/Utils/Articles.php:1350
        • app/Utils/Articles.php:1673
        • view::mainsite.article:570
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • app.blade.php#825standard_digital_main820μ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
      373Category.php#?
      App\Models\Article
      21Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      13Author.php#?
      App\Models\ArticleOld
      1ArticleOld.php#?
          _token
          ORAnFSNUpvR0E6oOkQJXedq7Vqz8I5COplFLNmY6
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/counties/article/2001280911/pig-fe...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /counties/article/2001280911/pig-feeds-is-eating-into-my-profits
          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 => "921f962ece7ae260-EWR" ] "x-forwarded-for" => array:1 [ 0 => "3.137.173.170" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "3.137.173.170" ] "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=eyJpdiI6Ijl2Z2I2SHQ2cE1BTngzSlBXRlo1M1E9PSIsInZhbHVlIjoiMVg1TUtRRWV6aFFBNWZlUEF5T0xUMERJeUNSSHpKWk1MUno0QXpSTkRZM1F2S3FjSmJvRHBidHk3enlGaDBjUSIsIm1hYyI6ImFkM2M0MDVlMDk0MzBjMjZkM2JhZjZjMTRjOTViMTljODgwYzQ0ZDM4OGY1NGYxMGRjNDNjNDBjY2Y1NDE3N2EiLCJ0YWciOiIifQ%3D%3D; story_no_insider=eyJpdiI6IjhFTkZiSzN3MkNpaE9ZbndBV2hiTFE9PSIsInZhbHVlIjoiUUk4WXYrYWh6Qi9vS1BTTit4alZ0TkI2c1lEWkZ0Umd1K2I5eDlzM2doSnUrQnI0ejEwczVLaHRnVTFiY3hjZSIsIm1hYyI6ImI0NzA1YWJjOGQxYmI3MzdmY2Q4YTJhNTJmOWFhMzIxZDkyOGMzMGFhZGEyYjYxOWZlOGQ2YzZkY2Q4YmI4NDciLCJ0YWciOiIifQ%3D%3D; XSRF-TOKEN=eyJpdiI6IlpobHg2UUl5bjlib1JxZ1F0OUpHZFE9PSIsInZhbHVlIjoiNGh4dlRZZkdObng2NU0zNGUyaUV6cVltL21iU0dJOGhVUzM3elZPdTlTVlBkOFBkUWpoU3pGRFdtOHJBREtoMGNpTTc2SWZNZnBwc0ViU1cyYXhYV0ozTlpKZGFKb0RHOGZqWHI0UFVobTZpNXRxbXplOWF6aXZsbHFlbmxvc3ciLCJtYWMiOiIyODIyMDBiODZmYTI0OTcyZjg1MWU5YzFmMjk1ZTRiOGIyOTQ3MzFlYmExYjhhMjI3ODY5OTA2ZTJjNjVjMTJjIiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6IjNwdHI2a2Z4SVh1QjZURE5OZ0RYd1E9PSIsInZhbHVlIjoiaVExRFhBMkVMdERYeW9ZYVh2MlZXNWR0S2dtNUp1ckFHc1dYWFNRSlFmMnU1bk84bEZVQkszVUVwNURKVy8rYlpiOTkrWXBLcTY1T204dFE5RXorWWlSKzRhRXBWKzlRS3laTm9kcmFTZWhITmx1S2ljcVhjRGovZkJuMk9UbDMiLCJtYWMiOiI4YmE4MDUxZDA1MmI2ODk2MWY2NjljY2RmOTRjMWQ4ZjAzMWQ1MjkyMzI5NDc4ZTVlMGI4NGFiZWFkYjkwMjk2IiwidGFnIjoiIn0%3Dstory_no=eyJpdiI6Ijl2Z2I2SHQ2cE1BTngzSlBXRlo1M1E9PSIsInZhbHVlIjoiMVg1TUtRRWV6aFFBNWZlUEF5T0xUMERJeUNSSHpKWk1MUno0QXpSTkRZM1F2S3FjSmJvRHBidHk3enlGaDBjUSIsIm1hYyI" ] "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 [ "story_no" => "1" "story_no_insider" => "1" "XSRF-TOKEN" => "ORAnFSNUpvR0E6oOkQJXedq7Vqz8I5COplFLNmY6" "thestandardmediagroup_session" => "aij81nDxq2zEyfi3ohjIz6ygyCaTJoAUuAzu1njB" ]
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Mon, 17 Mar 2025 21:29:36 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InhmNE51WUZLNy9JQjYwZGNHdW1UMXc9PSIsInZhbHVlIjoiMDV1bEo0a290OU5iOWl6MWRmeklSVXA4OHdoS1lKN2w5NzZXRTJ6YWFPbStpeVlnQmtmSGpOQjlCSEFWbFFFK3NFOGtaWGJVR3IyelBvUS8welpyYlB3NXZUWCtuckRoUjFieVROWHdidldZS2NNNDF1RHM3eDdzdm1uVFd5Y1IiLCJtYWMiOiJlN2FmNjUyMzE2OGY4ZmFjNDQ5ZTQ0NzA4MzQyYjBhYjI3MWVmYzQxODBhYmI0NjVkZGM5NThkMDRlNDg2OTRlIiwidGFnIjoiIn0%3D; expires=Thu, 17 Apr 2025 07:58:37 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6InhmNE51WUZLNy9JQjYwZGNHdW1UMXc9PSIsInZhbHVlIjoiMDV1bEo0a290OU5iOWl6MWRmeklSVXA4OHdoS1lKN2w5NzZXRTJ6YWFPbStpeVlnQmtmSGpOQjlCSEFWbFFFK3NFOGtaW" 1 => "thestandardmediagroup_session=eyJpdiI6IitMWm9kYXh1ODJGZllEUkVCQUhua1E9PSIsInZhbHVlIjoiZVpnWWJHWEhFSHZoLzJDNVhhaUhZZXNybzF0UjVkSkc0Qmd5TWFCeFNoYlhHeFVsQzFlWUhmZFAyNGozQXhsaExUWWh2ck12dzlNRUhtYVRqa2VEdE5xVGxER2JOSFcwRlpNMmIycnBOdU90RzhDSWYzYzZST240RGJnSkxpVlkiLCJtYWMiOiJlYjViN2ViMjhlMGQwMGMzYjQ1ODFmNTExNzk4MGE0M2YxNGFhNWUwZjMxOGZlYmRhZWQ0MjY5ZTJhMjk3OTExIiwidGFnIjoiIn0%3D; expires=Thu, 17 Apr 2025 07:58:37 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6IitMWm9kYXh1ODJGZllEUkVCQUhua1E9PSIsInZhbHVlIjoiZVpnWWJHWEhFSHZoLzJDNVhhaUhZZXNybzF0UjVkSkc0Qmd5TWFCeFNoYlhHeFVsQzFlWUhmZF" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InhmNE51WUZLNy9JQjYwZGNHdW1UMXc9PSIsInZhbHVlIjoiMDV1bEo0a290OU5iOWl6MWRmeklSVXA4OHdoS1lKN2w5NzZXRTJ6YWFPbStpeVlnQmtmSGpOQjlCSEFWbFFFK3NFOGtaWGJVR3IyelBvUS8welpyYlB3NXZUWCtuckRoUjFieVROWHdidldZS2NNNDF1RHM3eDdzdm1uVFd5Y1IiLCJtYWMiOiJlN2FmNjUyMzE2OGY4ZmFjNDQ5ZTQ0NzA4MzQyYjBhYjI3MWVmYzQxODBhYmI0NjVkZGM5NThkMDRlNDg2OTRlIiwidGFnIjoiIn0%3D; expires=Thu, 17-Apr-2025 07:58:37 GMT; path=/XSRF-TOKEN=eyJpdiI6InhmNE51WUZLNy9JQjYwZGNHdW1UMXc9PSIsInZhbHVlIjoiMDV1bEo0a290OU5iOWl6MWRmeklSVXA4OHdoS1lKN2w5NzZXRTJ6YWFPbStpeVlnQmtmSGpOQjlCSEFWbFFFK3NFOGtaW" 1 => "thestandardmediagroup_session=eyJpdiI6IitMWm9kYXh1ODJGZllEUkVCQUhua1E9PSIsInZhbHVlIjoiZVpnWWJHWEhFSHZoLzJDNVhhaUhZZXNybzF0UjVkSkc0Qmd5TWFCeFNoYlhHeFVsQzFlWUhmZFAyNGozQXhsaExUWWh2ck12dzlNRUhtYVRqa2VEdE5xVGxER2JOSFcwRlpNMmIycnBOdU90RzhDSWYzYzZST240RGJnSkxpVlkiLCJtYWMiOiJlYjViN2ViMjhlMGQwMGMzYjQ1ODFmNTExNzk4MGE0M2YxNGFhNWUwZjMxOGZlYmRhZWQ0MjY5ZTJhMjk3OTExIiwidGFnIjoiIn0%3D; expires=Thu, 17-Apr-2025 07:58:37 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6IitMWm9kYXh1ODJGZllEUkVCQUhua1E9PSIsInZhbHVlIjoiZVpnWWJHWEhFSHZoLzJDNVhhaUhZZXNybzF0UjVkSkc0Qmd5TWFCeFNoYlhHeFVsQzFlWUhmZF" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "ORAnFSNUpvR0E6oOkQJXedq7Vqz8I5COplFLNmY6" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/counties/article/2001280911/pig-feeds-is-eating-into-my-profits" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-18 00:29:37GET/main-staging/counties/article/2001280911/pig-feeds-is-eating-into-my-profits1036444