WordPress.org

Support

Support » Plugins and Hacks » WP Online Store » Error when trying to delete categories

Error when trying to delete categories

  • Hi,

    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?

    https://wordpress.org/plugins/wp-online-store/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when trying to delete categories’ is closed to new replies.
Skip to toolbar