New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation issue (Gravity Forms) #223

Open
joegasper opened this Issue Jun 27, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@joegasper

joegasper commented Jun 27, 2017

Gravity Forms installed fine and works, but upgrade is failing on this code:

$sql = "CREATE TABLE IF NOT EXISTS {$wpdb->prefix}rg_test ( col1 int PRIMARY KEY )";
$wpdb->query( $sql );

From the translate.log:

2017-06-26 19:19:33 Error Code: 156 -- Begin Query translation attempt:
CREATE TABLE IF NOT EXISTS wp_rg_test ( col1 int PRIMARY KEY )
2017-06-26 19:19:33 -- Translation result:
CREATE TABLE wp_rg_test ( col1 int CONSTRAINT [wp_rg_test_REATE TABLE wp_rg_test ] PRIMARY KEY CLUSTERED (REATE TABLE wp_rg_test ) WITH (IGNORE_DUP_KEY = OFF)
);

Thank you.

@patrickebates

This comment has been minimized.

Show comment
Hide comment
@patrickebates

patrickebates Jul 6, 2017

Member

Seen something similar to this with the REATE and a different plugin, but so far I've been unsuccessful at figuring out where it's coming from. Unfortunately, table creation is our primary compatibility issue with plugins.

Time permitting, I'll try to take a fresh look at this.

Member

patrickebates commented Jul 6, 2017

Seen something similar to this with the REATE and a different plugin, but so far I've been unsuccessful at figuring out where it's coming from. Unfortunately, table creation is our primary compatibility issue with plugins.

Time permitting, I'll try to take a fresh look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment