json_decode(): Argument #1 ($json) must be of type string, array given
App\Http\Controllers\ExamsPageControllerjson_decode()178 'examPrices' => ExamPrice::where('exam_id', $exam->exam_id)->get(),179 'teImages' => TeImage::where('exam_id', $exam->exam_id)->get(),180 'exam_topics' => ExamTopic::where('exam_id', $exam->exam_id)->get(),181 'exam_question_types' => QuestionType::where('exam_id', $exam->exam_id)->get(),182 'examFaqs' => ExamFaq::where('exam_id', $exam->exam_id)->get(),183 'examCerts' => json_decode($exam->exam_certs, true),184 ];185186 // XML practice test: show "Free Start Practice Test" when pack exists (uses latest version from xml_files)187 $examDetails['has_xml_practice_view'] = false;188 $examDetails['xml_practice_view_url'] = null;189 if ($exam->vendor_perma && $exam->exam_perma) {190 $storagePath = XmlTestEnginePack::findStoragePath($exam->vendor_perma, $exam->exam_perma);191 if ($storagePath !== null && $storagePath !== '') {192 $examDetails['has_xml_practice_view'] = true;193 $examDetails['xml_practice_view_url'] = url('/exams/' . $exam->vendor_perma . '/' . $exam->exam_perma . '/view');194 }195App\Http\Controllers\ExamsPageController->show()178 'examPrices' => ExamPrice::where('exam_id', $exam->exam_id)->get(),179 'teImages' => TeImage::where('exam_id', $exam->exam_id)->get(),180 'exam_topics' => ExamTopic::where('exam_id', $exam->exam_id)->get(),181 'exam_question_types' => QuestionType::where('exam_id', $exam->exam_id)->get(),182 'examFaqs' => ExamFaq::where('exam_id', $exam->exam_id)->get(),183 'examCerts' => json_decode($exam->exam_certs, true),184 ];185186 // XML practice test: show "Free Start Practice Test" when pack exists (uses latest version from xml_files)187 $examDetails['has_xml_practice_view'] = false;188 $examDetails['xml_practice_view_url'] = null;189 if ($exam->vendor_perma && $exam->exam_perma) {190 $storagePath = XmlTestEnginePack::findStoragePath($exam->vendor_perma, $exam->exam_perma);191 if ($storagePath !== null && $storagePath !== '') {192 $examDetails['has_xml_practice_view'] = true;193 $examDetails['xml_practice_view_url'] = url('/exams/' . $exam->vendor_perma . '/' . $exam->exam_perma . '/view');194 }195Illuminate\Routing\Controller->callAction()Illuminate\Routing\ControllerDispatcher->dispatch()Illuminate\Routing\Route->runController()Illuminate\Routing\Route->run()Illuminate\Routing\Router->Illuminate\Routing\{closure}()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Routing\Middleware\SubstituteBindings->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\View\Middleware\ShareErrorsFromSession->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Session\Middleware\StartSession->handleStatefulRequest()Illuminate\Session\Middleware\StartSession->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Cookie\Middleware\EncryptCookies->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Pipeline\Pipeline->then()Illuminate\Routing\Router->runRouteWithinStack()Illuminate\Routing\Router->runRoute()Illuminate\Routing\Router->dispatchToRoute()Illuminate\Routing\Router->dispatch()Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()Illuminate\Foundation\Http\Middleware\TrimStrings->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Http\Middleware\ValidatePostSize->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Http\Middleware\HandleCors->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Http\Middleware\TrustProxies->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Http\Middleware\ValidatePathEncoding->handle()Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()Illuminate\Pipeline\Pipeline->then()Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()Illuminate\Foundation\Http\Kernel->handle()Illuminate\Foundation\Application->handleRequest()public/index.php1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21select * from `single_exam` where `exam_perma` = 'crcm' limit 1select * from `vendors` where `vendor_id` = 213 limit 1select * from `single_exam` where `vendor_id` = 213 and `exam_questions` > 0 and `exam_id` != 158select * from `banners` where `is_enabled` = 1 order by `created_at` desc limit 1select * from `hot_exams` where `type` = 'week'select * from `hot_exams` where `type` = 'month'select * from `single_exam` where `exam_code` = 'MB-230' limit 1select * from `single_exam` where `exam_code` = 'CAS-004' limit 1select * from `single_exam` where `exam_code` = '220-1101' limit 1select * from `single_exam` where `exam_code` = 'DevOps-SRE' limit 1select * from `single_exam` where `exam_code` = 'MD-102' limit 1select * from `single_exam` where `exam_code` = 'AZ-204' limit 1select * from `single_exam` where `exam_code` = 'MB-910' limit 1select * from `single_exam` where `exam_code` = 'SC-200' limit 1select * from `single_exam` where `exam_code` = 'PL-600' limit 1select * from `single_exam` where `exam_code` = 'CISM' limit 1select * from `single_exam` where `exam_code` = 'ANS-C01' limit 1select * from `single_exam` where `exam_code` = 'CBAP' limit 1select * from `single_exam` where `exam_code` = 'MS-721' limit 1select * from `single_exam` where `exam_code` = '212-82' limit 1select * from `single_exam` where `exam_code` = '4A0-114' limit 1select * from `single_exam` where `exam_code` = 'CEH-001' limit 1select * from `single_exam` where `exam_code` = 'Okta-Certified-Professional' limit 1select * from `single_exam` where `exam_code` = 'BL0-100' limit 1select * from `single_exam` where `exam_code` = 'PL-200' limit 1select * from `single_exam` where `exam_code` = 'ACT-Test' limit 1select * from `single_exam` where `exam_code` = 'CWM_LEVEL_2' limit 1select * from `single_exam` where `exam_code` = 'GCP-GC-IMP' limit 1select * from `single_exam` where `exam_code` = 'GCP-GC-REP' limit 1select * from `single_exam` where `exam_code` = 'GCP-GC-ADM' limit 1select * from `single_exam` where `exam_code` = 'CMT-Level-II' limit 1select * from `single_exam` where `exam_code` = 'CSSLP' limit 1select * from `single_exam` where `exam_code` = 'F3' limit 1select * from `single_exam` where `exam_code` = 'ISO20KF' limit 1select * from `single_exam` where `exam_code` = 'CIS-SAM' limit 1select * from `single_exam` where `exam_code` = 'DMF-1220' limit 1select * from `single_exam` where `exam_code` = 'AZ-801' limit 1select * from `single_exam` where `exam_code` = 'NS0-162' limit 1select * from `single_exam` where `exam_code` = 'OG0-023' limit 1select * from `single_exam` where `exam_code` = 'C1000-130' limit 1select * from `single_exam` where `exam_code` = 'Databricks-Certified-Data-Engineer-Associate' limit 1select * from `single_exam` where `exam_code` = 'CGFM' limit 1select * from `single_exam` where `exam_code` = 'T1-GR1' limit 1select * from `single_exam` where `exam_code` = 'MB-310' limit 1select * from `single_exam` where `exam_code` = 'ACP-01301' limit 1select * from `single_exam` where `exam_code` = 'GMAT-Test' limit 1select * from `single_exam` where `exam_code` = 'AHM-510' limit 1select * from `single_exam` where `exam_code` = 'CAMS' limit 1select * from `single_exam` where `exam_code` = '101-500' limit 1select * from `single_exam` where `exam_code` = '300-630' limit 1select * from `single_exam` where `exam_code` = 'AD0-E117' limit 1select * from `single_exam` where `exam_code` = 'AZ-140' limit 1select * from `single_exam` where `exam_code` = 'Google-Analytics-Individual-Qualification' limit 1select * from `single_exam` where `exam_code` = 'CIS-HAM' limit 1select * from `single_exam` where `exam_code` = 'JavaScript-Developer-I' limit 1select * from `single_exam` where `exam_code` = '300-735' limit 1select * from `single_exam` where `exam_code` = '1z0-082' limit 1select * from `single_exam` where `exam_code` = 'ACP-01101' limit 1select * from `single_exam` where `exam_code` = 'PSE-SASE' limit 1select * from `single_exam` where `exam_code` = 'C1000-132' limit 1select * from `single_exam` where `exam_code` = 'HPE0-S59' limit 1select * from `single_exam` where `exam_code` = 'CCDAK' limit 1select * from `single_exam` where `exam_code` = 'PEGAPCBA87V1' limit 1select * from `single_exam` where `exam_code` = 'OGEA-103' limit 1select * from `single_exam` where `exam_code` = 'ASIS-CPP' limit 1select * from `single_exam` where `exam_code` = 'EX0-115' limit 1select * from `single_exam` where `exam_code` = 'CISSP-ISSAP' limit 1select * from `single_exam` where `exam_code` = 'ITIL-4-DITS' limit 1select * from `single_exam` where `exam_code` = 'PCCSA' limit 1select * from `single_exam` where `exam_code` = '4A0-113' limit 1select * from `single_exam` where `exam_code` = 'MCIA-Level-1' limit 1select * from `single_exam` where `exam_code` = 'CKA' limit 1select * from `single_exam` where `exam_code` = 'B2C-Commerce-Architect' limit 1select * from `single_exam` where `exam_code` = 'TCP-BW6' limit 1select * from `single_exam` where `exam_code` = 'GACE' limit 1select * from `single_exam` where `exam_code` = 'MS-700' limit 1select * from `single_exam` where `exam_code` = 'NetSuite-ERP-Consultant' limit 1select * from `single_exam` where `exam_code` = 'AD0-E213' limit 1select * from `single_exam` where `exam_code` = 'PHR' limit 1select * from `single_exam` where `exam_code` = 'CSA' limit 1select * from `single_exam` where `exam_code` = 'Professional-Cloud-Network-Engineer' limit 1select * from `single_exam` where `exam_code` = 'Marketing-Cloud-Email-Specialist' limit 1select * from `single_exam` where `exam_code` = 'MB-800' limit 1select * from `single_exam` where `exam_code` = 'IIA-CRMA' limit 1select * from `single_exam` where `exam_code` = 'PCAP-31-03' limit 1select * from `single_exam` where `exam_code` = 'CFE-Fraud-Prevention-and-Deterrence' limit 1select * from `single_exam` where `exam_code` = 'CFE-Investigation' limit 1select * from `single_exam` where `exam_code` = 'NS0-003' limit 1select * from `single_exam` where `exam_code` = 'H31-311_V2.5' limit 1select * from `single_exam` where `exam_code` = 'ARA-C01' limit 1select * from `single_exam` where `exam_code` = 'PMI-ACP' limit 1select * from `single_exam` where `exam_code` = 'HAAD-RN' limit 1select * from `single_exam` where `exam_code` = 'NCLEX-RN' limit 1select * from `single_exam` where `exam_code` = 'C_BRSOM_2020' limit 1select * from `single_exam` where `exam_code` = 'PL-500' limit 1select * from `single_exam` where `exam_code` = 'MSP-Foundation' limit 1select * from `single_exam` where `exam_code` = 'MCD-Level1-Delta' limit 1select * from `single_exam` where `exam_code` = 'PMI-RMP' limit 1select * from `single_exam` where `exam_code` = '212-89' limit 1select * from `single_exam` where `exam_code` = 'Marketing-Cloud-Developer' limit 1{
"vendor_perma": "aba",
"exam_perma": "crcm"
}