• Resolved Nikelaos

    (@nikelaos)


    WP 5.4.2
    Plugin-Version 2.14.0

    Hi!

    (Still) I can’t save network-snippets. I can edit them, but after “save changes” the changes aren’t saved.

    On site-related snippets changes are saved without problems.

    Thanks for help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hey @nikelaos,

    Are you able to check which columns exist in the wp_ms_snippets table (where wp_ is your WordPress table prefix)? I’m thinking this might be because that table wasn’t upgraded to include the modified column properly.

    Thread Starter Nikelaos

    (@nikelaos)

    Yes:

    1	id		bigint(20)	
    2	name		tinytext	utf8mb4_unicode_520_ci
    3	description	text		utf8mb4_unicode_520_ci
    4	code		longtext	utf8mb4_unicode_520_ci
    5	tags		longtext	utf8mb4_unicode_520_ci
    6	scope		varchar(15)	utf8mb4_unicode_520_ci
    7	active		tinyint(1)
    8	priority	smallint(6)

    Thanks for your support!

    Thread Starter Nikelaos

    (@nikelaos)

    Ok, I’ve searched this forum to find out, what I have to do next – but I didn’t find something.

    So, how can I update the table?

    Plugin Author Shea Bunge

    (@bungeshea)

    My apologies @nikelaos – I didn’t realise I hadn’t responded here.

    You can perform the upgrade manually by running this SQL code on your WordPress database:

    ALTER TABLE wp_ms_snippets ADD COLUMN modified DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';

    I’ll make sure there’s a fix for this in the next version.

    Thread Starter Nikelaos

    (@nikelaos)

    Thank you, @bungeshea , I updated the table and it works now!

    Plugin Author Shea Bunge

    (@bungeshea)

    That’s great, thanks for confirming! And apologies for how long it has taken to sort this out.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multisite snippet isn’t saved’ is closed to new replies.