->get(); $data['slides'] = Slide::with('translations')->get(); return view('home')->with($data); } public function catData($slug = null) { $data['cat'] = ProductSerie::where('slug', $slug)->first(); $data['catAll'] = ProductSerie::get(); $data['products'] = $data['cat']->getItems()->orderByRaw('LENGTH(model)', 'ASC')->orderBy('model', 'ASC')->get(); $data['productDetail'] = Product::leftJoin('product_type', 'Products.product_serie', '=', 'product_type.id')->orderBy('model_type', 'ASC')->get(); return view('categories')->with($data); } public function productSingle($cat_name = null,$slug = null) { $data['cat'] = ProductSerie::where('slug', $cat_name)->first(); $data['product'] = Product::where('slug', $slug)->first(); $data['serie'] = $data['product']->getSerie()->first(); $data['type'] = $data['product']->getType()->first(); $data['modelTable'] = ModelTable::where('model_id',$data['serie']->id )->where('type_id',$data['product']->product_serie )->orderByRaw('CONVERT(model, SIGNED)', 'ASC')->orderBy('model', 'ASC')->get(); $data['plasticFootA'] = PlacticFoot::where('active','1')->get(); $data['plasticFoot'] = PlacticFoot::get(); $data['options'] = Options::get(); $data['PlasticFootConnection'] = PlasticFootConnection::get(); $data['metalFootA'] = MetalFoot::where('active','1')->get(); $data['metalFoot'] = MetalFoot::get(); $data['MetalFootConnection'] = MetalFootConnection::get(); $data['SeperatorMesur'] = SeperatorMesur::get(); $data['CableAbsoluter'] = CableAbsoluter::orderByRaw('LENGTH(name)', 'ASC')->orderBy('name', 'ASC')->get(); $data['stepFiles'] = StepFile::get(); $data['youtube'] = Application::where('product_id', $data['product']->id)->first(); $data['productDetail'] = Product::leftJoin('product_type', 'Products.product_serie', '=', 'product_type.id')->orderBy('model_type', 'ASC')->get(); $json = json_decode($data['product']->stepfiles,true); $data['step'] = ''; if($json){ $data['step'] = $json[0];}
"Call to a member function getSerie() on null"
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin"
|
HTTP_ACCEPT | "*/*"
|
HTTP_HOST | "ckscabledragchain.com"
|
HTTP_USER_AGENT | "claudebot"
|
DOCUMENT_ROOT | "/home/cksenglish/public_html"
|
REMOTE_ADDR | "54.221.43.155"
|
REMOTE_PORT | "60984"
|
SERVER_ADDR | "77.245.159.20"
|
SERVER_NAME | "ckscabledragchain.com"
|
SERVER_ADMIN | "webmaster@ckscabledragchain.com"
|
SERVER_PORT | "443"
|
REQUEST_SCHEME | "https"
|
REQUEST_URI | "/products/plastic-ultra-heavy-serie/ck110-aly-serisi-plastik-agir-hareketli-kablo-tasiyicisi"
|
REDIRECT_URL | "/public/products/plastic-ultra-heavy-serie/ck110-aly-serisi-plastik-agir-hareketli-kablo-tasiyicisi"
|
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
X_SPDY | "HTTP2"
|
SSL_PROTOCOL | "TLSv1.2"
|
SSL_CIPHER | "ECDHE-RSA-AES256-GCM-SHA384"
|
SSL_CIPHER_USEKEYSIZE | "256"
|
SSL_CIPHER_ALGKEYSIZE | "256"
|
SCRIPT_FILENAME | "/home/cksenglish/public_html/public/index.php"
|
QUERY_STRING | "" |
SCRIPT_URI | "https://ckscabledragchain.com/products/plastic-ultra-heavy-serie/ck110-aly-serisi-plastik-agir-hareketli-kablo-tasiyicisi"
|
SCRIPT_URL | "/products/plastic-ultra-heavy-serie/ck110-aly-serisi-plastik-agir-hareketli-kablo-tasiyicisi"
|
SCRIPT_NAME | "/public/index.php"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
SERVER_SOFTWARE | "LiteSpeed"
|
REQUEST_METHOD | "GET"
|
X-LSCACHE | "on"
|
PHP_SELF | "/public/index.php"
|
REQUEST_TIME_FLOAT | 1711668944.3732
|
REQUEST_TIME | 1711668944
|
APP_NAME | "Laravel"
|
APP_ENV | "local"
|
APP_KEY | "base64:XFklK4CY6DLgSWzIYD8bN/s4t7MABEn4A04o1A0Wu0M="
|
APP_DEBUG | "true"
|
APP_LOG_LEVEL | "debug"
|
APP_URL | "https://ckscabledragchain.com"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "cksenglish_cksengli_s"
|
DB_USERNAME | "cksenglish_user"
|
DB_PASSWORD | "ef$&YZ}%i!~G"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
QUEUE_DRIVER | "sync"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "mail.cks.com.tr"
|
MAIL_PORT | "587"
|
MAIL_USERNAME | "mailer@cks.com.tr"
|
MAIL_PASSWORD | "!I)k3oo$A$A~"
|
MAIL_ENCRYPTION | "tls"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin"
|
APP_NAME | "Laravel"
|
APP_ENV | "local"
|
APP_KEY | "base64:XFklK4CY6DLgSWzIYD8bN/s4t7MABEn4A04o1A0Wu0M="
|
APP_DEBUG | "true"
|
APP_LOG_LEVEL | "debug"
|
APP_URL | "https://ckscabledragchain.com"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "cksenglish_cksengli_s"
|
DB_USERNAME | "cksenglish_user"
|
DB_PASSWORD | "ef$&YZ}%i!~G"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
QUEUE_DRIVER | "sync"
|
REDIS_HOST | "127.0.0.1"
|
REDIS_PASSWORD | "null"
|
REDIS_PORT | "6379"
|
MAIL_DRIVER | "smtp"
|
MAIL_HOST | "mail.cks.com.tr"
|
MAIL_PORT | "587"
|
MAIL_USERNAME | "mailer@cks.com.tr"
|
MAIL_PASSWORD | "!I)k3oo$A$A~"
|
MAIL_ENCRYPTION | "tls"
|
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1"
|