×

How Prof Magoha dismantled exam cheating cartels

Kenya National Examinations Council Chairman George Magoha. (Photo: Jeff Ochieng)

When George Magoha left the University of Nairobi, where he was vice chancellor, he never knew he would be called upon to clear the mess at the Kenya National Examinations Council (Knec).

In March 2016, President Uhuru Kenyatta appointed the professor to head the scandal-riddled agency whose national examination papers were being hawked in the streets long before the real tests were done.

The mandarins manning Knec whose examination results were no longer credible to the public and the job market, were bundled out of office unceremoniously because of systemic and massive leakage of primary and secondary school examination in 2015.

Truth be told

In his revealing memoirs, appropriately titled: George Magoha: Tower of Transformational Leadership, the don writes: “Truth be told, it was not a normal appointment.’’

Prof Magoha recalls at the time he took over, Knec did not have a pool of already set and moderated examinations papers in every examinations as is the practice in many other examination agencies.

He observes the council had only one single examination paper for every subject set yearly and labeled accordingly.

This, he believes, set the ground for the examinations to fall into the wrong hands.

Magoha further says the examination was set by only one subject specialist identified solely by Knec and later moderated by other external specialists identified by the same body, a process that was majorly flawed.

To remedy these challenges, Magoha undertook a series of institutional reforms that would ensure a workable, transitional and tramnsformative management team.

He instituted a framework for swift packing, transportation, storage, actual sitting for marking and finally releasing the examination results.

To ensure integrity, they printed and proofread in a safe place abroad where only five people would come into contact with the examinations including the principal secretary in charge of primary and secondary education.

He further adds the transportation was efficient, confidential and controlled and the examination scripts were accompanied in each of the five flight trips to the United Kingdom.

On arrival, security agencies would escort the exam to a safe warehouse which was equipped with CCTV cameras linked to Knec smart command and control centre located at Mtihani House, Nairobi, monitoring the place on a 24-hour basis.

On examination leakages, the professor would ensure the Knec subject specialists would set a large pool, of about 15 unlabelled examinations papers per subject per year and moderated by external specialists who at that stage, would be unable to tell which paper would be examined and in which year.

With regard to storage of the examination scripts, the body ensured 346-foot-long metallic containers were purchased and strategically placed at each sub-county where they deployed 24-hour security surveillance.

When it came to collecting or returning the scripts, they were transported under tight security involving deputy county commissioners and directors of education who were on hand to receive, store and lock them awaiting the dates of the actual sitting according to the exam time table.

Whenever the containers were opened every morning, head teachers and principals of primary and secondary schools were present with other senior Government officials who included the Cabinet Secretary Fred Matiang’i.

When it came to final part of marking the examinations, the transportation was closely monitored from the command centre.

“We discovered to our utmost surprise that marks for many of the students were very low, this was confirmation that the 2016 KCSE examinations had neither leaked nor been compromised,” says Magoha.

Impacts knowledge

To the teachers, he has some gems of advice: “Our children will forgive and respect you, but you must earn their respect as the teacher who imparts knowledge to them.”

“I believe the credible results achieved will provide a very strong basis upon which the Government can successfully reform the sector.”

pthoronjo@standardmedia.co.ke

Request history8.1.26PHP Version1.13sRequest Duration5MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (14.77ms)time
    • Application (1.11s)time
    • 1 x Application (98.69%)
      1.11s
      1 x Booting (1.31%)
      14.77ms
      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
      • 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.15msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001243704' and `published_at` <= '2025-03-25 05:38:19' and `deleted_at` is null
        Bindings
        • 0: 2001243704
        • 1: 2025-03-25 05:38:19
        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_main800μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-03-25'
        Bindings
        • 0: 2025-03-25
        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.82msselect `id`, `categoryid`, `title`, `long_title`, `story`, `related_video`, `thumbURL`, `keywords`, `publishday`, `updateddate`, `publishdate`, `author`, `source`, `premium`, `summary` from `std_article` where `id` = '2001243704' and `publishdate` <= '2025-03-25 05:38:19' and `inactive` is null
        Bindings
        • 0: 2001243704
        • 1: 2025-03-25 05:38:19
        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_14.08msselect `id`, `categoryid`, `title`, `long_title`, `story`, `related_video`, `thumbURL`, `keywords`, `publishday`, `updateddate`, `publishdate`, `author`, `source`, `premium`, `summary` from `std_article` where `id` = '2001243704' and `publishdate` <= '2025-03-25 05:38:19' and `inactive` is null
        Bindings
        • 0: 2001243704
        • 1: 2025-03-25 05:38:19
        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_main880μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 56 or `parent_id` = 56 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 56
        • 2: 56
        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_main12.96msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (56) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-25 05:38:19' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 56
        • 1: 1
        • 2: 2025-03-25 05:38:19
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main1.12msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (56)
        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_main1.08msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 56
        Bindings
        • 0: 56
        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_main810μ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.66msselect `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.22msselect `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.27msselect `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_main104msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"George Magoha\",\"Kenya National Examinations Council\",\"exam cheating\"]%') and `site_id` = 1 and `published_at` <= '2025-03-25 05:38:19' and `deleted_at` is null and `id` not in ('2001243704') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["George Magoha","Kenya National Examinations Council","exam cheating"]%
        • 1: 1
        • 2: 2025-03-25 05:38:19
        • 3: 2001243704
        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_main85.42msselect `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-25 05:38:19' and `published_at` >= '2025-03-25 04:38:19' 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-25 05:38:19
        • 4: 2025-03-25 04:38:19
        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_main740μ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.9msselect `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-25 05:38:19' 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-25 05:38:19
        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_main1.12msselect `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_main900μsselect `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-25 05:38:19' 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-25 05:38:19
        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_main740μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 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_main960μsselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001243704' and `site_id` = 1 and `published_at` <= '2025-03-25 05:38:19' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001243704
        • 1: 1
        • 2: 2025-03-25 05:38:19
        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_main1msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001243704' and `site_id` = 1 and `published_at` <= '2025-03-25 05:38:19' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001243704
        • 1: 1
        • 2: 2025-03-25 05:38:19
        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_main910μ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-25 05:38:19' and `site_id` = 1 and `id` < '2001243704' order by `id` desc limit 1
        Bindings
        • 0: 2025-03-25 05:38:19
        • 1: 1
        • 2: 2001243704
        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_main940μsselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001243704' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-25 05:38:19' limit 1
        Bindings
        • 0: 2001243704
        • 1: 1
        • 2: 2025-03-25 05:38:19
        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_main640μ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_main2.99msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-25 05:38:19' and `article_category_id` = 56 and `site_id` = 1 and `id` not in ('2001243704') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-25 05:38:19
        • 1: 56
        • 2: 1
        • 3: 2001243704
        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_main750μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (56)
        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_main26.51msselect `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 '%[\"George Magoha\",\"Kenya National Examinations Council\",\"exam cheating\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["George Magoha","Kenya National Examinations Council","exam cheating"]%
        • 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_main800μ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_main810μsselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001249065, 2000198221, 2001514598, 2001514597, 2001514596, 2001514599, 2001514549, 2001514352, 2001514454, 2001513826, 2001514600, 2001514432, 2001514537, 2001510128, 2001266092, 2001514582, 2001514585, 2001485464, 2001512921, 2001514175) and `deleted_at` is null and `published_at` <= '2025-03-25 05:38:19' 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: 2000198221
        • 2: 2001514598
        • 3: 2001514597
        • 4: 2001514596
        • 5: 2001514599
        • 6: 2001514549
        • 7: 2001514352
        • 8: 2001514454
        • 9: 2001513826
        • 10: 2001514600
        • 11: 2001514432
        • 12: 2001514537
        • 13: 2001510128
        • 14: 2001266092
        • 15: 2001514582
        • 16: 2001514585
        • 17: 2001485464
        • 18: 2001512921
        • 19: 2001514175
        • 20: 2025-03-25 05:38:19
        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 (1, 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_main950μsselect * from article_categories where id = '56'
        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 = '56'
        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_main680μsselect * from article_categories where id = '56'
        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_main670μsselect * from article_categories where id = '56'
        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_main102msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-25 05:38:20' and (`keywords` like '%George Magoha%' or `keywords` like '%Kenya National Examinations Council%' or `keywords` like '%exam cheating%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001243704' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-25 05:38:20
        • 1: %George Magoha%
        • 2: %Kenya National Examinations Council%
        • 3: %exam cheating%
        • 4: 1
        • 5: 16
        • 6: 20
        • 7: 2001243704
        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_main860μ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
      377Category.php#?
      App\Models\Article
      33Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      13Author.php#?
      App\Models\ArticleOld
      1ArticleOld.php#?
          _token
          OSGQ5sLVxHMDWU4v4aWxnlmuHljwceAwzUddZCI0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/counties/article/2001243704/how-pr...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          offset
          0
          path_info
          /counties/article/2001243704/how-prof-magoha-dismantled-exam-cheating-cartels
          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 => "925b080c484710b3-EWR" ] "x-forwarded-for" => array:1 [ 0 => "3.144.251.44" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "3.144.251.44" ] "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 => "_ga=amp-pr_hTZvPX11Ll5RGOWLjpA; XSRF-TOKEN=eyJpdiI6Im1QaWtGM2dyZUlaQ25yVUlSclUzd3c9PSIsInZhbHVlIjoibVpwNk1XZDdUckdZeVVrazdRUkdVODFGeEFaQW9QMXVOS3pXbDZhcENDNWV6aGtYS3E2dXR5WGJYbGhidktjTk5TREFHSWNnU1Y1SjNJenJVZzYreVlITE1haGJHS0hFRlo3NzRncUNRMkJlVHdXa1dhNU1tRXpvSnNQbmxqREUiLCJtYWMiOiJkNWU0ZDYwYzlmMDQ4ZjJlMDYyNmU5NmJkMTQxMzc2NmVjODY3MjRmNmRlZGQ4ZTEyZTZiYzYxN2MyNmI0ZWM1IiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6ImNETGRaMG5uVU9PSjA1OGdrSmhRZFE9PSIsInZhbHVlIjoiTDJTSmZ5UTVUd3EzNWQvdkxYSlA2R082dElYNXZXbFJLeUpCVTZ0SzVMeXV1ZFhqdTllRDhXRXZOdUhYVTBpMExoaUV0Nm54eUdmQW0ycEswY29MOHBCU2FSbjdzVlVWM3NYWG1ZdEhlOVU0dndBcHJBais2VTQvcmVZVzQxNDQiLCJtYWMiOiI0NjBiNjc5NzQ4MzllNTE2YTEzNGNjMTIxZDhjMzQ2MTc4ZjRlNTVjNjM3NmNhOTE4YmM4YjdhOGYzYjIyNDg1IiwidGFnIjoiIn0%3D_ga=amp-pr_hTZvPX11Ll5RGOWLjpA; XSRF-TOKEN=eyJpdiI6Im1QaWtGM2dyZUlaQ25yVUlSclUzd3c9PSIsInZhbHVlIjoibVpwNk1XZDdUckdZeVVrazdRUkdVODFGeEFaQW9QMXVOS3pXbDZhcENDNWV6a" ] "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 [ "_ga" => null "XSRF-TOKEN" => "OSGQ5sLVxHMDWU4v4aWxnlmuHljwceAwzUddZCI0" "thestandardmediagroup_session" => "9M8VRCKd2uQ5plMcrE2c3bGNBX1xurV2jGDSNByz" ]
          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 => "Tue, 25 Mar 2025 02:38:20 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IklWanVXQWZFUDJ4R2JKb0hsdmQ4UVE9PSIsInZhbHVlIjoiK2tpdU5nVHFBTmxjZUdHcnpvakNYWWlxRkVDcnlwM01zUjZiMTAxOSt0bUpPMnNFS0R3TjRmNllTWW1kUWpuYVZ2MjU2RDJuREhTT0xMbTJnK0laTWwvWTljeVF6TnhheWV6R2tBWTEvdHRkWW9PV3E0NmNaL1JpMFlmTmNpbmUiLCJtYWMiOiJjZmYzMzcyMGUzZjVjZGM4OGVjZTVjYmQ1NjdiZmZjMDZhNDYyY2RkODM3ODA1NjVlZTA3ZmE5N2YyYjE5ZDBmIiwidGFnIjoiIn0%3D; expires=Thu, 24 Apr 2025 13:07:20 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IklWanVXQWZFUDJ4R2JKb0hsdmQ4UVE9PSIsInZhbHVlIjoiK2tpdU5nVHFBTmxjZUdHcnpvakNYWWlxRkVDcnlwM01zUjZiMTAxOSt0bUpPMnNFS0R3TjRmNllTWW1kUWpuYVZ2MjU2R" 1 => "thestandardmediagroup_session=eyJpdiI6IitmaTUxNkZtaGZDdnhNV2UyRFo2Snc9PSIsInZhbHVlIjoiaFdoWk5rVE9QTk9IZmFIVUJwejZ1ekxnamlKZnNUVWhXSG1UOWVLZ0Jnd3U4YUs3NjczQ0U3Z1lwYkYrM2xpd3NMRzZQaEoyc3ZiZGd5Y2F4WTRTN3JlVndMK1dKV3B2bVBaZXhXWXRtT1RwRXBQY1ZvTUhqN2Z4Y0xkbGtQL0oiLCJtYWMiOiIyZGIxYmQ3ZTM3NTZmODdjOGRmYzc5MTA1MThiODQxM2FkOThiNzE5MTliMTFiNzM2NmIxZjJlZWNjZmY5MTVjIiwidGFnIjoiIn0%3D; expires=Thu, 24 Apr 2025 13:07:20 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6IitmaTUxNkZtaGZDdnhNV2UyRFo2Snc9PSIsInZhbHVlIjoiaFdoWk5rVE9QTk9IZmFIVUJwejZ1ekxnamlKZnNUVWhXSG1UOWVLZ0Jnd3U4YUs3NjczQ0U3Z1" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IklWanVXQWZFUDJ4R2JKb0hsdmQ4UVE9PSIsInZhbHVlIjoiK2tpdU5nVHFBTmxjZUdHcnpvakNYWWlxRkVDcnlwM01zUjZiMTAxOSt0bUpPMnNFS0R3TjRmNllTWW1kUWpuYVZ2MjU2RDJuREhTT0xMbTJnK0laTWwvWTljeVF6TnhheWV6R2tBWTEvdHRkWW9PV3E0NmNaL1JpMFlmTmNpbmUiLCJtYWMiOiJjZmYzMzcyMGUzZjVjZGM4OGVjZTVjYmQ1NjdiZmZjMDZhNDYyY2RkODM3ODA1NjVlZTA3ZmE5N2YyYjE5ZDBmIiwidGFnIjoiIn0%3D; expires=Thu, 24-Apr-2025 13:07:20 GMT; path=/XSRF-TOKEN=eyJpdiI6IklWanVXQWZFUDJ4R2JKb0hsdmQ4UVE9PSIsInZhbHVlIjoiK2tpdU5nVHFBTmxjZUdHcnpvakNYWWlxRkVDcnlwM01zUjZiMTAxOSt0bUpPMnNFS0R3TjRmNllTWW1kUWpuYVZ2MjU2R" 1 => "thestandardmediagroup_session=eyJpdiI6IitmaTUxNkZtaGZDdnhNV2UyRFo2Snc9PSIsInZhbHVlIjoiaFdoWk5rVE9QTk9IZmFIVUJwejZ1ekxnamlKZnNUVWhXSG1UOWVLZ0Jnd3U4YUs3NjczQ0U3Z1lwYkYrM2xpd3NMRzZQaEoyc3ZiZGd5Y2F4WTRTN3JlVndMK1dKV3B2bVBaZXhXWXRtT1RwRXBQY1ZvTUhqN2Z4Y0xkbGtQL0oiLCJtYWMiOiIyZGIxYmQ3ZTM3NTZmODdjOGRmYzc5MTA1MThiODQxM2FkOThiNzE5MTliMTFiNzM2NmIxZjJlZWNjZmY5MTVjIiwidGFnIjoiIn0%3D; expires=Thu, 24-Apr-2025 13:07:20 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6IitmaTUxNkZtaGZDdnhNV2UyRFo2Snc9PSIsInZhbHVlIjoiaFdoWk5rVE9QTk9IZmFIVUJwejZ1ekxnamlKZnNUVWhXSG1UOWVLZ0Jnd3U4YUs3NjczQ0U3Z1" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "OSGQ5sLVxHMDWU4v4aWxnlmuHljwceAwzUddZCI0" "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/counties/article/2001243704/how-prof-magoha-dismantled-exam-cheating-cartels" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "offset" => 0 ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-25 05:38:20GET/main-staging/counties/article/2001243704/how-prof-magoha-dismantled-exam-cheating-cartels1137460