WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. joannemojo
    Member
    Posted 6 months ago #

    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/

  2. baldguy67
    Member
    Posted 6 months 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
    Member
    Posted 6 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic