Fatal error: Cannot use string offset as an array in /public_html/wp-content/plugins/gantry/functions.php on line 166
$options = get_option(get_template() . "-template-options");
$cache_enabled = $options['cache']['enabled'];
$cache_lifetime = $options['cache']['time'];
load_plugin_textdomain('gantry', false, basename($gantry_path) . '/languages');
// Get the gantry instance
gantry_import('core.gantry');
if ($cache_enabled) {
gantry_import('core.utilities.gantrycache');
$cache = GantryCache::getInstance();
$cache->setLifetime($cache_lifetime);
$cache->init();
$gantry = $cache->get('gantry', 'gantry', array('Gantry', 'getInstance'));
} else {
$gantry = Gantry::getInstance();
}
load_plugin_textdomain('gantry', false, basename($gantry_path) . '/languages');
// Get the gantry instance
gantry_import('core.gantry');
$gantry = Gantry::getInstance();
$options = get_option(get_template() . "-template-options");
if ($options['cache']['enabled']) {
add_meta_button('cache-clear', 'Clear Cache', '?clear-cache', array(
get_plugin_page_hook('gantry-theme-settings', ''),
get_plugin_page_hook('gantry-theme-overrides', 'gantry-theme-settings')
), array('class' => 'clear-cache'));
}
Time to create page: 0.072 seconds