i have some problems with the get_partial() function.
Even when i try to use this, i got the following error message:
ErrorException [ Warning ]: array_key_exists() expects parameter 2 to be array, string given
APPPATH/classes/theme.php @ line 372
This is the bad code ;)
if ( ! array_key_exists($section, $this->partials) or ! array_key_exists($view, $this->partials[$section])) { throw new \ThemeException(sprintf('No partial named "%s" can be found in the "%s" section.', $view, $section)); }