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

Foliovision

  • 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.1.15.727: “PHP Fatal error: … Call to a member function queue_check() on nu

Foliovision › Forums › FV Player › Bug Reports › 7.1.15.727: “PHP Fatal error: … Call to a member function queue_check() on nu

  • Leho Kraav 7 years, 4 months ago

    I’ve been running my cron from wp-cli for years

    WP_CLI_CONFIG_PATH="$WP_PATH/wp-cli.yml" /usr/local/bin/wp --path="$WP_PATH" cron event run --due-now

    As of recent upgrade, once again FV FlowPlayer is inappropriately playing around with globals, this time global $FV_Player_Checker in fv_wp_flowplayer_save_post():

    [18-Sep-2018 07:20:06 UTC] PHP Fatal error: Uncaught Error: Call to a member function queue_check() on null in /home/warmpress/wp-content/plugins/fv-wordpress-flowplayer/models/flowplayer.php:2120
    Stack trace:
    #0 /home/warmpress/wp-content/plugins/fv-wordpress-flowplayer/models/checker.php(322): fv_wp_flowplayer_save_post(457478)
    #1 /home/warmpress/wp-includes/class-wp-hook.php(286): FV_Player_Checker->checker_cron()
    #2 /home/warmpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #3 /home/warmpress/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #4 /home/leho/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(288): do_action_ref_array(‘fv_flowplayer_c…’, Array)
    #5 /home/leho/wp-cli/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(259): Cron_Event_Command::run_event(Object(stdClass))
    #6 [internal function]: Cron_Event_Command->run(Array, Array)
    #7 /home/leho/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(89): call_user_func(Array, Array, Array)
    #8 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP in /home/warmpress/wp-content/plugins/fv-wordpress-flowplayer/models/flowplayer.php on line 2120

    I fail to understand why post save actions are even used in some utility cron function. This smells like bad architecture, why wouldn’t options work here, or what am I missing?

Viewing 1 replies (of 1 total)
  • Martin 7 years ago

    Hello Leho,

    please check if you are using Settings -> FV Player -> Integrations/Compatibility -> “Scan video length” as with that enabled there is cron job which uses exactly that function.

    I was not able to reproduce the issue which you reported though. The cron worked just fine with wp-cli. However I got an issue with some other global, so I fixed that one. You can get new code from https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip

    I wonder if the issue could be triggered by your wp-cli.yml or by one of your plugins.

    Thanks,
    Martin

Viewing 1 replies (of 1 total)
Reply To: 7.1.15.727: “PHP Fatal error: … Call to a member function queue_check() on nu



Please Sign in or Register to upload files.

Related Posts

  1. New FV WordPress Flowplayer version

    New FV WordPress Flowplayer version

  2. Amazon S3 Protected Content support added to FV Flowplayer

    Amazon S3 Protected Content support added to FV Flowplayer

  3. New FV Flowplayer feature: Share Bar

Primary Sidebar

Bug Reports

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬