×

Alarm as bars thrive near schools, raising drugs, learning concerns

 Illicit alcohol and alcoholism have become a menace in many homes. [iStockphoto]

Despite efforts to shield school-going children from alcohol and substance abuse, several bars and entertainment joints continue to operate dangerously close to educational institutions.

Parents and education stakeholders blame these establishments for facilitating easy access to alcohol, contributing significantly to drug abuse among students. Spot checks by The Standard across the country revealed that some bars are located less than 100 metres from schools.

The  Kenya’s Alcoholic Drinks Control Act, 2010 famously referred to as the Mututho Law is clear on the location of these outlets. It provides that in an application for licenses, the premises in respect of which the application is made are located at least 300 meters from any nursery, primary, secondary or other learning institutions for persons under the age of 18.

However, the situation is so dire that in some areas, learning is frequently disrupted by loud music and shouting from revellers, turning schools into virtual party zones.

In Mombasa, despite ongoing campaigns to relocate bars away from schools, many residents lament the continued presence of these businesses. For instance, Likoni Muslim Comprehensive School has long battled the issue of several alcohol outlets nearby.

Until recently, children mingled with drunkards during breaks. However, the construction of a high perimeter wall and the repositioning of the school’s main gate have minimised direct contact with revellers. These bars sell beer, wine, spirits, and the locally brewed palm wine known as mnazi.

Betty Sharon, Executive Director of the Collaboration of Women in Development (CWID), noted that efforts to remove bars near schools in Mombasa have not yet succeeded. She highlighted areas like Kongowea and Maweni in Nyali subcounty and Kisauni and Bamburi areas in Kisauni subcounty as being particularly affected.

“The county government should act tough on bar operators near schools to save our children. The problem lies in licensing the bars that operate near our schools. At the moment, there are some areas where bars and wine and spirits outlets are competing with salons,” she noted.

In 2023, Governor Abdulswamad Nassir ordered the relocation of bars operating within 150 metres of schools and places of worship to combat the increasing rates of alcohol and drug abuse among schoolchildren.

A similar campaign is underway in Kilifi and Kwale counties, where spot checks in Kilifi and Malindi towns showed a significant reduction in bars near schools.

In the Rift Valley, however, some bars openly flout regulations. Residents of Bomet allege that some establishments operate with impunity, aided by police officers who turn a blind eye.

He argued that closing of the bars would affect the economy of the country since it is a big business in Kenya.

“We cannot close abruptly because the same will be to our detriment and that of the family. We need dialogue to resolve the issues,” he said. “Shutting us down abruptly will harm our businesses and families. Dialogue is needed to resolve these issues,” he said.

In Kericho County, Londiani Sub County Police Commander Agnes Kunga confirmed that two bars near Kamungei and Central Primary schools had been shut down following complaints from education stakeholders. “As soon as we received complaint from education stakeholders, we immediately shut down the bars and learners now have a conducive environment,” she said.

Senator Aaron Cheruiyot called for the closure of all bars near schools across the county, citing their negative influence on students and communities.

Nakuru County Commissioner Loyford Kibaara said all the entertainment joints near schools had been closed.

In Kisumu, several bars blatantly disregard the 300-metre rule, which prohibits such establishments near schools, religious centres, and residential areas.

For example, Lakesite School is adjacent to Geckos Bar, where revellers frequently park next to the school gates, while others sit next to the fence, causing concern among parents and educators.

At Wayside, several bars and entertainment joints are operating in close proximity to Kisumu Junior and Kisumu Senior schools. 

Interestingly, a mosque is also located barely 30 metrEs from the entertainment joints. 

According to the chairman of the Parents Association at the M-M Sha Primary School, Cephas Ogwang’ the entertainment joints have been a nightmare to parents as they are constantly worried about the safety of their children owing to the high number of strangers in the area.

Kisumu bar owners have, however dismissed the allegations of their failure to observe rules.

Blame game

According to Dan Maneno Ouma, the Kisumu County Bar Owners Chairman, some of the bars that are accused of operating near learning institutions were established in accordance with the Physical Development Planning Act, which categorised the said places as commercial areas. “If the place is a shopping centre, it is meant to be a commercial area and it was meant to be so by the Physical and Development Planning Act, which defines an area whether as a commercial or residential area,” Ouma said.

He also accused some proprietors of learning institutions, especially the private schools of overlooking the issue of the 300-meter rule when putting up their schools only to start complaining later that the bar is interfering with their learning activities.

In Central, parents, teachers, and community leaders are raising similar alarms. North Imenti Sub County is particularly affected, with Gitoro Primary School, Makutano located near several bars. Local businesswoman Gladys Karimi expressed frustration over the continued presence of these establishments.

“Apart from the noise, they negatively influence children. We’re tired of demanding their removal,” Karimi said.

Assistant Chief Festus Mawira of Upper Igoki Sub Location acknowledged the challenge and committed to resolving it.

He explained that the Liquor Licensing Board does an assessment before allowing bars to operate. He noted that some bars do not meet licensing requirements and lack proper sanitation facilities.

Meru County Alcohol Control Board CEO Dr Mbaabu Muguna announced plans to remove bars near schools, stressing the need for stricter enforcement of licensing laws.

Report by Clinton Ambujo, Phares Mutembei, Patric Beja, Kiprono Kurgat, Nikko Tanui and Daniel Chege. 

Request history8.1.26PHP Version906msRequest Duration4MBMemory UsageGET article/{id}/{slug}Route
    • Booting (12.34ms)time
    • Application (894ms)time
    • 1 x Application (98.64%)
      894ms
      1 x Booting (1.36%)
      12.34ms
      11 templates were rendered
      • 1x mainsite.articlearticle.blade.php#?blade
      • 1x mainsite.partials.topsectionsubscribetopsectionsubscribe.blade.php#?blade
      • 1x common.poolpool.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-1128
      36 statements were executed (10 duplicates)Show only duplicates592ms
      • 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.79msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001510450' and `published_at` <= '2025-03-02 12:33:56' and `deleted_at` is null
        Bindings
        • 0: 2001510450
        • 1: 2025-03-02 12:33:56
        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_main1.14msselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-03-02'
        Bindings
        • 0: 2025-03-02
        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_main4.35msselect `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` = 2001510450 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001510450
        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.07msselect `id` from `article_categories` where `site_id` = 1 and `id` = 588 or `parent_id` = 588 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 588
        • 2: 588
        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_main82.97msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (1, 588) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-02 12:33:56' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 1
        • 1: 588
        • 2: 1
        • 3: 2025-03-02 12:33: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#164standard_digital_main1.25msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (1, 588)
        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_main890μsselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 588
        Bindings
        • 0: 588
        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_main940μ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_main5.49msselect `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.48msselect `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.13msselect `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_main117msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Kenya\u2019s Alcoholic Drinks\",\"Nakuru County Commissioner\",\"Senator Aaron Cheruiyot\",\"Nakuru County\"]%') and `site_id` = 1 and `published_at` <= '2025-03-02 12:33:56' and `deleted_at` is null and `id` not in ('2001510450') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Kenya\u2019s Alcoholic Drinks","Nakuru County Commissioner","Senator Aaron Cheruiyot","Nakuru County"]%
        • 1: 1
        • 2: 2025-03-02 12:33:56
        • 3: 2001510450
        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_main94.56msselect `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-02 12:33:56' and `published_at` >= '2025-03-02 11:33:56' 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-02 12:33:56
        • 4: 2025-03-02 11:33:56
        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_main870μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (7, 41)
        Backtrace
        • app/Utils/Articles.php:424
        • app/Http/Controllers/MainsiteController.php:825
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:826
      • Articles.php#147standard_digital_main1.07msselect `id` from `article_categories` where `site_id` = 1 and `id` = 480 or `parent_id` = 480 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 480
        • 2: 480
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main920μ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-03-02 12:33:56' 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-02 12:33:56
        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.07msselect `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_main1.33msselect `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-02 12:33:56' 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-02 12:33:56
        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.22msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 378, 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_main25.37msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001510450' and `site_id` = 1 and `published_at` <= '2025-03-02 12:33:56' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001510450
        • 1: 1
        • 2: 2025-03-02 12:33:56
        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_main980μ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:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main4.1msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001510450' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-02 12:33:56' limit 1
        Bindings
        • 0: 2001510450
        • 1: 1
        • 2: 2025-03-02 12:33:56
        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.08msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        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_main20.27msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-02 12:33:56' and `article_category_id` = 588 and `site_id` = 1 and `id` not in ('2001510450') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-02 12:33:56
        • 1: 588
        • 2: 1
        • 3: 2001510450
        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_main920μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        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_main36.23msselect `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 '%[\"Kenya\u2019s Alcoholic Drinks\",\"Nakuru County Commissioner\",\"Senator Aaron Cheruiyot\",\"Nakuru County\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Kenya\u2019s Alcoholic Drinks","Nakuru County Commissioner","Senator Aaron Cheruiyot","Nakuru County"]%
        • 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_main980μ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: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#3775standard_digital_main930μsselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2000198221, 2001249065, 2001512924, 2001512782, 2001508776, 2001512590, 2001512941, 2001512979, 2001512974, 2001434504, 2001450273, 2001512947, 2001512968, 2001512921, 2001512952, 2001406840, 2001512927, 2001512971, 2001512918, 2001512727) and `deleted_at` is null and `published_at` <= '2025-03-02 12:33:56' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2000198221
        • 1: 2001249065
        • 2: 2001512924
        • 3: 2001512782
        • 4: 2001508776
        • 5: 2001512590
        • 6: 2001512941
        • 7: 2001512979
        • 8: 2001512974
        • 9: 2001434504
        • 10: 2001450273
        • 11: 2001512947
        • 12: 2001512968
        • 13: 2001512921
        • 14: 2001512952
        • 15: 2001406840
        • 16: 2001512927
        • 17: 2001512971
        • 18: 2001512918
        • 19: 2001512727
        • 20: 2025-03-02 12:33:56
        Backtrace
        • app/Utils/Articles.php:3775
        • 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#3775standard_digital_main890μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 273, 588)
        Backtrace
        • app/Utils/Articles.php:3775
        • 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_main760μ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_main870μsselect * from article_categories where id = '588'
        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_main930μsselect * from article_categories where id = '588'
        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.02msselect * from article_categories where id = '588'
        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.21msselect * from article_categories where id = '588'
        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_main167msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-02 12:33:56' and (`keywords` like '%Kenya’s Alcoholic Drinks%' or `keywords` like '%Nakuru County Commissioner%' or `keywords` like '%Senator Aaron Cheruiyot%' or `keywords` like '%Nakuru County%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001510450' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-02 12:33:56
        • 1: %Kenya’s Alcoholic Drinks%
        • 2: %Nakuru County Commissioner%
        • 3: %Senator Aaron Cheruiyot%
        • 4: %Nakuru County%
        • 5: 1
        • 6: 16
        • 7: 20
        • 8: 2001510450
        Backtrace
        • app/Utils/Articles.php:1350
        • app/Utils/Articles.php:1672
        • view::mainsite.article:577
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • app.blade.php#825standard_digital_main920μ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
      381Category.php#?
      App\Models\Article
      39Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          MbXsjkaZrneGuPEBLfF6WQ2xg5khdY2Wxj6hnUOA
          offset
          0
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001510450/alarm-as-bars-t...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /article/2001510450/alarm-as-bars-thrive-near-schools-raising-drugs-learning-concerns
          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 => "919fe50eba0c0102-EWR" ] "x-forwarded-for" => array:1 [ 0 => "18.118.218.112" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "18.118.218.112" ] "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 => "Sun, 02 Mar 2025 09:33:56 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImdDREZDbFhoQUl1akV1aWFSOEhuUUE9PSIsInZhbHVlIjoiOFllWW41MHQwVVBGUmk2cjZuMktDOXM1Q242bU9MZkNPUDYrekNKOUFSUEJaV2R2eG1yV1BvdGI0RVBEb1U0UWZZSVhXb1RtdXZLdFZsVVhvNjlwU0R5NDIxeEtBcUxiOGJiYmhPeHZ4WmdPdnZwcW5tVG5TWTQvMituLzFKS1giLCJtYWMiOiIzNGVmNWRhMDQ1MjkxZDc0ZTE3YjY0YjZkYzk2MmY4MzNmMjg3MTEzYzg3ZWQ2MDc0OGY4MmVkM2FjNTUyN2YwIiwidGFnIjoiIn0%3D; expires=Tue, 01 Apr 2025 20:02:57 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6ImdDREZDbFhoQUl1akV1aWFSOEhuUUE9PSIsInZhbHVlIjoiOFllWW41MHQwVVBGUmk2cjZuMktDOXM1Q242bU9MZkNPUDYrekNKOUFSUEJaV2R2eG1yV1BvdGI0RVBEb1U0UWZZSVhXb" 1 => "thestandardmediagroup_session=eyJpdiI6Ii9sK0pSb2QzVFA1Y01EelV0MHkwSWc9PSIsInZhbHVlIjoiRkZVV3ZSQmwzSENORVlNMDRrMENzU2llTkVFQmhvTFNZdG02Q3V6K0w1cXVBL1RvU2pNQzQxLzdnWTBqc1p4amtKT0lzM2ZTM3ZibjM5Zm1EQXlWMldtQ3Q5Z2tWQWVsb1lZc0N4TGFIOWtvemV4c0VNSVMwb2tBZ0thalJTWG0iLCJtYWMiOiI1NjM5YzcwN2RkOGM0ZGY3NmIwYTM3YzdmYTM3OTNhYzlkYmIzZTk3NzBkMDg5NWYzNzdlYzRlOWEzMTY1YjVhIiwidGFnIjoiIn0%3D; expires=Tue, 01 Apr 2025 20:02:57 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6Ii9sK0pSb2QzVFA1Y01EelV0MHkwSWc9PSIsInZhbHVlIjoiRkZVV3ZSQmwzSENORVlNMDRrMENzU2llTkVFQmhvTFNZdG02Q3V6K0w1cXVBL1RvU2pNQzQxLz" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImdDREZDbFhoQUl1akV1aWFSOEhuUUE9PSIsInZhbHVlIjoiOFllWW41MHQwVVBGUmk2cjZuMktDOXM1Q242bU9MZkNPUDYrekNKOUFSUEJaV2R2eG1yV1BvdGI0RVBEb1U0UWZZSVhXb1RtdXZLdFZsVVhvNjlwU0R5NDIxeEtBcUxiOGJiYmhPeHZ4WmdPdnZwcW5tVG5TWTQvMituLzFKS1giLCJtYWMiOiIzNGVmNWRhMDQ1MjkxZDc0ZTE3YjY0YjZkYzk2MmY4MzNmMjg3MTEzYzg3ZWQ2MDc0OGY4MmVkM2FjNTUyN2YwIiwidGFnIjoiIn0%3D; expires=Tue, 01-Apr-2025 20:02:57 GMT; path=/XSRF-TOKEN=eyJpdiI6ImdDREZDbFhoQUl1akV1aWFSOEhuUUE9PSIsInZhbHVlIjoiOFllWW41MHQwVVBGUmk2cjZuMktDOXM1Q242bU9MZkNPUDYrekNKOUFSUEJaV2R2eG1yV1BvdGI0RVBEb1U0UWZZSVhXb" 1 => "thestandardmediagroup_session=eyJpdiI6Ii9sK0pSb2QzVFA1Y01EelV0MHkwSWc9PSIsInZhbHVlIjoiRkZVV3ZSQmwzSENORVlNMDRrMENzU2llTkVFQmhvTFNZdG02Q3V6K0w1cXVBL1RvU2pNQzQxLzdnWTBqc1p4amtKT0lzM2ZTM3ZibjM5Zm1EQXlWMldtQ3Q5Z2tWQWVsb1lZc0N4TGFIOWtvemV4c0VNSVMwb2tBZ0thalJTWG0iLCJtYWMiOiI1NjM5YzcwN2RkOGM0ZGY3NmIwYTM3YzdmYTM3OTNhYzlkYmIzZTk3NzBkMDg5NWYzNzdlYzRlOWEzMTY1YjVhIiwidGFnIjoiIn0%3D; expires=Tue, 01-Apr-2025 20:02:57 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6Ii9sK0pSb2QzVFA1Y01EelV0MHkwSWc9PSIsInZhbHVlIjoiRkZVV3ZSQmwzSENORVlNMDRrMENzU2llTkVFQmhvTFNZdG02Q3V6K0w1cXVBL1RvU2pNQzQxLz" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "MbXsjkaZrneGuPEBLfF6WQ2xg5khdY2Wxj6hnUOA" "offset" => 0 "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/article/2001510450/alarm-as-bars-thrive-near-schools-raising-drugs-learning-concerns?utm_cmp_rs=amp-next-page" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-02 12:33:57GET/main-staging/article/2001510450/alarm-as-bars-thrive-near-schools-raising-drugs-learning-concerns?utm_cmp_rs=amp-next-page1136470