• Resolved WPBot

    (@wpbot)


    Hello,
    I just installed the newest at the moment version 3.3.5 and checked the preload option for each font, and started getting this error in my log files:

    WordPress database error Unknown column 'preload' in 'where clause' for query SELECT * FROM wp_omgf_fonts WHERE preload = 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/mts_schema/single.php'), get_header, locate_template, load_template, require_once('/themes/mts_schema/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, OMGF_Frontend_Functions->preload_fonts, OMGF_DB->get_preload_fonts

    I’m not really sure which was the previous version I was using… it might’ve been 2.5.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    The mentioned tables aren’t used anymore, so you must be using database and/or object caching. Please flush your caches and the errors should disappear.

    Thread Starter WPBot

    (@wpbot)

    Thanks but I don’t have any caching plugin other than Autoptimize (which I’ve already emptied) and this line was already present in wp-config.php define( 'WP_CACHE', false );.
    Is there any internal WP cache I’m not aware of and if yes – how can i purge it?

    //EDIT:
    And now the error is gone. It seems deactivating and reactivating Autoptimize did the trick (though I suppose deactivating any other plugin would’ve done the same).

    • This reply was modified 4 years, 7 months ago by WPBot.
    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    I still presume you’re using Redis Cache or Varnish Cache (which aren’t WordPress caching plugins, but server level caching mechanisms). The (re-)activation of the plugin, might’ve triggered a refresh of the cache.

    Happy it’s resolved. ??

    Thread Starter WPBot

    (@wpbot)

    Actually the site is hosted on a VPS, which I’ve set up from scratch, so there are no such caching solutions and that’s why I thought it might’ve been something in WordPress itself.
    I have to update a few more sites in a week from now, so we might be able to get some more light on the subject if the issue appears again.

    Thanks again for the help and also for the great plugin!

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Actually the site is hosted on a VPS, which I’ve set up from scratch, so there are no such caching solutions and that’s why I thought it might’ve been something in WordPress itself.

    What about Opcache?

    I have to update a few more sites in a week from now, so we might be able to get some more light on the subject if the issue appears again. Thanks again for the help and also for the great plugin!

    No problem. Curious about your findings!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘DB Issue with Font Preloading’ is closed to new replies.