KAROLINA theme crashes with CODE-SNIPPET

Latest Reply from Dave at 2014-12-24 09:08:46
ready to buy theme BUT, KAROLINA theme crashes with plugin CODE-SNIPPET... new version of WordPress being used


function filter_home_page_pots($query) {
if ( !is_admin() && $query->is_main_query() ) {
if ($query->is_home) {
$query->set( 'cat', get_cat_ID('EVENTs'));
}
}
}
add_action('pre_get_posts','filter_home_page_pots');
error, after plugins activation: Fatal error: Cannot redeclare filter_home_page_pots() (previously declared in /hermes/bosoraweb134/b98/d5.picturesofthehouse/public_html/salsa101june13/wp-content/plugins/code-snippets/code-snippets.php(1103) : eval()'d code:1) in /hermes/bosoraweb134/b98/d5.picturesofthehouse/public_html/salsa101june13/wp-content/plugins/code-snippets/code-snippets.php(1103) : eval()'d code on line 7 Notice: ob_end_flush(): failed to delete buffer zlib output compression in /hermes/bosoraweb134/b98/d5.picturesofthehouse/public_html/salsa101june13/wp-includes/functions.php on line 3269
ok.. Code-SNIPPET did have a SAFE Fail code...Now the error is with KAROLINA:
error: Notice: Undefined index: snippets in /hermes/bosoraweb134/b98/d5.picturesofthehouse/public_html/salsa101june13/wp-content/themes/karolina/inc/administrator.php on line 35
Hi!
Could you give us the exact name of the plugin, please.
TWO Plugins so far....

1) https://wordpress.org/plugins/code-snippets/ (plugin Code Snippets)

2) https://wordpress.org/plugins/codescar-radio-widget/ (plugin Codescar Radio Widget)

Tried various Browsers, upon adding PLUGIN, then assigning the WIDGETS the HOME Page BREAK !!!

WANT to buy TEMPLATE, but afraid these issues will continue...
Hi!

We have fixed this error. You can easily download the theme and replace your inc/administartor.php with the updated one.

Leave a reply

Add codeAdd image