×

Foreign jobs craze proves State's inability to grow our economy

One of the unforgettable images preceding the collapse of communism was chaotic scenes of East Germans scampering over the Berlin Wall to capitalist West Berlin. Hordes of fleeing Eastern Germans crowding exits on the Berlin Wall became enduring images of the collapsing communist empire. To western democracies, the sight of East Germans fleeing their homeland was strong vindication of the virtues of a free society.

In a celebrated speech, Margaret Thatcher, then British Prime Minister, explained the implosion of communism as the consequence of failure to tap into the resourcefulness and innovativeness of its citizen. Giving Russia as an example, the Iron Lady noted how despite being endowed with many resources, the economy of a communist country cannot compete with a capitalist democracy that accords its citizens freedoms.

For African countries struggling with high rates of unemployment, the scramble out of East Berlin offers an important lesson on the vital linkage between ideology and economics. For although communists claimed their system was superior to capitalism, the sight of citizens voting with their feet was ample and indisputable evidence of which system is inferior. The collapse of communisms not only affirmed the virtues of free enterprise, it proved the vital linkage between the ability of an economy to create employment and ideology of the leaders.

I was reminded of the lesson from communist implosion after watching media reports of Africans risking their lives on dangerous Mediterranean waters on makeshift boats in search of better life in Europe. Just as the sight of East Germans scrambling to the west signified failure of communist ideology, the exodus of many Africans in pursuit of better life abroad indicates a tragic failure economic policies and political ideologies. Not only is watching the suffering of fellow Africans saddening, it leaves one feeling exasperated at the failure of continental leadership to rescue the situation. For a continent whose citizens were forced into slavery in foreign lands, the sight of later-day generations voluntarily scrambling to leave their motherland is humiliating. 

Equally unacceptable and just like the British “Iron Lady” said of Russia, Africa is blessed with numerous resources that can enable the continent to outperform economies that have become the preference of job seekers. As the invention of M-Pesa has shown, Africans are capable of competing with the best in the world when provided the right environment. Given ample talent and resources there is therefore no reason any African should be begging to be admitted in foreign countries.

It is with this background that the Kenya Kwanza (KK) government unprecedented initiative of signing a bilateral Agreement to allow Kenyans to work in foreign countries is unsettling in many ways. Whereas on the one hand the initiative by KK administration immediately opens job opportunities for desperate Kenyans, employment pacts with foreign governments’ amounts to admitting we have ran out of ideas of how to grow our economy. Not only do such deals cede national duty to a foreign government, they tie Kenyan fortunes to economic dynamics in countries whose internal policies are out of our control.

Additionally, instead of building the requisite human capital for our economy, a policy of exporting talent abroad makes Kenya a source of cheap labour and forever beholden on foreign experts such as Adani. Unwittingly, such policies perpetuate our dependence on developed nations while maintaining the lopsided North/South relationship that has made African countries permanent exporters of raw materials and importers of finished goods.

While these ideological perspectives will undoubtedly bring little comfort to unemployed Kenyans, a government policy of making Kenya a source of cheap labor for developed nations is clearly not in our long run best interests either. Such a strategy is at best a band aid that addresses short term political goals while undermining our ability to grow the requisite human capital to sustain our economy.

As President Kibaki’s administration ably demonstrated, the Kenyan economy can be turned around by leaders that are willing to address economic bottlenecks. The question that begs is why the KK administration has failed to turn around the economy and is taking the easy route of exporting Kenya’s unemployed abroad.

As the collapse of communism illustrated, every economy should give the private sector the space to grow. However and as many pundits have pointed out, our economy has been captured by a political elite who want to control every facet of the economy because of personal interests. Being conflicted by selfish interest, the KK administration has therefore proved unable to cut back on government involvement in the economy because doing so would hurt personal interests.

Not only does state capture breed economic inefficiencies it results in crowding out of the more enterprising private sector. Under such condition, thousands of Kenyans are condemned to a life of queuing for menial jobs in foreign lands because their leaders are chronically addicted to expensive watches.

Request history8.1.26PHP Version2.05sRequest Duration5MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (9.72ms)time
    • Application (2.04s)time
    • 1 x Application (99.53%)
      2.04s
      1 x Booting (0.47%)
      9.72ms
      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
      38 statements were executed (11 duplicates)Show only duplicates1.29s
      • 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.11msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001505787' and `published_at` <= '2025-04-03 06:20:58' and `deleted_at` is null
        Bindings
        • 0: 2001505787
        • 1: 2025-04-03 06:20:58
        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_main810μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-04-03'
        Bindings
        • 0: 2025-04-03
        Backtrace
        • app/Utils/Articles.php:1435
        • app/Http/Controllers/MainsiteController.php:660
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:661
      • Builder.php#20standard_digital_main1.09msselect `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` = 2001505787 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001505787
        Backtrace
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:20
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:103
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:84
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:21
      • Articles.php#147standard_digital_main810μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 7 or `parent_id` = 7 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 7
        • 2: 7
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main9.9msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (7, 33, 35, 59, 487, 614) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 7
        • 1: 33
        • 2: 35
        • 3: 59
        • 4: 487
        • 5: 614
        • 6: 1
        • 7: 2025-04-03 06:20:58
        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_main10.09msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7)
        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_main950μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 7
        Bindings
        • 0: 7
        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_main760μ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.94msselect `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_main4.38msselect `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.33msselect `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_main152msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Foreign Jobs\",\"Kenyan Economy\",\"Collapse Of Communism\",\"Cheap Labour\"]%') and `site_id` = 1 and `published_at` <= '2025-04-03 06:20:58' and `deleted_at` is null and `id` not in ('2001505787') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Foreign Jobs","Kenyan Economy","Collapse Of Communism","Cheap Labour"]%
        • 1: 1
        • 2: 2025-04-03 06:20:58
        • 3: 2001505787
        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_main96.88msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' and `published_at` >= '2025-04-03 05:20:58' order by RAND(), `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 16
        • 2: 20
        • 3: 2025-04-03 06:20:58
        • 4: 2025-04-03 05:20:58
        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_main840μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 3, 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_main890μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 480 or `parent_id` = 480 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 480
        • 2: 480
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main1.81msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (480, 481, 482, 719) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 4 offset 0
        Bindings
        • 0: 480
        • 1: 481
        • 2: 482
        • 3: 719
        • 4: 1
        • 5: 2025-04-03 06:20:58
        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_main690μ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#257standard_digital_main35.8msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: 2025-04-03 06:20:58
        Backtrace
        • app/Utils/Articles.php:257
        • app/Http/Controllers/MainsiteController.php:833
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:834
      • Articles.php#257standard_digital_main970μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:257
        • app/Http/Controllers/MainsiteController.php:833
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:834
      • Articles.php#753standard_digital_main91.25msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`premium` = 1 or `article_category_id` = 486) and `site_id` = '1' and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 486
        • 2: 1
        • 3: 2025-04-03 06:20:58
        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_main1.8msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 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_main102msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001505787' and `site_id` = 1 and `published_at` <= '2025-04-03 06:20:58' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001505787
        • 1: 1
        • 2: 2025-04-03 06:20:58
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#819standard_digital_main1.04msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (5)
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main2.72msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001505787' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:58' limit 1
        Bindings
        • 0: 2001505787
        • 1: 1
        • 2: 2025-04-03 06:20:58
        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_main1.15msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (16)
        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_main17.29msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-04-03 06:20:58' and `article_category_id` = 7 and `site_id` = 1 and `id` not in ('2001505787') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-04-03 06:20:58
        • 1: 7
        • 2: 1
        • 3: 2001505787
        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_main950μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7)
        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_main31.69msselect `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 '%[\"Foreign Jobs\",\"Kenyan Economy\",\"Collapse Of Communism\",\"Cheap Labour\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Foreign Jobs","Kenyan Economy","Collapse Of Communism","Cheap Labour"]%
        • 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_main920μ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_main2.86msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001515426, 2001515418, 2001515341, 2001515335, 2001515333, 2001515416, 2001249065, 2001515329, 2001515222, 2001515425, 2001515392, 2001515417, 2001515401, 2001256902, 2001515268, 2001242568, 2001515368, 2001514960, 2001294461, 2001515427) and `deleted_at` is null and `published_at` <= '2025-04-03 06:20:59' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2001515426
        • 1: 2001515418
        • 2: 2001515341
        • 3: 2001515335
        • 4: 2001515333
        • 5: 2001515416
        • 6: 2001249065
        • 7: 2001515329
        • 8: 2001515222
        • 9: 2001515425
        • 10: 2001515392
        • 11: 2001515417
        • 12: 2001515401
        • 13: 2001256902
        • 14: 2001515268
        • 15: 2001242568
        • 16: 2001515368
        • 17: 2001514960
        • 18: 2001294461
        • 19: 2001515427
        • 20: 2025-04-03 06:20:59
        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_main850μ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_main1.02msselect * 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_main3.81msselect * from article_categories where id = '7'
        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_main1.75msselect * from article_categories where id = '7'
        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_main6.33msselect * from article_categories where id = '7'
        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_main1.12msselect * from article_categories where id = '7'
        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_main672msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-04-03 06:20:59' and (`keywords` like '%Foreign Jobs%' or `keywords` like '%Kenyan Economy%' or `keywords` like '%Collapse Of Communism%' or `keywords` like '%Cheap Labour%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001505787' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-04-03 06:20:59
        • 1: %Foreign Jobs%
        • 2: %Kenyan Economy%
        • 3: %Collapse Of Communism%
        • 4: %Cheap Labour%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001505787
        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_main23.04msselect * 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
      386Category.php#?
      App\Models\Article
      43Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          vTb13nf4TPO7JwRvnT8u1RxaMg7SMaS9teXgZAbu
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/opinion/article/2001505787/foreign...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /opinion/article/2001505787/foreign-jobs-craze-proves-states-inability-to-grow-our-economy
          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:23 [ "cf-ray" => array:1 [ 0 => "92a56ea6d8229d52-EWR" ] "x-forwarded-for" => array:1 [ 0 => "3.16.109.195" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "3.16.109.195" ] "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 => "Thu, 03 Apr 2025 03:20:59 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImNqT0pLWTJpV0V3dFZvVlNLYkdGY2c9PSIsInZhbHVlIjoiMmFzTUdTUVlEU2dOTWZHWHFQODJvRzZ6eXNmMTQ0K3pvMzlnbjc1dmFTWXBFbUJHU0p3ZnU2ZjBoVDV4aUhwK0ZGeVc1VUowbXBGVUJSMFhQZ0p0WUNSOHlha1FnaUh3YklDQllrOHhwVFdRQ21hSEtNRkpYbURQck5qQTBaT1IiLCJtYWMiOiIyNzhlYjM1NmIwOWIzOGJlYjdjOTFkZThmOGE3MDIwNWE0MWNhZmVhNmQyM2UzMDI0Zjk5Y2MyOGM1NmEzNmIyIiwidGFnIjoiIn0%3D; expires=Sat, 03 May 2025 13:50:00 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6ImNqT0pLWTJpV0V3dFZvVlNLYkdGY2c9PSIsInZhbHVlIjoiMmFzTUdTUVlEU2dOTWZHWHFQODJvRzZ6eXNmMTQ0K3pvMzlnbjc1dmFTWXBFbUJHU0p3ZnU2ZjBoVDV4aUhwK0ZGeVc1V" 1 => "thestandardmediagroup_session=eyJpdiI6Im9JcExvdko1NXc4dDdkanlFcHpoUXc9PSIsInZhbHVlIjoiMEVLbUpNM25qeHgvQXNoSVE1MzZmYzN2WnhUVDdoKzlsenFMa0tQMnd5cUdhSVRPTnowdUNra2YrM3lmNlpuNmJkWHp0bzg2eVNTMmpGaVN6b0Q5RmdaVlBzdVBtNmVpaEJSdGovVjBmcXdpT2JtKzJLeHUxLzB5TGJVQVM3clEiLCJtYWMiOiJkNWJjOTk0ZWIxYTY0MmZhYjgyY2Y0OWNlYjVjMDUwNzRiODg2MjhlY2RmODNhMjAzNWQ0OGRkMjQ1OTgxNmM2IiwidGFnIjoiIn0%3D; expires=Sat, 03 May 2025 13:50:00 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6Im9JcExvdko1NXc4dDdkanlFcHpoUXc9PSIsInZhbHVlIjoiMEVLbUpNM25qeHgvQXNoSVE1MzZmYzN2WnhUVDdoKzlsenFMa0tQMnd5cUdhSVRPTnowdUNra2" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImNqT0pLWTJpV0V3dFZvVlNLYkdGY2c9PSIsInZhbHVlIjoiMmFzTUdTUVlEU2dOTWZHWHFQODJvRzZ6eXNmMTQ0K3pvMzlnbjc1dmFTWXBFbUJHU0p3ZnU2ZjBoVDV4aUhwK0ZGeVc1VUowbXBGVUJSMFhQZ0p0WUNSOHlha1FnaUh3YklDQllrOHhwVFdRQ21hSEtNRkpYbURQck5qQTBaT1IiLCJtYWMiOiIyNzhlYjM1NmIwOWIzOGJlYjdjOTFkZThmOGE3MDIwNWE0MWNhZmVhNmQyM2UzMDI0Zjk5Y2MyOGM1NmEzNmIyIiwidGFnIjoiIn0%3D; expires=Sat, 03-May-2025 13:50:00 GMT; path=/XSRF-TOKEN=eyJpdiI6ImNqT0pLWTJpV0V3dFZvVlNLYkdGY2c9PSIsInZhbHVlIjoiMmFzTUdTUVlEU2dOTWZHWHFQODJvRzZ6eXNmMTQ0K3pvMzlnbjc1dmFTWXBFbUJHU0p3ZnU2ZjBoVDV4aUhwK0ZGeVc1V" 1 => "thestandardmediagroup_session=eyJpdiI6Im9JcExvdko1NXc4dDdkanlFcHpoUXc9PSIsInZhbHVlIjoiMEVLbUpNM25qeHgvQXNoSVE1MzZmYzN2WnhUVDdoKzlsenFMa0tQMnd5cUdhSVRPTnowdUNra2YrM3lmNlpuNmJkWHp0bzg2eVNTMmpGaVN6b0Q5RmdaVlBzdVBtNmVpaEJSdGovVjBmcXdpT2JtKzJLeHUxLzB5TGJVQVM3clEiLCJtYWMiOiJkNWJjOTk0ZWIxYTY0MmZhYjgyY2Y0OWNlYjVjMDUwNzRiODg2MjhlY2RmODNhMjAzNWQ0OGRkMjQ1OTgxNmM2IiwidGFnIjoiIn0%3D; expires=Sat, 03-May-2025 13:50:00 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6Im9JcExvdko1NXc4dDdkanlFcHpoUXc9PSIsInZhbHVlIjoiMEVLbUpNM25qeHgvQXNoSVE1MzZmYzN2WnhUVDdoKzlsenFMa0tQMnd5cUdhSVRPTnowdUNra2" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "vTb13nf4TPO7JwRvnT8u1RxaMg7SMaS9teXgZAbu" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/opinion/article/2001505787/foreign-jobs-craze-proves-states-inability-to-grow-our-economy" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-03 06:21:00GET/main-staging/opinion/article/2001505787/foreign-jobs-craze-proves-states-inability-to-grow-our-economy1138479