Results 1 to 6 of 6

Thread: Yet another error (this time for deleting child categories)

  1. #1
    Thread Starter
    ultra's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    63
    Thanks
    2
    Thanked 1 Time in 1 Post

    Yet another error (this time for deleting child categories)

    Heres the problem,

    You create a main ad category called PHONES.

    You then setup 3 categories [Apple. Samsung. and Backberry] and you make their parent category PHONES.

    Everything works fine, and when viewing the PHONE category the widgets on the sidebar will show REFINE RESULTS and SUB-CATEGORIES [Apple. Samsung. and Backberry].

    But lets say you found that the subcategories were useless, because you can just insert a custom field to the form called BRAND and include it in advanced search.

    So you do that, you remove the sub categories, and you move all the ads into the main PHONES category.

    Now when looking at the phone listings, everything is there, and you can refine the results using the brand.

    But, where the sub-category side bar should be, you now have this error:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /wp-includes/taxonomy.php on line 2875

    Warning: implode() [function.implode]: Invalid arguments passed in /wp-includes/taxonomy.php on line 2875

    Warning: Invalid argument supplied for foreach() in /wp-includes/taxonomy.php on line 2882


    Why is it doing that, and how can it be fixed.

    Do we need to move all the ads to some uncategorized category, remove the entire category and then re-create it, and place the ads back, or is there an easier fix?

    I have tried resaving permalinks, aswell as resaving the form used for that category


    Note then when a sub category is added back the error goes away.

    Therefor i assume the only solution is to delete the entire category and re-create it?

  2. #2
    Thread Starter
    ultra's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    63
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  4. #4
    Thread Starter
    ultra's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    63
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  6. #6
    Thread Starter
    ultra's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    63
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Ad categories, normal categories, and menu items not deleting
    By jrweichel in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: March 4th, 2013, 12:20 PM
  2. Fatal error message - deleting ad by user in 3.1.8.
    By villadecker in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: March 27th, 2012, 03:35 AM