Support » Plugin: WPtouch » count(): Parameter must be an array or an object that implements Countable

  • Version 4.38.
    This one is an obvious error in the code:

    plugins/wptouch/core/menu-walkers.php, line 10:
    if ( is_array( $menu_map ) && count( $menu_map > 0 ) ) {
    should be
    if ( is_array( $menu_map ) && count( $menu_map ) > 0 ) {

Viewing 1 replies (of 1 total)
  • Here are some warning fixes for 4.3.8:

    1. Remove all calls to get_magic_quotes_gpc().

    2. wptouch/core/admin-load.php line 106
    Before
    $options[ $sub_page_name ]->sections[ $section_name ] = $section;
    Insert
    isset( $options[ $sub_page_name ] ) or $options[ $sub_page_name ] = new StdClass;

    3. wptouch/themes/foundation/root-functions.php line 25
    Replace
    add_filter( 'jetpack_check_mobile', 'foundation_override_jetpack_check_mobile' );
    With
    add_filter( 'pre_jetpack_is_mobile', 'foundation_override_jetpack_check_mobile' );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.