• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

7.3.9.727: Table ‘wordpress.wp_fv_player_videos’ doesn’t exist

Foliovision › Forums › FV Player › Bug Reports › 7.3.9.727: Table ‘wordpress.wp_fv_player_videos’ doesn’t exist

  • Leho Kraav 6 years, 3 months ago

    This spams error logs during CLI cron executions.

    Clearly database migration routines didn’t execute correctly at one point, but no amount of plugin de-/reactivation has been able to make table generation happen.

    How can we force it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Martin 6 years ago

    Hello Leho,

    please let us know where is that query coming from – I think the error logs should have a mention which PHP file it’s coming from at what line.

    The database tables are checked anytime you are in wp-admin (it checks is_admin()), perhaps the CLI doesn’t count for that.

    Thanks,
    Martin

    Leho Kraav 6 years ago

    Ah, indeed, forgot the traceback.

    [05-Feb-2019 16:35:06 UTC] WordPress database error Table 'wordpress.wp_fv_player_videos' doesn't exist for query SELECT id, src FROM `wp_fv_player_videos` as v left join ( select id_video from wp_fv_player_videomet
    a WHERE meta_key = 'duration' ) as m ON v.id = m.id_video where m.id_video IS NULL ORDER BY id DESC made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP
    _CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->_run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI
    \Dispatcher\{closure}, call_user_func, Cron_Event_Command->run, Cron_Event_Command::run_event, do_action_ref_array('fv_flowplayer_checker_event'), WP_Hook->do_action, WP_Hook->apply_filters, FV_Player_Checker->checker_cron

    Admin has been visited by users all the time, but tables were never generated.

    Also, you shouldn’t be doing table checking on every request, only on plugin activation.

    Martin 6 years ago

    Hello Leho,

    thank you for posting these details.

    I agree that the table checking shouldn’t be happen too often, not even in wp-admin. The plugin activation hook in WordPress doesn’t run on plugin updates though, so we will have to find a better way. We do store the database version numbers, so we can use that I guess.

    Thanks,
    Martin

    Leho Kraav 6 years ago

    > The plugin activation hook in WordPress doesn’t run on plugin updates though, so we will have to find a better way.

    Indeed, but many many plugins are doing db migrations during updates. There has to be a best practice mechanism? I just haven’t built a plugin myself with that requirement (yet), so I can’t offer experience-based advice right away.

    Lucia 6 years ago

    Hi Leho.

    We’ll look into the table checking frequency and plugin activation hook again.

    Thanks for your post.
    Sylvain

    Martin 6 years ago

    Hello Leho,

    please check Settings -> FV Player Pro -> Tools -> System Info. You should be able to see the values of these option keys:

        [video_model_db_checked] => 7.3.12.727
        [video_meta_model_db_checked] => 7.3.12.727
        [player_model_db_checked] => 7.3.12.727
        [player_meta_model_db_checked] => 7.3.12.727

    Thanks,
    Martin

    Italo Pentimalli 6 years ago

    Hi Martin,

    I’ve the same problem and in System Info I’ve no this option keys. In my error log I’ve a lot of db query error:

    WordPress errore sul database Table 'wp_fv_player_playermeta' doesn't exist per la query SELECT vm.meta_value FROM wp_fv_player_playermeta AS pm JOIN wp_fv_player_players AS p ON p.id = pm.id_player JOIN wp_fv_player_videos AS v ON FIND_IN_SET(v.id, p.videos) > 0 JOIN wp_fv_player_videometa AS vm ON v.id = vm.id_video WHERE pm.meta_key = 'post_id' AND pm.meta_value = 153052 AND vm.meta_key = 'duration' ORDER BY CAST(vm.meta_value AS UNSIGNED) DESC LIMIT 1
    

    How I can resolve this. If I disable and renable plugin, table will be recreated or I need to create table manually?

    Thanks
    David

    Martin 6 years ago

    Hello David,

    please try visiting wp-admin -> FV Player, perhaps that will help creating that table. You can check Settings -> FV Player Pro -> Tools -> System Info. You should be able to see the values of these option keys:

    [video_model_db_checked] => 7.3.12.727
    [video_meta_model_db_checked] => 7.3.12.727
    [player_model_db_checked] => 7.3.12.727
    [player_meta_model_db_checked] => 7.3.12.727
    

    We also fixed the code which was causing that SQL query which you reported to only run if these tables were initialized. It will be part of the next plugin version.

    Thanks,
    Martin

    Italo Pentimalli 6 years ago

    Hi Martin,

    I had already taken this step wp-admin -> FV Player but table was not created and in Settings -> FV Player Pro -> Tools -> System Info I can’t find this option keys:

    [video_model_db_checked] => 7.3.12.727
    [video_meta_model_db_checked] => 7.3.12.727
    [player_model_db_checked] => 7.3.12.727
    [player_meta_model_db_checked] => 7.3.12.727

    I have also disabled and re-enabled the plugin but nothing: table was not created.

    I think that the best solution is to create this table manually. What do you think?

    Thanks
    David

    Martin 6 years ago

    Hello David,

    you can reinstall FV Player from here and you will get the fixed version before it’s released: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip

    Thanks,
    Martin

Viewing 10 replies - 1 through 10 (of 10 total)
Reply To: 7.3.9.727: Table ‘wordpress.wp_fv_player_videos’ doesn’t exist



Please Sign in or Register to upload files.

Related Posts

  1. table structure in database

    table structure in database

  2. Post table pro plugin support

    Post table pro plugin support

  3. Error on update query – not using site table prefix

    Error on update query – not using site table prefix

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!