Polylang : bug with pagelines again
-
Hi,
I’m still struggling to use polylang with pagelines
As soon as I activate polylang I get the following error :Warning: strpos() expects parameter 1 to be string, object given in /home/www/d518b5d52d219ef566aebff6e0652023/web/wp-content/themes/pagelines/includes/class.render.css.php on line 333
Warning: rtrim() expects parameter 1 to be string, object given in /home/www/d518b5d52d219ef566aebff6e0652023/web/wp-includes/formatting.php on line 1381
I’ve read this topic : , and I’ve changed these lines (in …sections/navbar/section.php) :
if ( is_array( wp_get_nav_menu_items( $menu ) ) || has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'menu_class' => 'font-sub navline pldrop ' . $align_class, 'menu' => $menu, 'container' => null, 'container_class' => '', 'depth' => 3, 'fallback_cb' => '' ) );
to this :
if ( is_array( wp_get_nav_menu_items( $menu ) ) || has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'menu_class' => 'font-sub navline pldrop ' . $align_class, 'container' => null, 'container_class' => 'menu-header', 'theme_location' => 'primary', 'depth' => 3, 'fallback_cb' => '' ) );
but I still get the same error.
Have you a suggestion ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Polylang : bug with pagelines again’ is closed to new replies.