WP Online Store
Error when trying to delete categories (3 posts)

  1. joannemojo
    Posted 2 years ago #


    I'm trying to delete the existing categories following initial installation of the store.

    When I try I get the following error message:

    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    DELETE FROM products_stock WHERE products_id =

    Any idea how this can be sorted?


  2. baldguy67
    Posted 2 years ago #

    I tested this and it did it on my development site as well. Given some time I shall try and look into this issue. I did notice that, even with the error appearing, it did delete the categories I tested with.

  3. joannemojo
    Posted 2 years ago #

    If I went to the individual items and deleted them it worked, but not if the categories have items in them.

    Thanks for the quick reply and looking into the issue. :) If I can get it sorted on the site I'm currently working on I have plans to use it on other sites as I have always liked OSCommerce and it's great having it as a WP plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Online Store
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic