Viewing 3 replies - 1 through 3 (of 3 total)
  • fandapallen

    (@fandapallen)

    Same for me.
    The ID of the newly created item seems to be 0…

    Plugin Author fuzzoid

    (@fuzzoid)

    Try to deactivate/activate the plugin.
    Also try a clean installation.
    If you want me to check the admin area you can send credentials through https://www.wp3dprinting.com/contact-us/

    fandapallen

    (@fandapallen)

    I finally found it by modifying the plugin manually.

    I appears that when you have your database hosted on Digital Ocean, those have primary keys forced. Thus the migrations present in the plugin are wrong. There was even a typo in the printers migrations. Same problem in Lite and Paid version.

    https://www.digitalocean.com/docs/databases/mysql/how-to/create-primary-keys/

    “CREATE TABLE “.$wpdb->prefix.”p3d_printers (
    id mediumint(9) NOT NULL AUTO_INCREMENT PRIMARY KEY…”

    “CREATE TABLE “.$wpdb->prefix.”p3d_materials (
    id mediumint(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,…”

    “CREATE TABLE “.$wpdb->prefix.”p3d_coatings (
    id mediumint(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,…”

    “CREATE TABLE “.$wpdb->prefix.”p3d_discount (
    id mediumint(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,…”

    “CREATE TABLE “.$wpdb->prefix.”p3d_price_requests (
    id mediumint(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,…”

    etc… you get the point.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Impossible to set up’ is closed to new replies.