Internal Server Error
Error
Call to undefined method App\Support\ArticleReferences::normalizeRef()
app\/Support\/ArticleReferences.php :228
app\/Support\/ArticleReferences.php :214
app\/Support\/ArticleReferences.php :106
app/Http/Controllers/ArticleController.php :257
app/Http/Controllers/SlugController.php :81
vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php :46
vendor/laravel/framework/src/Illuminate/Routing/Route.php :265
vendor/laravel/framework/src/Illuminate/Routing/Route.php :211
vendor/laravel/framework/src/Illuminate/Routing/Router.php :808
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :169
app/Http/Middleware/AdminAuditTrail.php :15
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/SearchMonitor.php :16
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrafficIntelligence.php :17
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackSecurityEvents.php :21
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackArticleView.php :23
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackPageView.php :39
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/SecurityHeaders.php :24
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php :50
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php :87
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php :48
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php :120
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php :63
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php :36
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php :74
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app\/Http\/Middleware\/LangCookieRedirect.php :57
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app\/Http\/Middleware\/ActiveDefense.php :58
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :126
vendor/laravel/framework/src/Illuminate/Routing/Router.php :807
vendor/laravel/framework/src/Illuminate/Routing/Router.php :786
vendor/laravel/framework/src/Illuminate/Routing/Router.php :750
vendor/laravel/framework/src/Illuminate/Routing/Router.php :739
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :200
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :169
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php :21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php :31
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php :21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php :51
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php :27
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php :109
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php :48
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php :58
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php :22
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php :26
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :126
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :175
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :144
vendor/laravel/framework/src/Illuminate/Foundation/Application.php :1206
app/Http/Controllers/EnglishSiteController.php :217
vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php :46
vendor/laravel/framework/src/Illuminate/Routing/Route.php :265
vendor/laravel/framework/src/Illuminate/Routing/Route.php :211
vendor/laravel/framework/src/Illuminate/Routing/Router.php :808
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :169
app/Http/Middleware/AdminAuditTrail.php :15
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/SearchMonitor.php :16
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrafficIntelligence.php :17
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackSecurityEvents.php :21
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackArticleView.php :26
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/TrackPageView.php :39
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app/Http/Middleware/SecurityHeaders.php :24
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php :50
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php :87
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php :48
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php :120
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php :63
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php :36
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php :74
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app\/Http\/Middleware\/LangCookieRedirect.php :91
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
app\/Http\/Middleware\/ActiveDefense.php :58
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :126
vendor/laravel/framework/src/Illuminate/Routing/Router.php :807
vendor/laravel/framework/src/Illuminate/Routing/Router.php :786
vendor/laravel/framework/src/Illuminate/Routing/Router.php :750
vendor/laravel/framework/src/Illuminate/Routing/Router.php :739
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :200
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :169
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php :21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php :31
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php :21
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php :51
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php :27
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php :109
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php :48
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php :58
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php :22
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php :26
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :208
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :126
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :175
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php :144
vendor/laravel/framework/src/Illuminate/Foundation/Application.php :1219
public/index.php :20
Request
GET /transitional-criminal-code-old-vs-new-articles
Headers
host
www.literasihukum.com
user-agent
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
accept
*/*
accept-language
en-us,en;q=0.5
accept-charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
accept-encoding
br
connection
close
x-forwarded-for
198.244.242.227
x-forwarded-proto
https
x-real-ip
198.244.242.227
x-real-port
49760
x-forwarded-port
443
x-port
443
x-lscache
1
x-lh-english-proxy
1
x-lh-internal-render
1
Body
No body data
Application
Routing
controller
App\Http\Controllers\SlugController@show
route name
articles.show
middleware
web
Routing Parameters
{
    "slug": "perkara-transisi-kuhp-pasal-lama-vs-pasal-baru"
}
Database Queries
mysql
select column_name as `name`, data_type as `type_name`, column_type as `type`, collation_name as `collation`, is_nullable as `nullable`, column_default as `default`, column_comment as `comment`, generation_expression as `expression`, extra as `extra` from information_schema.columns where table_schema = schema() and table_name = 'articles' order by ordinal_position asc
mysql
select * from `cache` where `key` in ('literasi_hukum_indonesia_cache_lh_waf_bans_table')
mysql
select * from `firewall_bans` where `ip` = '198.244.242.227' limit 1
mysql
select exists (select 1 from information_schema.tables where table_schema = schema() and table_name = 'english_slug_maps' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as `exists`
mysql
select * from `cache` where `key` in ('literasi_hukum_indonesia_cache_lh:en_slug:by_en:article:7fc65c6a18cf881f0094cac5625de210abf08075')
mysql
select * from `english_slug_maps` where `type` = 'article' and `en_slug` = 'criminal-code-transition-cases-judges-encouraged-to-firmly-choose-the-old-or-new-articles-that-are-most-advantageous' limit 1
mysql
insert into `cache` (`expiration`, `key`, `value`) values (1770822379, 'literasi_hukum_indonesia_cache_lh:en_slug:by_en:article:7fc65c6a18cf881f0094cac5625de210abf08075', 's:46:"perkara-transisi-kuhp-pasal-lama-vs-pasal-baru";') on duplicate key update `expiration` = values(`expiration`), `key` = values(`key`), `value` = values(`value`)
mysql
select * from `page_translations` where `lang` = 'en' and `path` = '/perkara-transisi-kuhp-pasal-lama-vs-pasal-baru' and `query` = '' order by `id` desc limit 1
mysql
select * from `cache` where `key` in ('literasi_hukum_indonesia_cache_lh_waf_bans_table')
mysql
select * from `firewall_bans` where `ip` = '198.244.242.227' limit 1
mysql
select * from `cms_pages` where `status` = 'published' and `slug` = 'perkara-transisi-kuhp-pasal-lama-vs-pasal-baru' and `cms_pages`.`deleted_at` is null limit 1
mysql
select * from `articles` where `slug` = 'perkara-transisi-kuhp-pasal-lama-vs-pasal-baru' and `articles`.`deleted_at` is null limit 1
mysql
select * from `articles` where `slug` = 'perkara-transisi-kuhp-pasal-lama-vs-pasal-baru' and `articles`.`deleted_at` is null limit 1
mysql
select * from `users` where `users`.`id` in (47)
mysql
select * from `categories` where `categories`.`id` in (166)
mysql
select exists (select 1 from information_schema.tables where table_schema = schema() and table_name = 'article_translations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as `exists`
mysql
select * from `article_translations` where `article_translations`.`article_id` = 1088 and `article_translations`.`article_id` is not null and `lang` = 'en' and `is_active` = '1' limit 1
mysql
select * from `articles` where `status` = 'published' and (`published_at` is null or `published_at` <= '2026-01-28 22:06:19') and `id` != 1088 and `category_id` = 166 and `type` = 'berita' and `articles`.`deleted_at` is null order by `published_at` desc limit 12
mysql
select * from `categories` where `categories`.`id` in (166)
mysql
select * from `users` where `users`.`id` in (47)
mysql
select * from `articles` where `status` = 'published' and (`published_at` is null or `published_at` <= '2026-01-28 22:06:19') and `id` != 1088 and `id` not in (1160, 1157, 1153, 1152, 1149, 1134, 1135, 1124, 1112, 1108, 1101, 1098, 1088) and `articles`.`deleted_at` is null order by `view_count` desc, `published_at` desc limit 6
mysql
select * from `categories` where `categories`.`id` in (5, 95, 96, 147)
mysql
select * from `users` where `users`.`id` in (47, 2738, 3065)
mysql
select * from `articles` where `status` = 'published' and (`published_at` is null or `published_at` <= '2026-01-28 22:06:19') and `id` != 1088 and (`type` = 'berita' or exists (select * from `categories` where `articles`.`category_id` = `categories`.`id` and (`slug` like '%berita%' or `name` like '%berita%' or `slug` like '%news%' or `name` like '%news%' or `slug` like '%warta%' or `name` like '%warta%'))) and `id` not in (1160, 1157, 1153, 1152, 1149, 1134, 1135, 1124, 1112, 1108, 1101, 1098, 1088) and `articles`.`deleted_at` is null order by `published_at` desc limit 6
mysql
select * from `categories` where `categories`.`id` in (148, 150, 167, 195)
mysql
select * from `users` where `users`.`id` in (47, 3204)
mysql
select * from `articles` where `status` = 'published' and (`published_at` is null or `published_at` <= '2026-01-28 22:06:19') and `id` != 1088 and `type` = 'ruang_publik' and `id` not in (1160, 1157, 1153, 1152, 1149, 1134, 1135, 1124, 1112, 1108, 1101, 1098, 1088) and `articles`.`deleted_at` is null order by `published_at` desc limit 6
mysql
select * from `categories` where `categories`.`id` in (174, 176, 178, 179, 186)
mysql
select * from `users` where `users`.`id` in (2606, 2738, 3193, 3224, 3242)