'subCurrent'=>'current', 'category'=>$category, 'tags'=>$tags, 'posts'=>$posts, 'popular_posts'=>$popular_posts, 'setting'=>$setting, ); return view('industry.category')->with($data); } public function tag($id) { $categories = $this->categories; $tags = $this->tags; $setting=$this->setting; $tag = Tag::where(['publication_status' => 1, 'id' => $id])->first(); $posts = $tag->posts()->where('publication_status', 1)->orderBy('post_date', 'desc')->paginate(10); $popular_posts = $tag->posts()->where('publication_status', 1)->orderBy('view_count', 'desc')->limit(9)->get(); $data = array( 'title' => 'contact', 'current'=>'Glancier', 'subCurrent'=>$tag->tag_name, 'posts'=> $posts, 'setting'=>$setting, 'tag'=>$tag, 'popular_posts'=>$popular_posts, ); return view('glancier.tag')->with($data); return view('web.tag')->with($data); } public function details($slug) {
"Call to a member function posts() on null"
Key | Value |
REDIRECT_SCRIPT_URL | "/tag/trade-show.html"
|
REDIRECT_SCRIPT_URI | "https://glancier.co.zw/tag/trade-show.html"
|
REDIRECT_HTTPS | "on"
|
REDIRECT_SSL_TLS_SNI | "glancier.co.zw"
|
REDIRECT_STATUS | "200"
|
SCRIPT_URL | "/tag/trade-show.html"
|
SCRIPT_URI | "https://glancier.co.zw/tag/trade-show.html"
|
HTTPS | "on"
|
SSL_TLS_SNI | "glancier.co.zw"
|
HTTP_ACCEPT | "*/*"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_HOST | "glancier.co.zw"
|
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
SERVER_SIGNATURE | "<address>Apache/2.4.41 (Ubuntu) Server at glancier.co.zw Port 443</address>\n"
|
SERVER_SOFTWARE | "Apache/2.4.41 (Ubuntu)"
|
SERVER_NAME | "glancier.co.zw"
|
SERVER_ADDR | "146.190.24.146"
|
SERVER_PORT | "443"
|
REMOTE_ADDR | "3.215.183.194"
|
DOCUMENT_ROOT | "/var/www/html/glancier.co.zw/"
|
REQUEST_SCHEME | "https"
|
CONTEXT_PREFIX | "" |
CONTEXT_DOCUMENT_ROOT | "/var/www/html/glancier.co.zw/"
|
SERVER_ADMIN | "atmarombedza@gmail.com"
|
SCRIPT_FILENAME | "/var/www/html/glancier.co.zw/index.php"
|
REMOTE_PORT | "47104"
|
REDIRECT_URL | "/tag/trade-show.html"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
REQUEST_URI | "/tag/trade-show.html"
|
SCRIPT_NAME | "/index.php"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711675019.252
|
REQUEST_TIME | 1711675019
|