Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
- Call to a member function move() on null
- COPY
- Application frames (1) All frames (1)
- 0
- Symfony\Component\Debug\Exception\FatalThrowableError
- …/app/Http/Controllers/Management/UmkmBlogsController.php63
- /var/www/html/laravel/app/Http/Controllers/Management/UmkmBlogsController.php
- *
- * @return void
- */
- public function edit($id) {
- return view("management.blogs.form", [
- "activeMenu" => "blogs",
- "formAction" => "management/blogs/update",
- "pageTitle" => "Edit Artikel",
- "current" => UmkmBlogs::findOrFail($id)
- ]);
- }
- /**
- * [store description]
- * @return [type] [description]
- */
- public function store(Request $request) {
- $file = $request->file('picture');
- //upload file
- $file->move('uploads/blogs/',$file->getClientOriginalName());
- UmkmBlogs::create([
- "umkm_id" => Auth::user()->id,
- "title" => $request->title,
- "seotitle" => Str::slug($request->title),
- "content" => $request->content,
- "picture" => $file->getClientOriginalName(),
- "view" => 0
- ]);
- return redirect('/management/blogs');
- }
- /**
- * Update
- */
- public function update(Request $request) {
- $form = UmkmBlogs::findOrFail($request->id);
- $form->title = $request->title;
- Arguments
- "Call to a member function move() on null"
- Environment & details:
- GET Data empty
- POST Data
- _token
- "UFr4qv0ggspPzk3UXDW7VG3PMTQsmN2UaheZ6eRg"
- title
- ""
- content
- "TP LINK TL-WR849N - Remote Code Execution"
- Files
- picture
- array:5 [▶]
- Cookies
- XSRF-TOKEN
- "eyJpdiI6Ilwvc0ZnSDY0YnMwVDRFVmRVN1wvbzVXdz09IiwidmFsdWUiOiJGWDIzNFBQXC9iMHJXRTkzNmU1bG1FZXVPb3ZpaVwvejNkRWNCc2VjQkh5V1d1Q2k5cGF2ek0rSmt4MHJDV1NoeFMiLCJtYWMiOiIx ▶"
- laravel_session
- "eyJpdiI6IldWTDNncHgza2NnOGtKdjBkY1NtWUE9PSIsInZhbHVlIjoiUTd0QWxrOXlHY1VlWWgwd0ROazdodzJ6T0ZFMXExeHRKTCtFZmpvU0lDVjUra1V2SXVBVFo4Mmo3S2VmbksyUiIsIm1hYyI6ImRhMTg1 ▶"
- Session empty
- Server/Request Data
- REDIRECT_UNIQUE_ID
- "XmY@KjwyJh2H81yMefg62QAAAAI"
- REDIRECT_HTTPS
- "on"
- REDIRECT_SSL_TLS_SNI
- "umkm.bogorkab.go.id"
- REDIRECT_STATUS
- "200"
- UNIQUE_ID
- "XmY@KjwyJh2H81yMefg62QAAAAI"
- HTTPS
- "on"
- SSL_TLS_SNI
- "umkm.bogorkab.go.id"
- SSL_SERVER_S_DN_C
- "ID"
- SSL_SERVER_S_DN_ST
- "Jawa Barat"
- SSL_SERVER_S_DN_L
- "Bogor"
- SSL_SERVER_S_DN_O
- "Dinas komunikasi dan informatika kabupaten bogor"
- SSL_SERVER_S_DN_OU
- "seksi keamanan informasi"
- SSL_SERVER_S_DN_CN
- "*.bogorkab.go.id"
- SSL_SERVER_I_DN_C
- "US"
- SSL_SERVER_I_DN_O
- "DigiCert Inc"
- SSL_SERVER_I_DN_CN
- "DigiCert SHA2 Secure Server CA"
- SSL_SERVER_SAN_DNS_0
- "*.bogorkab.go.id"
- SSL_SERVER_SAN_DNS_1
- "bogorkab.go.id"
- SSL_VERSION_INTERFACE
- "mod_ssl/2.4.6"
- SSL_VERSION_LIBRARY
- "OpenSSL/1.0.2k-fips"
- SSL_PROTOCOL
- "TLSv1.2"
- SSL_SECURE_RENEG
- "true"
- SSL_COMPRESS_METHOD
- "NULL"
- SSL_CIPHER
- "ECDHE-RSA-AES128-GCM-SHA256"
- SSL_CIPHER_EXPORT
- "false"
- SSL_CIPHER_USEKEYSIZE
- "128"
- SSL_CIPHER_ALGKEYSIZE
- "128"
- SSL_CLIENT_VERIFY
- "NONE"
- SSL_SERVER_M_VERSION
- "3"
- SSL_SERVER_M_SERIAL
- "06C1F5847706F91027C8F0FF50AC102A"
- SSL_SERVER_V_START
- "Oct 8 00:00:00 2019 GMT"
- SSL_SERVER_V_END
- "Oct 14 12:00:00 2021 GMT"
- SSL_SERVER_S_DN
- "CN=*.bogorkab.go.id,OU=seksi keamanan informasi,O=Dinas komunikasi dan informatika kabupaten bogor,L=Bogor,ST=Jawa Barat,C=ID"
- SSL_SERVER_I_DN
- "CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US"
- SSL_SERVER_A_KEY
- "rsaEncryption"
- SSL_SERVER_A_SIG
- "sha256WithRSAEncryption"
- SSL_SESSION_ID
- "cb04635f0b41feb3dedf3925fcc1ba7b299e201d4472caa4fb4c71fa25f54278"
- SSL_SESSION_RESUMED
- "Resumed"
- HTTP_HOST
- "umkm.bogorkab.go.id"
- HTTP_CONNECTION
- "keep-alive"
- CONTENT_LENGTH
- "551"
- HTTP_CACHE_CONTROL
- "max-age=0"
- HTTP_ORIGIN
- "https://umkm.bogorkab.go.id"
- HTTP_UPGRADE_INSECURE_REQUESTS
- "1"
- HTTP_DNT
- "1"
- CONTENT_TYPE
- "multipart/form-data; boundary=----WebKitFormBoundary5tOYYZlpnOLux69K"
- HTTP_USER_AGENT
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
- HTTP_ACCEPT
- "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
- HTTP_REFERER
- "https://umkm.bogorkab.go.id/management/blogs/write"
- HTTP_ACCEPT_ENCODING
- "gzip, deflate, br"
- HTTP_ACCEPT_LANGUAGE
- "en-US,en;q=0.9,id;q=0.8,la;q=0.7,af;q=0.6,mt;q=0.5,ms;q=0.4,fr;q=0.3,de;q=0.2,pt;q=0.1"
- HTTP_COOKIE
- "XSRF-TOKEN=eyJpdiI6Ilwvc0ZnSDY0YnMwVDRFVmRVN1wvbzVXdz09IiwidmFsdWUiOiJGWDIzNFBQXC9iMHJXRTkzNmU1bG1FZXVPb3ZpaVwvejNkRWNCc2VjQkh5V1d1Q2k5cGF2ek0rSmt4MHJDV1NoeFMiL ▶"
- PATH
- "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
- SERVER_SIGNATURE
- ""
- SERVER_SOFTWARE
- "Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.16"
- SERVER_NAME
- "umkm.bogorkab.go.id"
- SERVER_ADDR
- "192.168.113.150"
- SERVER_PORT
- "443"
- REMOTE_ADDR
- "115.178.222.149"
- DOCUMENT_ROOT
- "/var/www/html/laravel/public"
- REQUEST_SCHEME
- "https"
- CONTEXT_PREFIX
- ""
- CONTEXT_DOCUMENT_ROOT
- "/var/www/html/laravel/public"
- SERVER_ADMIN
- "root@localhost"
- SCRIPT_FILENAME
- "/var/www/html/laravel/public/index.php"
- REMOTE_PORT
- "57190"
- REDIRECT_URL
- "/management/blogs/store"
- GATEWAY_INTERFACE
- "CGI/1.1"
- SERVER_PROTOCOL
- "HTTP/1.1"
- REQUEST_METHOD
- "POST"
- QUERY_STRING
- ""
- REQUEST_URI
- "/management/blogs/store"
- SCRIPT_NAME
- "/index.php"
- PHP_SELF
- "/index.php"
- REQUEST_TIME_FLOAT
- 1583758890.321
- REQUEST_TIME
- 1583758890
- APP_NAME
- "Laravel"
- APP_ENV
- "local"
- APP_KEY
- "base64:QUeN1XVZDRZfgj6ELNVYtoHSe5Jmlp8M0cDASgG0pXk="
- APP_DEBUG
- "true"
- APP_URL
- "http://localhost:8000"
- LOG_CHANNEL
- "stack"
- DB_CONNECTION
- "mysql"
- DB_HOST
- "localhost"
- DB_PORT
- "3306"
- DB_DATABASE
- "umkm_3"
- DB_USERNAME
- "root"
- DB_PASSWORD
- "@B0g0rk4b2019"
- 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
- "6fefec77f03a8a"
- MAIL_PASSWORD
- "c7945a67d049cd"
- 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"
- TWITTER_ID
- ""
- TWITTER_SECRET
- ""
- TWITTER_URL
- ""
- FB_ID
- ""
- FB_SECRET
- ""
- FB_URL
- ""
- GOOGLE_ID
- "394341693265-716ctbs793g2v1u7etm0607eph9ms40b.apps.googleusercontent.com"
- GOOGLE_SECRET
- "iV88QufdDXtOSWkVxQ2mej1k"
- GOOGLE_URL
- "http://localhost:8000/auth/google/callback"
- Environment Variables
- APP_NAME
- "Laravel"
- APP_ENV
- "local"
- APP_KEY
- "base64:QUeN1XVZDRZfgj6ELNVYtoHSe5Jmlp8M0cDASgG0pXk="
- APP_DEBUG
- "true"
- APP_URL
- "http://localhost:8000"
- LOG_CHANNEL
- "stack"
- DB_CONNECTION
- "mysql"
- DB_HOST
- "localhost"
- DB_PORT
- "3306"
- DB_DATABASE
- "umkm_3"
- DB_USERNAME
- "root"
- DB_PASSWORD
- "@B0g0rk4b2019"
- 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
- "6fefec77f03a8a"
- MAIL_PASSWORD
- "c7945a67d049cd"
- 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"
- TWITTER_ID
- ""
- TWITTER_SECRET
- ""
- TWITTER_URL
- ""
- FB_ID
- ""
- FB_SECRET
- ""
- FB_URL
- ""
- GOOGLE_ID
- "394341693265-716ctbs793g2v1u7etm0607eph9ms40b.apps.googleusercontent.com"
- GOOGLE_SECRET
- "iV88QufdDXtOSWkVxQ2mej1k"
- GOOGLE_URL
- "http://localhost:8000/auth/google/callback"
- Registered Handlers
- 0. Whoops\Handler\PrettyPageHandler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement