Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'domain' => 'myveryownangel.org',
    'slug' => '/category/Toys%20-%20Best%20Seller',
    'googlebot' => '',
    'category' => 'Toys - Best Seller',
];