database error

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved

Tagged: 

  • This topic has 1 reply, 2 voices, and was last updated 5 y, 4 mo by  Jacob.
Viewing 1 reply thread
  • Author
    Posts
    • #9057

      shalomanov
      Member

      Guys,

      After this https://gist.github.com/9webtools/308061d95564288848df

      suddenly I got on page load

      WordPress database error: [Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.]
      UPDATE ‘wp_options’ SET ‘option_value’ = ‘a lot of css’ WHERE option_name = ‘_transient_yt_transient_theme_less_css’

      I predict your answer: max_allowed_packet=32M does not help.

      Questions:
      1. Why UPDATE ‘wp_options’ on every page load?
      2. I want to store CSS as a file without dynamic changes. How can I cancel dynamic css with UPDATE ‘wp_options’?

      • This topic was modified 5 y, 4 mo by  shalomanov.
      • This topic was modified 5 y, 4 mo by  shalomanov.
    • #9117

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.