{ $this->middleware('language'); $this->middleware('country'); } public function landing(Request $request) { return view('welcome'); } public function allProducts(Request $request) { $user = Auth::user(); $catID = $request->cat_id; if (!$catID) { return redirect()->route('home'); } $category = Category::find($catID); $catIDs = $category->childrenIDs(); $root = $category->rootCategory(); if (!$category) { return redirect()->route('home'); } //if($category->category_id == 0) //return redirect()->route('home'); $items = 20; $current = (int)$request->current; if (!$current) { $current = 1; } $limit = $current * $items;
"Call to a member function childrenIDs() on null"
Key | Value |
PATH | "/usr/local/bin:/usr/bin:/bin"
|
TEMP | "/tmp"
|
TMP | "/tmp"
|
TMPDIR | "/tmp"
|
PWD | "/"
|
HTTP_ACCEPT | "*/*"
|
CONTENT_LENGTH | "0"
|
HTTP_HOST | "www.websites-archive.net"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_X_FORWARDED_HOST | "www.websites-archive.net"
|
HTTP_X_FORWARDED_PORT | "443"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_X_FORWARDED_SERVER | "www.websites-archive.net"
|
HTTP_X_REAL_IP | "44.204.34.64"
|
REDIRECT_UNIQUE_ID | "ZgWrA-_oDiTTJwSYFmIFBwAAAAM"
|
REDIRECT_HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
UNIQUE_ID | "ZgWrA-_oDiTTJwSYFmIFBwAAAAM"
|
HTTPS | "on"
|
SERVER_SIGNATURE | "<address>Apache Server at www.websites-archive.net Port 443</address>\n"
|
SERVER_SOFTWARE | "Apache"
|
SERVER_NAME | "www.websites-archive.net"
|
SERVER_ADDR | "82.192.84.76"
|
SERVER_PORT | "443"
|
REMOTE_ADDR | "44.204.34.64"
|
DOCUMENT_ROOT | "/home/websites/public_html"
|
REQUEST_SCHEME | "https"
|
CONTEXT_PREFIX | "" |
CONTEXT_DOCUMENT_ROOT | "/home/websites/public_html"
|
SERVER_ADMIN | "webmaster@websites-archive.net"
|
SCRIPT_FILENAME | "/home/websites/public_html/joprestige/index.php"
|
REMOTE_PORT | "39894"
|
REDIRECT_URL | "/joprestige/products/www.googleplus.com"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
REQUEST_URI | "/joprestige/products/www.googleplus.com"
|
SCRIPT_NAME | "/joprestige/index.php"
|
PHP_SELF | "/joprestige/index.php"
|
REQUEST_TIME_FLOAT | 1711647492.4277
|
REQUEST_TIME | 1711647492
|
APP_NAME | "Laravel"
|
APP_ENV | "local"
|
APP_KEY | "base64:69fBtKuDF32WTpZ9113RNc1FylaAbpHLglzyxb8DE38="
|
APP_DEBUG | "true"
|
APP_URL | "http://localhost"
|
LOG_CHANNEL | "stack"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "websites_joprestige"
|
DB_USERNAME | "websites_foz"
|
DB_PASSWORD | "PL8zmp-W!ZfR"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
QUEUE_CONNECTION | "sync"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "smtp.mailtrap.io"
|
MAIL_PORT | "2525"
|
MAIL_USERNAME | "null"
|
MAIL_PASSWORD | "null"
|
MAIL_ENCRYPTION | "null"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1"
|
Key | Value |
PATH | "/usr/local/bin:/usr/bin:/bin"
|
TEMP | "/tmp"
|
TMP | "/tmp"
|
TMPDIR | "/tmp"
|
PWD | "/"
|
APP_NAME | "Laravel"
|
APP_ENV | "local"
|
APP_KEY | "base64:69fBtKuDF32WTpZ9113RNc1FylaAbpHLglzyxb8DE38="
|
APP_DEBUG | "true"
|
APP_URL | "http://localhost"
|
LOG_CHANNEL | "stack"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "websites_joprestige"
|
DB_USERNAME | "websites_foz"
|
DB_PASSWORD | "PL8zmp-W!ZfR"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
QUEUE_CONNECTION | "sync"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "smtp.mailtrap.io"
|
MAIL_PORT | "2525"
|
MAIL_USERNAME | "null"
|
MAIL_PASSWORD | "null"
|
MAIL_ENCRYPTION | "null"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1"
|