petasda.ngodingyuks.com Open in urlscan Pro
217.21.72.99  Public Scan

URL: https://petasda.ngodingyuks.com/
Submission: On May 13 via api from US — Scanned from SG

Form analysis 0 forms found in the DOM

Text Content

ErrorException: Attempt to read property "id" on null in file /home/u1578156/public_html/peta_sda/app/Http/Controllers/PetaCont.php on line 19

#0 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /home/u1578156/public_html/peta_sda/app/Http/Controllers/PetaCont.php(19): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\PetaCont->peta()
#3 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#4 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#5 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#6 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#7 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#8 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#9 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#10 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#11 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#12 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#13 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#14 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#15 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#16 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#17 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#18 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#19 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#20 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#21 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#22 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then()
#23 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#24 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#25 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\Router->dispatchToRoute()
#26 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()
#27 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#28 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#30 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#31 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#33 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#34 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#35 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#36 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#37 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#38 /home/u1578156/public_html/peta_sda/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#39 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Fruitcake\Cors\HandleCors->handle()
#40 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#41 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle()
#42 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#43 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#44 /home/u1578156/public_html/peta_sda/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#45 /home/u1578156/public_html/peta_sda/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle()
#46 {main}


 * Stack
 * Context
 * Debug
 * Flare

 * Share
   
   SHARE WITH FLARE
   
   Docs
    * Stack
    * Context
    * Debug
   
   Create Share
 * Docs

 * IGNITION SETTINGS
   
   Docs
   Editor
   ClipboardSublimeTextMateEmacsMacVimPhpStormPHPStorm RemoteIdeaVS CodeVS Code
   InsidersVS Code RemoteVS Code Insiders RemoteVS CodiumAtomNovaNetBeansXdebug
   
   Theme
   auto
   Save settings
   
   Settings will be saved locally in ~/.ignition.json.

Attempt to read property "id" on null
ErrorException
PHP 8.1.269.52.16
Attempt to read property "id" on null

Expand vendor frames
 1. App \ Http \ Controllers \ PetaCont : 19
    peta
 2. 
 3. 44 vendor frames

app / Http / Controllers / PetaCont.php : 19

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

<?php

namespace App\Http\Controllers;
use App\Models\Layer;
use App\Models\Klasifikasi;
use App\Models\WarnaLayer;
use App\Models\Log;
use Illuminate\Support\Facades\Auth;

use Illuminate\Http\Request;

class PetaCont extends Controller
{
    function peta() {
        $layer = Layer::all();
        $klasifikasi = Klasifikasi::all();

        $log = new Log;
        $log->id_user = Auth::user()->id;
        $log->aktivitas = 'Mengakses halaman peta';
        $log->save();

        return view('peta.index', compact('layer','klasifikasi'));
    }

}


 * App
   * Routing
 * Request
   * Browser
   * Headers
   * Body
 * Context
   * Versions


APP


ROUTING

Controller

App\Http\Controllers\PetaCont@peta


Middleware

 * web
   
   


REQUEST

https://petasda.ngodingyuks.com/
GET

curl "https://petasda.ngodingyuks.com/" \
   -X GET \
   -H 'accept: 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' \
   -H 'accept-encoding: gzip, deflate, br, zstd' \
   -H 'accept-language: zh-SG,zh;q=0.9;q=0.9' \
   -H 'host: petasda.ngodingyuks.com' \
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
   -H 'sec-ch-ua: "Google Chrome";v="124", "Not:A-Brand";v="8", "Chromium";v="124"' \
   -H 'sec-ch-ua-mobile: ?0' \
   -H 'sec-ch-ua-platform: "Win32"' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'sec-fetch-site: none' \
   -H 'sec-fetch-mode: navigate' \
   -H 'sec-fetch-user: ?1' \
   -H 'sec-fetch-dest: document' \
   -H 'priority: u=0, i';




BROWSER

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36




HEADERS

accept

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


accept-encoding

gzip, deflate, br, zstd


accept-language

zh-SG,zh;q=0.9;q=0.9


host

petasda.ngodingyuks.com


user-agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36


sec-ch-ua

"Google Chrome";v="124", "Not:A-Brand";v="8", "Chromium";v="124"


sec-ch-ua-mobile

?0


sec-ch-ua-platform

"Win32"


upgrade-insecure-requests

1


sec-fetch-site

none


sec-fetch-mode

navigate


sec-fetch-user

?1


sec-fetch-dest

document


priority

u=0, i




BODY

[]




CONTEXT


VERSIONS

Php Version

8.1.26


Laravel Version

9.52.16


Laravel Locale

en


Laravel Config Cachedfalse
App Debugtrue
App Env

local


 * 2Queries

下午6:28:24
Runtime 4.31ms
Connection mysql

select * from `layer`


下午6:28:24
Runtime 0.46ms
Connection mysql

select * from `klasifikasi`


 * 
 * ·
 * Source
 * ·
 * Docs
 * ·
 * Laravel

Ignition is built byFlare, the Laravel error reporting service.