Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Error

Call to a member function getNews() on null

$_GET = [
    'category_url' => 'archive',
    'News_sort' => 'date_public',
    'News_page' => '510',
];