Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Invalid Configurationyii\base\InvalidConfigException

The "query" property must be an instance of a class that implements the QueryInterface e.g. yii\db\Query or its subclasses.

$_GET = [
    'sectionslug' => 'national',
    'slug' => 'ecology-and-environment',
];

$_SESSION = [
    '__flash' => [],
];