Support » Plugin: BulkPress » Category parents with & symbol cause error

  • Resolved Ralph83

    (@ralph83)


    Hi Jesper,

    The following error is displayed when trying to import this category-format “Clothes & Fashion/Bags and Luggage” (without quotes):

    Error adding term "Clothes & Fashion/Bags and Luggage".

    Seems to happen as soon as their are & symbols in the parent. & symbols in child categories are not causing any issues.

    Kind regards,

    Ralph

    https://wordpress.org/plugins/bulkpress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ralph83,

    Had the same problem but there is an easy solution.

    Replace the & sign with the HTML equivalent & and your import will be successful.

    I used Microsoft Word to “find and replace” all the & for & then just pasted that list into Bulk Press. Worked like a charm with thousands of categories.

    Tom

    Thread Starter Ralph83

    (@ralph83)

    Hi Tom,

    Thank you for sharing your solution! I’ll use it next time.

    WP’s own category admin page was a bit more clear about the issue, stating the “&” parent categories were actually already added. So it looks like “&” parents are added, but not their children. I now ended up bulk adding their children in smaller blocks. Using your solution, right from the start, would have been much more efficient.

    Best,

    Ralph

    Surferchic

    (@surferchic)

    Hi guys,

    I get the same error messages with & symbol.

    I used Microsoft Word to “find and replace” all the & for & then just pasted that list into Bulk Press but it didnt work. Any suggestions for the parent category below?

    Babies & Kids/Baby Food
    Babies & Kids/Baby Formula
    Babies & Kids/Baby Starter Packs
    Babies & Kids/Children Snacks

    Thank you 🙂

    Use the HTML code for the & character.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category parents with & symbol cause error’ is closed to new replies.