InvalidArgumentException
PHP 8.0.279.50.2
View [template4.overzicht] not found.
app / Http / Controllers / HomeController.php: 119
        $domainname = Domainname::where('domainname', $domain)->first();
        $startPage = null;
        if($domainname === null) {
            $startPage = DomainnameStartpage::where('domainname', $domain)->first();
            if($startPage === null) {
                return abort(404);
            }
        }

        if($rPage === 'overzicht') {
            if($startPage !== null) {
                $domainname = Domainname::find($startPage->domainname_id);
            }

            return view($domainname->template . '.overzicht', [
                'domainname' => $domainname,
            ]);
        }
        else if($rPage === 'order') {
            return view(($domainname ?: $startPage)->template . '.order', [
                'domainname' => $domainname ?? $startPage->domainnameDB,
                'startpage' => $startPage,
                'request' => $request,
            ]);
        }

        if($domainname === null) {
            return abort(404);
        }

Request

http://factuur-software.be/overzicht
GET
curl "http://factuur-software.be/overzicht" \
   -X GET \
   -H 'cdn-loop: cloudflare' \
   -H 'cf-ipcountry: SG' \
   -H 'cf-connecting-ip: 114.119.138.5' \
   -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.9' \
   -H 'accept-language: en' \
   -H 'user-agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'cache-control: no-cache' \
   -H 'pragma: no-cache' \
   -H 'cf-visitor: {"scheme":"https"}' \
   -H 'x-forwarded-proto: https' \
   -H 'cf-ray: 7a4c8c7f9d0e3d77-SIN' \
   -H 'x-forwarded-for: 114.119.138.5' \
   -H 'accept-encoding: gzip' \
   -H 'connection: Keep-Alive' \
   -H 'host: factuur-software.be';

Headers

cdn-loop
cloudflare
cf-ipcountry
SG
cf-connecting-ip
114.119.138.5
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.9
accept-language
en
user-agent
Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
upgrade-insecure-requests
1
cache-control
no-cache
pragma
no-cache
cf-visitor
{"scheme":"https"}
x-forwarded-proto
https
cf-ray
7a4c8c7f9d0e3d77-SIN
x-forwarded-for
114.119.138.5
accept-encoding
gzip
connection
Keep-Alive
host
factuur-software.be

Body

[]

App

Routing

Controller
App\Http\Controllers\HomeController@page
Middleware
  • web
  • cacheable:1440

Context

Versions

Php Version
8.0.27
Laravel Version
9.50.2
Laravel Locale
en
Laravel Config Cached
false
App Debug
true
App Env
production
4:45:29 PM
Runtime 1.64ms
Connection mysql
select * from `sessions` where `id` = ? limit 1
4:45:29 PM
Runtime 1.33ms
Connection mysql
select * from `domainnames` where `domainname` = ? limit 1