• Resolved xammm

    (@xammm)


    Hey!

    Today we went from http to https and with that also changed all occurences of http://www.ourdomain.com to https://www.ourdomain.com in various database-tables.
    After that all snippets disappeared which caused some confusion.

    After some digging I found out that in the wordpress options-table the replacement of “http” with “https” also effects the post_snippets_options field. (We have a few snippets which include a-tags to pages on our website) However after the replacement the length of the string in the serialized php string is obviously not correct anymore and therefore the snippet plugin cannot display the snippets anymore.

    Maybe you could somehow check and update the length of the string before serializing them back to a php-array. I don’t know.

    I just wanted to tell you about this problem.

    Max

Viewing 1 replies (of 1 total)
  • Hi Max

    Thank for reaching out!

    How many snippets did you have on that site? It might be related to another issue. I’m not sure what is causing this issue, it might be the known max_input_vars issue which we will fix in one of the next versions.

    What is the max_input_vars in your php.ini, and can you double it (from 1000 to 2000 for example)? If you don’t know how to find this, you can ask your hoster.

    Kind regards
    David

Viewing 1 replies (of 1 total)

The topic ‘Note to developer: Problem when changing site to https’ is closed to new replies.