Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Plugins
    In reply to: hack with ckeditor
    Thread Starter tbthierry

    (@tbthierry)

    Any idea ?

    Forum: Plugins
    In reply to: hack with ckeditor
    Thread Starter tbthierry

    (@tbthierry)

    up
    Any idea of the good solution?

    Thread Starter tbthierry

    (@tbthierry)

    Thank you Chouby, Frederic,

    Everything now works without error or Warning.
    Your plugin is simple with good and fast support. I recommend it!
    Thank you for having solved incompatibility with Artisteer theme.
    I can sleep on my ears tonight ๐Ÿ˜‰

    Good evening and good continuity.
    Thierry (http://www.gite-lareunion.com)

    Thread Starter tbthierry

    (@tbthierry)

    Hello Chouby, I just test it and:
    with old version:
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 96
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 100
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107
    Notice: Undefined property: theme_MenuItem::$classes in *****/polylang/frontend/frontend-nav-menu.php on line 107

    and with 1.4.1.3:
    only x14 same lines:
    Notice: Undefined property: theme_MenuItem::$db_id in ***/polylang/frontend/frontend-nav-menu.php on line 110

    code:
    foreach ($items as $item) {
    line110: if (in_array($item->db_id, $r_ids))
    $item->classes = array_diff($item->classes, array(‘current-menu-ancestor’, ‘current-menu-parent’, ‘current_page_parent’, ‘current_page_ancestor’));
    }

    Thread Starter tbthierry

    (@tbthierry)

    The configuration of the menus:
    https://dl.dropboxusercontent.com/u/96725859/menu.JPG

    I can add a link of “language switcher” (/#pll_switcher if I disable polylang) in “menu anglais” but we have the same warning “Undefined property”.

    Thread Starter tbthierry

    (@tbthierry)

    YESSSS !!! Thanks Chouby, after modification of wp-config.php with define(PLL_WPML_COMPAT, false); error of wp_icl_languages โ€‹โ€‹table disappears.

    Regarding the conflict between Polylang and the Artisteer menu.
    I just tested the language selector menu then in the “list of languagesโ€‹โ€‹” widget and “Custom Menu” but it does not change the message “Undefined property”
    Would you have other good ideas?
    Thierry
    https://dl.dropboxusercontent.com/u/96725859/widget_polylang.jpg

    Thread Starter tbthierry

    (@tbthierry)

    I just discovered that there was a debug mode in WP!
    Here is the result:
    Notice: Undefined property: theme_MenuItem::$classes in ***/polylang/frontend/frontend-nav-menu.php on line 96

    the same on line 100 and on line 107.

    And WordPress database error: [Table ‘***.wp_icl_languages’ doesn’t exist]
    select default_locale from wp_icl_languages where code = ‘fr’

    code of frontend-nav-menu:
    /** removes current-menu and current-menu-ancestor classes to lang switcher when not on the home page
    * @since 1.1.1
    * @param array $items
    * @return array modified menu items*/
    public function wp_nav_menu_objects($items) {
    $r_ids = $k_ids = array();

    foreach ($items as $item) {
    line96 if (is_array($item->classes) && in_array(‘current-lang’, $item->classes)) {
    $item->classes = array_diff($item->classes, array(‘current-menu-item’));
    $r_ids = array_merge($r_ids, $this->get_ancestors($item)); // remove the classes for these ancestors
    }
    ligne100 elseif (is_array($item->classes) && in_array(‘current-menu-item’, $item->classes))
    $k_ids = array_merge($k_ids, $this->get_ancestors($item)); // keep the classes for these ancestors
    }

    $r_ids = array_diff($r_ids, $k_ids);

    foreach ($items as $item) {
    ligne107 if (in_array($item->db_id, $r_ids))
    $item->classes = array_diff($item->classes, array(‘current-menu-ancestor’, ‘current-menu-parent’, ‘current_page_parent’, ‘current_page_ancestor’));
    }

    return $items;
    }

    ! good night !

    Thread Starter tbthierry

    (@tbthierry)

    Thank you,
    I am looking for over 1 hour, but I did not find what I need to change my theme made โ€‹โ€‹by Artisteer.
    On the forum, it was said there that a few years Artisteer theme not working with Polylang plugin.
    http://www.artisteer.com/Default.aspx?post_id=182928&p=forum_post

    I’m still looking … If you have an idea of what I should try, let me know;-)
    Thierry

    Thread Starter tbthierry

    (@tbthierry)

    Hello and thank you Chouby for your plugin,

    I am new to the world of WP and I do not know much in database. I am a beginner.
    Basically, you tell me that are not your plugin “Polylang” I installed making the request to the database?
    PS: If Polylang is disabled, I have no error on OVH reassembled.
    Thank you for your help ๐Ÿ˜‰
    Thierry

Viewing 10 replies - 1 through 10 (of 10 total)