When loading either your front end or control panel, you receive the following error message, or similar:
Fatal error: Call to a member function SetCurrentSet() on a non-object in /api/class.controller.php on line 179
The most likely cause of this error message is that your /configs/config.php file points to a template which is either missing, or has a corrupt template config file.
If the template is missing, you will need to edit the /configs/config.php file to change the ...
$config['template'] = '<current template here>';
... to point to a valid template. A list of valid template names can be found in your /templates/ directory.
If your config file is pointing to a template which is present, but has a corrupt /template/<template name>/config.php file, then the exact fix cannot be documented here. If it is a custom template, you will need to contact the template author. If it is an Interspire template, please lodge a support ticket for further assistance.

The article has been updated successfully.