×

How social media and AI are shaping the future of elections, Kalonzo explains

Wiper Party leader Kalonzo Musyoka speaking on the role of AI and social media on future elections. [Courtesy]

This year, Kenya has witnessed a remarkable shift as leaders increasingly turn to social media for political communication.  

President William Ruto has been at the forefront of this trend, utilizing various platforms to connect with audiences and address pressing issues.

During the Gen Z protests in June, the president hosted an X Space  to engage directly with young Kenyans, listening to their grievances and providing clarity on their concerns.  

Other leaders have also embraced these digital tools, with some using platforms such as TikTok to reach their audiences more effectively. 

This growing adoption underscores how social media is reshaping political discourse.  

Wiper Party leader Kalonzo Musyoka foresees social media, digital platforms and AI playing pivotal roles in future elections across Africa. 

Speaking at the Electoral Law and Governance Institute for Africa (ELGIA) regional conference in Nairobi on Tuesday, Kalonzo said; "It should not surprise us to see politicians migrating to these platforms, among others, to conduct their campaigns. Whether we like it or not, they are going to be used in elections going forward. The time to get things right and ready is now.”  

Musyoka called for countries and electoral bodies to embrace these technologies while addressing the challenges they pose, particularly legal gaps and the threat of misinformation.  

“It is important to progressively review the electoral legal environment for purposes of securing electoral justice. This should be done early enough, and with the requisite transparency, to protect elections from abuse and open influence that erodes their credibility,” he noted.  

According to him, when used properly, AI has the potential to revolutionize electoral processes by making them faster, more secure, and scientifically verifiable.

However, the risks are equally significant.  

"Badly used, AI-generated content and material have been found to close the gap between what is real and what is fake," Musyoka cautioned.

"Together with all the advantages, AI has also opened up the world to fakery and quackery. We are said to be living in the Post-Truth Age. When the ingredients of this age are infused into electoral processes, they can only spell disaster. From manipulated facts to fake videos and images, the dangers of AI misuse are immense.”

Musyoka pointed to cases where individuals have been falsely attributed with statements or actions, making it nearly impossible for them to deny. 

As Kenya navigates this digital transformation, it’s clear that the integration of social media and AI into politics is both inevitable and complex. 

"The people, too, as I have already observed, are changing. It is not just a question of people adapting to electoral technology, it is also about electoral technology adapting to the people."

Request history8.1.26PHP Version752msRequest Duration3MBMemory UsageGET article/{id}/{slug}Route
    • Booting (12.97ms)time
    • Application (739ms)time
    • 1 x Application (98.27%)
      739ms
      1 x Booting (1.73%)
      12.97ms
      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 article/{id}/{slug}
      middleware
      web
      controller
      App\Http\Controllers\MainsiteController@article
      namespace
      prefix
      where
      file
      app/Http/Controllers/MainsiteController.php:610-1160
      35 statements were executed (9 duplicates)Show only duplicates436ms
      • Articles.php#513standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:513
        • app/Http/Controllers/MainsiteController.php:689
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:690
      • Articles.php#520standard_digital_main4.42msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001507467' and `published_at` <= '2025-01-14 05:29:13' and `deleted_at` is null
        Bindings
        • 0: 2001507467
        • 1: 2025-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:520
        • app/Http/Controllers/MainsiteController.php:689
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:690
      • Articles.php#1435standard_digital_main890μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-01-14'
        Bindings
        • 0: 2025-01-14
        Backtrace
        • app/Utils/Articles.php:1435
        • app/Http/Controllers/MainsiteController.php:692
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:693
      • Builder.php#20standard_digital_main1.23msselect `authors`.*, `article_authors`.`article_id` as `pivot_article_id`, `article_authors`.`author_id` as `pivot_author_id` from `authors` inner join `article_authors` on `authors`.`id` = `article_authors`.`author_id` where `article_authors`.`article_id` = 2001507467 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001507467
        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_main1.38msselect `id` from `article_categories` where `site_id` = 1 and `id` = 3 or `parent_id` = 3 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 3
        • 2: 3
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:759
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:760
      • Articles.php#164standard_digital_main980μsselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (3) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-01-14 05:29:13' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 3
        • 1: 1
        • 2: 2025-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:759
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:760
      • Articles.php#164standard_digital_main1.68msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:759
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:760
      • Articles.php#53standard_digital_main820μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 3
        Bindings
        • 0: 3
        Backtrace
        • app/Utils/Articles.php:53
        • app/Utils/Articles.php:338
        • app/Http/Controllers/MainsiteController.php:769
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#53standard_digital_main1.48msselect `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:769
        • 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:769
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#55standard_digital_main3.41msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:55
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:769
        • 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:769
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#57standard_digital_main3.58msselect `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:769
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#60standard_digital_main1.32msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `refer_id` is null
        Backtrace
        • app/Utils/Articles.php:60
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:769
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#688standard_digital_main89.61msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"X Space\",\"2027 Politics\",\"Wiper Party leader Kalonzo Musyoka\",\"Generative AI Tools\"]%') and `site_id` = 1 and `published_at` <= '2025-01-14 05:29:13' and `deleted_at` is null and `id` not in ('2001507467') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["X Space","2027 Politics","Wiper Party leader Kalonzo Musyoka","Generative AI Tools"]%
        • 1: 1
        • 2: 2025-01-14 05:29:13
        • 3: 2001507467
        Backtrace
        • app/Utils/Articles.php:688
        • 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#424standard_digital_main115msselect `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-01-14 05:29:13' and `published_at` >= '2025-01-14 04:29:13' 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-01-14 05:29:13
        • 4: 2025-01-14 04:29:13
        Backtrace
        • app/Utils/Articles.php:424
        • app/Http/Controllers/MainsiteController.php:857
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:858
      • Articles.php#147standard_digital_main920μ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:861
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:862
      • Articles.php#164standard_digital_main830μsselect `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-01-14 05:29:13' 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-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:861
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:862
      • Articles.php#164standard_digital_main710μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (482)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:861
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:862
      • Articles.php#753standard_digital_main980μ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-01-14 05:29:13' 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-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:869
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:870
      • Articles.php#753standard_digital_main670μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (4, 7, 22, 41)
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:869
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:870
      • Articles.php#819standard_digital_main14.08msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001507467' and `site_id` = 1 and `published_at` <= '2025-01-14 05:29:13' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001507467
        • 1: 1
        • 2: 2025-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:873
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:874
      • Articles.php#819standard_digital_main720μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:873
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:874
      • Articles.php#865standard_digital_main4.11msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001507467' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-01-14 05:29:13' limit 1
        Bindings
        • 0: 2001507467
        • 1: 1
        • 2: 2025-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:865
        • app/Http/Controllers/MainsiteController.php:873
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:874
      • Articles.php#865standard_digital_main760μ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:873
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:874
      • Articles.php#1288standard_digital_main8.74msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-01-14 05:29:13' and `article_category_id` = 3 and `site_id` = 1 and `id` not in ('2001507467') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-01-14 05:29:13
        • 1: 3
        • 2: 1
        • 3: 2001507467
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:877
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:878
      • Articles.php#1288standard_digital_main800μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3)
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:877
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:878
      • Builder.php#20standard_digital_main25.83msselect `videos`.`id`, `videos`.`video_category_id`, `videos`.`title`, `videos`.`video_url`, `videos`.`description`, `videos`.`published_at`, `videos`.`thumbnail_url` from `videos` inner join `video_categories` on `video_categories`.`id` = `videos`.`video_category_id` where (`keywords` LIKE '%[\"X Space\",\"2027 Politics\",\"Wiper Party leader Kalonzo Musyoka\",\"Generative AI Tools\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["X Space","2027 Politics","Wiper Party leader Kalonzo Musyoka","Generative AI Tools"]%
        • 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#3749standard_digital_main770μ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:3749
        • app/Http/Controllers/MainsiteController.php:885
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:886
      • Articles.php#3775standard_digital_main850μsselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001509360, 2001509465, 2001249065, 2000142944, 2001509523, 2001509532, 2001508952, 2001509543, 2001509358, 2001509536, 2001467847, 2001251473, 2001434504, 2001496835, 2001509516, 2001509175, 2001463496, 2001509330, 2000064408, 2001282047) and `deleted_at` is null and `published_at` <= '2025-01-14 05:29:13' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2001509360
        • 1: 2001509465
        • 2: 2001249065
        • 3: 2000142944
        • 4: 2001509523
        • 5: 2001509532
        • 6: 2001508952
        • 7: 2001509543
        • 8: 2001509358
        • 9: 2001509536
        • 10: 2001467847
        • 11: 2001251473
        • 12: 2001434504
        • 13: 2001496835
        • 14: 2001509516
        • 15: 2001509175
        • 16: 2001463496
        • 17: 2001509330
        • 18: 2000064408
        • 19: 2001282047
        • 20: 2025-01-14 05:29:13
        Backtrace
        • app/Utils/Articles.php:3775
        • app/Http/Controllers/MainsiteController.php:885
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:886
      • Articles.php#3775standard_digital_main690μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 273, 588)
        Backtrace
        • app/Utils/Articles.php:3775
        • app/Http/Controllers/MainsiteController.php:885
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:886
      • CookieTool.php#185standard_digital_main770μ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:902
        • 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.07msselect * from article_categories where id = '3'
        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 = '3'
        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_main810μsselect * from article_categories where id = '3'
        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_main630μsselect * from article_categories where id = '3'
        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_main144msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-01-14 05:29:14' and (`keywords` like '%X Space%' or `keywords` like '%2027 Politics%' or `keywords` like '%Wiper Party leader Kalonzo Musyoka%' or `keywords` like '%Generative AI Tools%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001507467' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-01-14 05:29:14
        • 1: %X Space%
        • 2: %2027 Politics%
        • 3: %Wiper Party leader Kalonzo Musyoka%
        • 4: %Generative AI Tools%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001507467
        Backtrace
        • app/Utils/Articles.php:1350
        • app/Utils/Articles.php:1672
        • view::mainsite.article:582
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • app.blade.php#825standard_digital_main930μ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
      35Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          TwKhtASvexeZVGkrE5K8hS5ovQeQDrxkdtP3QzyS
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001507467/how-social-medi...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /article/2001507467/how-social-media-and-ai-are-shaping-the-future-of-elections-kalonzo-explains
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          0 of 0
          array:1 [ "utm_cmp_rs" => "amp-next-page" ]
          request_request
          []
          
          request_headers
          0 of 0
          array:23 [ "cf-ray" => array:1 [ 0 => "901a32780ee0eac4-EWR" ] "cf-connecting-ip" => array:1 [ 0 => "3.14.252.252" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "x-forwarded-for" => array:1 [ 0 => "3.14.252.252" ] "accept-encoding" => array:1 [ 0 => "gzip, br" ] "priority" => array:1 [ 0 => "u=0, i" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "cf-visitor" => array:1 [ 0 => "{"scheme":"https"}" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "cdn-loop" => array:1 [ 0 => "cloudflare; loops=1" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "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" ] "connection" => array:1 [ 0 => "Keep-Alive" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "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" ] ]
          request_cookies
          []
          
          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, 14 Jan 2025 02:29:14 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Iml5bE90c1VCR0JWajM0enB0dE8wMFE9PSIsInZhbHVlIjoidnloSEpxRFpYd0gzTzBteWRPMjJvbEMvWmVNYm9kQ2gweXVtWXZhQUJUbVkrR0tjVG1iWnZJU1F4alJwRFM5dytaWldNckxsQTlyc1dpaUJGTWV5ajlMb0xjbjYxUjJTbjdwWjdpVXZRY3o4R1I0bHEyNTVndzUrTkNGaGMwenoiLCJtYWMiOiI2YWNiNzFjNTQ0YjNiZDRlNzg0ODEwODMyMjYzYWJjNzQxYjE3YzMyYjljZmNjYjVmNjJlMmU3ODU3MzU3MjY4IiwidGFnIjoiIn0%3D; expires=Thu, 13 Feb 2025 12:58:14 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6Iml5bE90c1VCR0JWajM0enB0dE8wMFE9PSIsInZhbHVlIjoidnloSEpxRFpYd0gzTzBteWRPMjJvbEMvWmVNYm9kQ2gweXVtWXZhQUJUbVkrR0tjVG1iWnZJU1F4alJwRFM5dytaWldNc" 1 => "thestandardmediagroup_session=eyJpdiI6Inp6OTRVekhSZUJrU2Z4YmRNODZGUFE9PSIsInZhbHVlIjoiSm4wVFM2akJRMEF3MDlwZTIrNGNzSHl1d015TXh3TXRBZjQrZWMraXdORnlVbERVRUN3ai9rYm1YR1llbDErcm9hZ3I5aDdIblVrSG02S0NzSktMQ1NpT1pydnhJVVdRV1dpdXJqMVdZL3BJTnNadklKTHppME9NZ0lBVkhVaHQiLCJtYWMiOiI2YTFlMjdiYjhkOWRlYWEwMWQwODUzODkxOWI2MGUzMjI3YTVhYTMwNWUzMjM5ODIxYWI5NTBkNTg2ZTRkOWZlIiwidGFnIjoiIn0%3D; expires=Thu, 13 Feb 2025 12:58:14 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6Inp6OTRVekhSZUJrU2Z4YmRNODZGUFE9PSIsInZhbHVlIjoiSm4wVFM2akJRMEF3MDlwZTIrNGNzSHl1d015TXh3TXRBZjQrZWMraXdORnlVbERVRUN3ai9rYm" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Iml5bE90c1VCR0JWajM0enB0dE8wMFE9PSIsInZhbHVlIjoidnloSEpxRFpYd0gzTzBteWRPMjJvbEMvWmVNYm9kQ2gweXVtWXZhQUJUbVkrR0tjVG1iWnZJU1F4alJwRFM5dytaWldNckxsQTlyc1dpaUJGTWV5ajlMb0xjbjYxUjJTbjdwWjdpVXZRY3o4R1I0bHEyNTVndzUrTkNGaGMwenoiLCJtYWMiOiI2YWNiNzFjNTQ0YjNiZDRlNzg0ODEwODMyMjYzYWJjNzQxYjE3YzMyYjljZmNjYjVmNjJlMmU3ODU3MzU3MjY4IiwidGFnIjoiIn0%3D; expires=Thu, 13-Feb-2025 12:58:14 GMT; path=/XSRF-TOKEN=eyJpdiI6Iml5bE90c1VCR0JWajM0enB0dE8wMFE9PSIsInZhbHVlIjoidnloSEpxRFpYd0gzTzBteWRPMjJvbEMvWmVNYm9kQ2gweXVtWXZhQUJUbVkrR0tjVG1iWnZJU1F4alJwRFM5dytaWldNc" 1 => "thestandardmediagroup_session=eyJpdiI6Inp6OTRVekhSZUJrU2Z4YmRNODZGUFE9PSIsInZhbHVlIjoiSm4wVFM2akJRMEF3MDlwZTIrNGNzSHl1d015TXh3TXRBZjQrZWMraXdORnlVbERVRUN3ai9rYm1YR1llbDErcm9hZ3I5aDdIblVrSG02S0NzSktMQ1NpT1pydnhJVVdRV1dpdXJqMVdZL3BJTnNadklKTHppME9NZ0lBVkhVaHQiLCJtYWMiOiI2YTFlMjdiYjhkOWRlYWEwMWQwODUzODkxOWI2MGUzMjI3YTVhYTMwNWUzMjM5ODIxYWI5NTBkNTg2ZTRkOWZlIiwidGFnIjoiIn0%3D; expires=Thu, 13-Feb-2025 12:58:14 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6Inp6OTRVekhSZUJrU2Z4YmRNODZGUFE9PSIsInZhbHVlIjoiSm4wVFM2akJRMEF3MDlwZTIrNGNzSHl1d015TXh3TXRBZjQrZWMraXdORnlVbERVRUN3ai9rYm" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "TwKhtASvexeZVGkrE5K8hS5ovQeQDrxkdtP3QzyS" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001507467/how-social-media-and-ai-are-shaping-the-future-of-elections-kalonzo-explains?utm_cmp_rs=amp-next-pagehttp://www.standardmedia.co.ke/main-staging/article/2001507467/how-social-media-and-ai-are-shaping-the-future-of-elections-kalonzo-explains?utm_cmp_rs=amp-next-" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-01-14 05:29:14GET/main-staging/article/2001507467/how-social-media-and-ai-are-shaping-the-future-of-elections-kalonzo-explains?utm_cmp_rs=amp-next-page1035462