Warning (2): Undefined array key 0 [APP/Controllers/PagesController.php, line 1083]Code Context '@type' => 'Question',
'name' => $faq->faq_descriptions[0]->question,
'acceptedAnswer' => (object)[
App\Controllers\PagesController::getFAQPage() - APP/Controllers/PagesController.php, line 1083
App\Application::run() - APP/Application.php, line 291
[main] - ROOT/webroot/index.php, line 223
Warning (2): Attempt to read property "question" on null [APP/Controllers/PagesController.php, line 1083]Code Context '@type' => 'Question',
'name' => $faq->faq_descriptions[0]->question,
'acceptedAnswer' => (object)[
App\Controllers\PagesController::getFAQPage() - APP/Controllers/PagesController.php, line 1083
App\Application::run() - APP/Application.php, line 291
[main] - ROOT/webroot/index.php, line 223
Warning (2): Undefined array key 0 [APP/Controllers/PagesController.php, line 1086]Code Context '@type' => 'Answer',
'text' => addslashes($faq->faq_descriptions[0]->response),
],
App\Controllers\PagesController::getFAQPage() - APP/Controllers/PagesController.php, line 1086
App\Application::run() - APP/Application.php, line 291
[main] - ROOT/webroot/index.php, line 223
Warning (2): Attempt to read property "response" on null [APP/Controllers/PagesController.php, line 1086]Code Context '@type' => 'Answer',
'text' => addslashes($faq->faq_descriptions[0]->response),
],
App\Controllers\PagesController::getFAQPage() - APP/Controllers/PagesController.php, line 1086
App\Application::run() - APP/Application.php, line 291
[main] - ROOT/webroot/index.php, line 223
Fatal error: Uncaught exception 'TypeError' with message addslashes(): Argument #1 ($string) must be of type string, null given
Stack trace:
#0 /opt/bebsy/prd-de/webapp/src/Controllers/PagesController.php(1086): addslashes()
#1 [internal function]: App\Controllers\PagesController->getFAQPage()
#2 /opt/bebsy/prd-de/webapp/src/Application.php(291): call_user_func_array()
#3 /opt/bebsy/prd-de/webapp/webroot/index.php(223): App\Application->run()
#4 {main}
thrown in
/opt/bebsy/prd-de/webapp/src/Controllers/PagesController.php on line
1086