guess4me
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Redis error@svenms Yes, it is. Find lines like wp_cache_get( $class, $menu_id, $cache_slug ) at theme-functions.php & change it to wp_cache_get( “{$class}_{$menu_id}”, $cache_slug )
Forum: Plugins
In reply to: [LiteSpeed Cache] Redis errorfunction et_get_main_menu( $menu_id = 'main-menu', $class = '' ) { $custom_menu_slug = 'custom_nav'; $cache_slug = 'et_get_' . $menu_id; if($menu_id == 'main-menu-right') $custom_menu_slug = 'custom_nav_right'; $custom_menu = etheme_get_custom_field( $custom_menu_slug ); $one_page_menu = ''; if(etheme_get_custom_field('one_page')) $one_page_menu = ' one-page-menu'; if(!empty($custom_menu) && $custom_menu != '') { $output = false; $output = wp_cache_get( $class, $custom_menu, $cache_slug ); if ( !$output ) { ob_start(); wp_nav_menu(array( 'menu' => $custom_menu, 'before' => '', 'container_class' => 'menu-main-container' . $one_page_menu . $class, 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 10, 'fallback_cb' => false, 'walker' => new Et_Navigation )); $output = ob_get_contents(); ob_end_clean(); wp_cache_add( $class, $custom_menu, $output, $cache_slug ); } echo $output; return; }
Yeah, it seems
wp_cache_add
uses wrong arguments.Forum: Plugins
In reply to: [LiteSpeed Cache] v3.5.2 Breaks WebsiteI was able to fix it by turning “HTML Minify” & “Remove Comments” options off
- This reply was modified 4 years ago by guess4me.
Forum: Plugins
In reply to: [LiteSpeed Cache] v3.5.2 Breaks WebsiteSame thing, showing just blank page. Where could I get 3.5.0.2? I haven’t made a backup ??
It seems there is a problem with class-get-products.php:2847
if($length_title > 149){
$product_data[‘title’] = substr($product_data[‘title’],0,150);
}I changed substr to mb_substr and got it to generate without errors.
Viewing 5 replies - 1 through 5 (of 5 total)