guess4me
Forum Replies Created
-
@adamewww Thank you, I’ve checked – I use 8.0.0 version. Can you send me example of code changes atleast in the screenshot if there any?
I’ve attached screenshot with additional info (previous step in stacktrace): https://prnt.sc/FXwYiptXECKO.
www_image_optimizer_remove_duplicate_recordsexpects arrays with'id'field but plain id list is passed to the function.- This reply was modified 1 year, 4 months ago by guess4me.
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_adduses 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 5 years, 7 months 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.