multipliertech
Post count: 13
|
I’m having this issue where the wp_mp_templates table is not being generated on WordPress 4.2.2.
It works just fine in 4.1.1
Is this a bug?
|
traversal
Post count: 207
|
Hmmm, that’s a strange one. Is that happening when installing from a clean install? I’ll try to recreate, but it seems a bit odd it would only be that table, as the code doesn’t differ from other table creation statements.
|
multipliertech
Post count: 13
|
Yeah I tested it on a clean install, both versions, locally. I find it very weird, I have not done anything differently.
|
multipliertech
Post count: 13
|
This is the error I’m getting when activating the plugin.
WordPress database error: [Specified key was too long; max key length is 767 bytes]
CREATE TABLE wp_mp_templates (
id varchar(255),
supports text,
visibility text,
PRIMARY KEY (id)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
Only happens in version 4.2+
Could it be my database charset setting? Can you please advise me on what I should do?
Thank you.
|
traversal
Post count: 207
|
Hi, sorry about this, it looks like this is relevant, which I admit I wasn’t aware of:
https://make.wordpress.org/core/2015/04/02/the-utf8mb4-upgrade/
I’ve just pushed a new beta release which should get around this issue. I would really appreciate it if you could give it a shot and let me know if it is now working.
https://www.masterpressplugin.com/support/downloads
Thanks for your patience.
|
multipliertech
Post count: 13
|
Yes this works now. Thank you very much for your quick response.
|