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