koza.re Open in urlscan Pro
212.224.88.195  Public Scan

Submitted URL: http://koza.re/
Effective URL: https://koza.re/
Submission: On May 28 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

ErrorException: Attempt to read property "frontend_additional_url" on null in file /home/admin/web/koza.re/public_html/app/Http/Controllers/IndexController.php on line 20

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


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

 * Docs

 * IGNITION SETTINGS
   
   Docs
   Editor
   SublimeTextMateEmacsMacVimPhpStormIdeaVS 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 "frontend_additional_url" on null
ErrorException
PHP 8.1.1710.11.0
Attempt to read property "frontend_additional_url" on null

Expand vendor frames
 1. Illuminate \ Foundation \ Bootstrap \ HandleExceptions : 20
    handleError
 2. 
 3. 1 vendor frame
 4. App \ Http \ Controllers \ IndexController : 20
    index
 5. 49 vendor frames
 6. public / index.php : 52
    [top]

app / Http / Controllers / IndexController.php : 20

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\OpenAIGenerator;
use App\Models\PaymentPlans;
use App\Models\Setting;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;

class IndexController extends Controller
{
    public function index(){


        $templates = OpenAIGenerator::all();
        $plans = PaymentPlans::where('type', 'subscription')->get();

        $setting = Setting::first();
        if ($setting->frontend_additional_url != null){
            return Redirect::to($setting->frontend_additional_url);
        }

        return view('index', compact('templates', 'plans'));
    }
}


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


REQUEST

https://koza.re/
GET

curl "https://koza.re/" \
   -X GET \
   -H 'accept-encoding: gzip, deflate, br' \
   -H 'sec-fetch-dest: document' \
   -H 'sec-fetch-user: ?1' \
   -H 'sec-fetch-mode: navigate' \
   -H 'sec-fetch-site: none' \
   -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-language: de-DE,de;q=0.9' \
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.126 Safari/537.36' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'cache-control: no-cache' \
   -H 'pragma: no-cache' \
   -H 'connection: close' \
   -H 'x-forwarded-for: 138.199.38.133' \
   -H 'host: koza.re';




HEADERS

accept-encoding

gzip, deflate, br


sec-fetch-dest

document


sec-fetch-user

?1


sec-fetch-mode

navigate


sec-fetch-site

none


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-language

de-DE,de;q=0.9


user-agent

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


upgrade-insecure-requests

1


cache-control

no-cache


pragma

no-cache


connection

close


x-forwarded-for

138.199.38.133


host

koza.re




BODY

[]




APP


ROUTING

Controller

App\Http\Controllers\IndexController@index


Route name

index


Middleware

 * web
   
   

 * localeSessionRedirect
   
   

 * localizationRedirect
   
   

 * localeViewPath
   
   


CONTEXT


VERSIONS

Php Version

8.1.17


Laravel Version

10.11.0


Laravel Locale

en


Laravel Config Cachedfalse
App Debugtrue
App Env

local


 * 5Queries

2:18:08 AM
Runtime 2.74ms
Connection mysql

select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'


2:18:08 AM
Runtime 1.76ms
Connection mysql

select * from `settings` limit 1


2:18:08 AM
Runtime 0.84ms
Connection mysql

select * from `openai`


2:18:08 AM
Runtime 0.55ms
Connection mysql

select * from `plans` where `type` = ?


2:18:08 AM
Runtime 0.62ms
Connection mysql

select * from `settings` limit 1