• Resolved Trebly

    (@trebly)


    Hi,

    I tries to use the plugin which seems interesting and widely parametrable.

    I get an empty widget (just title) and the debug option sends :

    MySQL server version: 
    
    collapsCat options:
    Array
    (
        [title] => Arbre des Catégories
        [showPostCount] => 1
        [inExclude] => include
        [inExcludeCats] =>
        [showPosts] => 1
        [showPages] =>
        [linkToCat] =>
        [olderThan] =>
        [excludeAll] => 0
        [catSortOrder] => ASC
        [catSort] => catName
        [postSortOrder] => ASC
        [postSort] => postTitle
        [expand] => 0
        [defaultExpand] =>
        [debug] => 1
        [postTitleLength] => 100
        [catfeed] =>
        [taxonomy] => both
        [post_type] => post
        [postDateAppend] => after
        [postDateFormat] =>
        [showPostDate] =>
        [useCookies] =>
        [postsBeforeCats] =>
        [expandCatPost] =>
        [showEmptyCat] => 1
        [showTopLevel] =>
        [customExpand] =>
        [customCollapse] =>
        [style] => kubrick
        [accordion] => 0
        [title_link] =>
        [addMisc] =>
        [addMiscTitle] =>
        [number] => 2
        [includeCatArray] => Array
            (
            )
    
        [expandSym] => ?
        [collapseSym] => ▼
    )
    
    postsToExclude:
    Array
    (
    )
    CATEGORY QUERY:
     SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN
          wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN
          ('category','post_tag')  AND t.slug!='blogroll'
           ASC 
    
    CATEGORY QUERY RESULTS
    WP_Error Object
    (
        [errors:WP_Error:private] => Array
            (
                [invalid_taxonomy] => Array
                    (
                        [0] => La taxinomie est invalide
                    )
    
            )
    
        [error_data:WP_Error:private] => Array
            (
            )
    
    )
    POST QUERY:
     select ID, slug, date(post_date) as date, post_status,
             post_type, post_date, post_author, post_title, post_name, name, object_id,
             t.term_id from wp_term_relationships AS tr, wp_posts AS p,
             wp_terms AS t, wp_term_taxonomy AS tt
             WHERE tt.term_id = t.term_id
             AND object_id=ID 
    
             AND post_status='publish'
             AND tr.term_taxonomy_id = tt.term_taxonomy_id
             AND tt.taxonomy IN ('category','post_tag') AND post_type='post' ORDER BY p.post_title ASC
    
    POST QUERY RESULTS
    Array
    (
        [0] => stdClass Object
            (
                [ID] => 335
                [slug] => doc_notes_ebauche
                [date] => 2015-01-15
                [post_status] => publish
                [post_type] => post
                [post_date] => 2015-01-15 16:46:33
                [post_author] => 1
                [post_title] => (test) Affichage de structure de catégorie
                [post_name] => test-affichage-de-structure-de-categorie
                [name] => Brouillon - notes - ébauche
                [object_id] => 335
                [term_id] => 22
            )
    
        [1] => stdClass Object
            (
                [ID] => 335
                [slug] => test_mise_en_page
                [date] => 2015-01-15
                [post_status] => publish
                [post_type] => post
                [post_date] => 2015-01-15 16:46:33
                [post_author] => 1
                [post_title] => (test) Affichage de structure de catégorie
                [post_name] => test-affichage-de-structure-de-categorie
                [name] => Test de mise en page (publication admin)
                [object_id] => 335
                [term_id] => 27
            )
    
        [2] => stdClass Object
            (
                [ID] => 335
                [slug] => brouillon
                [date] => 2015-01-15
                [post_status] => publish
                [post_type] => post
                [post_date] => 2015-01-15 16:46:33
                [post_author] => 1
                [post_title] => (test) Affichage de structure de catégorie
                [post_name] => test-affichage-de-structure-de-categorie
                [name] => Brouillon
                [object_id] => 335
                [term_id] => 125
            )
    
        [3] => stdClass Object
            (
                [ID] => 335
                [slug] => test-de-mise-en-page
                [date] => 2015-01-15
                [post_status] => publish
                [post_type] => post
                [post_date] => 2015-01-15 16:46:33
                [post_author] => 1
                [post_title] => (test) Affichage de structure de catégorie
                [post_name] => test-affichage-de-structure-de-categorie
                [name] => Test de mise en page
                [object_id] => 335
                [term_id] => 126
            )
    
        [4] => stdClass Object
            (
                [ID] => 335
                [slug] => structure-categories
                [date] => 2015-01-15
                [post_status] => publish
                [post_type] => post
                [post_date] => 2015-01-15 16:46:33
                [post_author] => 1
                [post_title] => (test) Affichage de structure de catégorie
                [post_name] => test-affichage-de-structure-de-categorie
                [name] => structure catégories
                [object_id] => 335
                [term_id] => 127
            )
    
    )

    Do these data trace contains useful information about errors somewhere ?
    Or the elements for the solution ?

    Best regards

    Trebly
    Thanks

    https://www.ads-software.com/plugins/collapsing-category-list/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Trebly

    (@trebly)

    Hi,

    This is an error of plugin-support.
    Should be send to “Collapsing Categories”

    I have no way to move it from here.

    Sorry

    Trebly

    Plugin Author migrad

    (@migrad)

    Hi Trebby,

    No problem. Close this topic.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Empty catagories : Report (debug) error query : parameters error ?’ is closed to new replies.