• hello

    I’m seeing where disabling strict mode is recommend. Does the latest WordPress still not support this? In my test, it seems to work. However, I’ve seen articles where plugins are not compatible (which I know isn’t wordpress core)

    Just kind of getting a feel for what others are doing for MySQL 5.7+ and latest MariaDB

    • This topic was modified 4 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’ll wager the vast majority just accept the default ?? What that is varies by version. Ideally, it shouldn’t matter since all code should not invoke the sort of errors where it would matter. Strict mode is good for development because you’re more likely to notice any errors and address the underlying problem. Strict mode disabled is better for production as you don’t want any potential errors compromising the stability of the site.

    I’d hope WP core would work either way. I’ve not investigated though. Plugins OTOH could quite possibly cause strict mode errors. If you use plugins that write data, unless you’ve tested them thoroughly for errors, I recommend leaving strict mode disabled as well.

Viewing 1 replies (of 1 total)
  • The topic ‘mysql strict mode’ is closed to new replies.