Mgx-System ⚠️ GENERAL

TypeError

💬 Exception Message

Modules\Urunler\Services\UrunServis::urunDetayliGetir(): Argument #1 ($urunId) must be of type int, null given, called in /home/ByMicro/web/sevel.giris.tr/public_html/Controllers/WebController.php on line 352

📍 Exception Origin (Hatanın Fırlatıldığı Yer)

File: /home/ByMicro/web/sevel.giris.tr/public_html/Modules/Urunler/Services/UrunServis.php
Line: 235
Code: 0
UrunServis.php
230 * 'videolar' => [...]
231 * ],
232 * 'ilgili_urunler' => [...]
233 * ]
234 */
235 public function urunDetayliGetir(int $urunId, string $dilKod = 'tr'): array
236 {
237 try {
238 // 1. Temel ürün bilgileri
239 $urun = $this->urunGetir($urunId, $dilKod);
240

🎯 Initial Trigger (İlk Tetiklendiği Yer)

File: /home/ByMicro/web/sevel.giris.tr/public_html/index.php
Line: 65
index.php
60try {
61 $mainRouter = new MainRouter();
62 $routes = $mainRouter->getRouter();
63
64 // Route dispatch et
65 $result = $mainRouter->dispatch();
66 if ($result) {
67 echo $result;
68 }
69
70} catch (\Exception $e) {

📚 Stack Trace (Tıklayarak kod görüntüleyin)

#0 Modules\Urunler\Services\UrunServis::urunDetayliGetir()
/home/ByMicro/web/sevel.giris.tr/public_html/Controllers/WebController.php:352
#1 Controllers\WebController::urunDetay()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Route.php:115
#2 Mgx\Router\Route::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Route.php:104
#3 Mgx\Router\Route::run()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:118
#4 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/LogMiddleware.php:48
#5 Middleware\LogMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#6 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/LogMiddleware.php:48
#7 Middleware\LogMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#8 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/CompressionMiddleware.php:71
#9 Middleware\CompressionMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#10 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/LogMiddleware.php:48
#11 Middleware\LogMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#12 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/LogMiddleware.php:48
#13 Middleware\LogMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#14 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/Middleware/LogMiddleware.php:48
#15 Middleware\LogMiddleware::handle()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:144
#16 Mgx\Router\Router::Mgx\Router\{closure}()
/home/ByMicro/web/sevel.giris.tr/public_html/vendor/mgx/router/src/Router.php:121
#17 Mgx\Router\Router::dispatch()
/home/ByMicro/web/sevel.giris.tr/public_html/Router/MainRouter.php:127
#18 Router\MainRouter::dispatch()
/home/ByMicro/web/sevel.giris.tr/public_html/index.php:65

🔍 Context

Array
(
    [exception_class] => TypeError
    [handled_by] => ErrorHandler::handleException
    [uncaught] => 1
)

🌐 Request Information

URL: /urun/index-2.html
Method: GET
IP: 216.73.216.51
User Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)