Foliovision › Forums › FV Player › Bug Reports › Site menus not working after wordpress upgrade to 5.6
-
Hello,
We have just upgraded our site to use wordpress 5.6, after which our navbar menus are now unresponsive on all pages with a FV player video.
We are using
FV Player 7.4.37.727
FV Player Pro 7.4.36.727The menus are working great if we roll back to wordpress 5.5 or deactivate flowplayer, so we’re not entirely sure what is causing the issue.
Thanks so much for your help :)
-
-
Hello talbotp,
recent versions of WordPress do contain some changes in jQuery library which is used by basically every theme and plugin. Pleaes try to install https://wordpress.org/plugins/enable-jquery-migrate-helper/ to see if that fixes the issue.
What theme are you using? Is it free to download, so that I can give it a try?
Please also send output of Settings -> FV Player -> Tools -> System Info.
Thanks,
MartinHey Martin,
We installed the enable jquery migrate helper and the menu/navbar is still playing up.
We’re using Buddyboss theme 1.6.2, which is unfortunately a premium theme.
Thanks! :)
System Info: ### Begin System Info ### ## Please include this information when posting support requests ## Multisite: No SITE_URL: https://admintoarchitect.com HOME_URL: https://admintoarchitect.com Plugin URL: https://admintoarchitect.com/wp-content/plugins/fv-wordpress-flowplayer FV Player version: 7.4.37.727 FV Player core version: 7.2.7 FV Player license: Valid (next check 2020-12-19 17:42:28 GMT) FV Player Pro version: 7.4.36.727 FV Player Pro license: Valid (next check 2020-12-19 17:42:27 GMT) WordPress Version: 5.6 Permalink Structure: /%postname%/ Active Theme: BuddyBoss Child 1.0.0 Host: WP Engine Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 PHP Version: 7.4.13 MySQL Version: 5.5.5 Web Server Info: nginx/1.18.0 WordPress Memory Limit: 512M PHP Memory Limit: 512M PHP Upload Max Size: 2M PHP Post Max Size: 8M PHP Upload Max Filesize: 2M PHP Time Limit: 30 PHP Max Input Vars: 1000 PHP Arg Separator: & PHP Allow URL File Open: Yes WP_DEBUG: Disabled DISPLAY ERRORS: N/A cURL: Your server supports cURL. ACTIVE PLUGINS: Advanced Cron Manager: 2.4.0 Aelia Currency Switcher for WooCommerce: 4.9.4.201118 Aelia Foundation Classes for WooCommerce: 2.0.24.201103 AffiliateWP: 2.6.3 Akismet Anti-Spam: 4.1.7 ata-internal (Admin To Architect Internal): 0.0.1 BadgeOS: 3.6.8 BuddyBoss Platform: 1.5.5.1 BuddyBoss Platform Pro: 1.0.8 Classic Editor: 1.6 Cloudflare: 3.8.7 CMP - Coming Soon & Maintenance Plugin: 3.9.3 ConvertKit: 1.9.3 ConvertKit for WooCommerce: 1.4.1 Elementor: 3.0.14 Elementor Pro: 3.0.8 FV Player: 7.4.37.727 FV Player Pro: 7.4.36.727 GDPR Cookie Consent: 1.9.5 GTmetrix for WordPress: 0.4.4 Hotjar: 1.0.9 HubSpot All-In-One Marketing - Forms, Popups, Live Chat: 7.48.63 HubSpot for WooCommerce: 1.0.5 Jetpack by WordPress.com: 9.2.1 LearnDash LMS: 3.3.0.1 LearnDash LMS - Elementor: 1.0.2 LearnDash LMS - WooCommerce Integration: 1.9.0 LearnDash Private Sessions: 1.2.2 LearnDash ProPanel: 2.1.4 Notes for LearnDash: 1.6.5.2 reCaptcha by BestWebSoft: 1.59 Responsive Lightbox & Gallery: 2.3.1 The Events Calendar: 5.3.1 Thrive Ovation: 2.4.1 Thrive Product Manager: 1.2.4 Udemy-Learndash Migration: 0.0.1 Urvanov Syntax Highlighter: 2.8.15 WooCommerce: 4.8.0 WooCommerce Cache Handler: 1.0.18.201103 WooCommerce Currency Switcher - AffiliateWP Integration: 1.0.18.201103 WooCommerce EU VAT Assistant: 1.14.13.201103 WooCommerce Google Analytics Integration: 1.5.0 WooCommerce Shipping & Tax: 1.25.4 WooCommerce Smart Coupons: 4.13.0 WooCommerce Stripe Gateway: 4.6.0 WooCommerce Xero Integration: 1.7.34 Woo Product Tools: 0.7 SETTINGS Array ( [nag_fv_player_7] => 1 [notice_new_lightbox] => 1 [notice_db] => 1 [notice_xml_sitemap_iframes] => 1 [autoplay] => true [googleanalytics] => [chromecast] => true [key] => (redacted) [logo] => [rtmp] => [auto_buffering] => true [disableembedding] => true [disablesharing] => true [disable_video_hash_links] => false [popupbox] => false [allowfullscreen] => true [allowuploads] => true [postthumbnail] => false [tgt] => backgroundcolor [backgroundColor] => #333333 [canvas] => #000000 [sliderColor] => #ffffff [durationColor] => #eeeeee [timeColor] => #eeeeee [progressColor] => #bb0000 [bufferColor] => #eeeeee [timelineColor] => #666666 [borderColor] => #666666 [hasBorder] => false [adTextColor] => #888888 [adLinksColor] => #ff3333 [subtitleBgColor] => rgba(0,0,0,0.50) [subtitleSize] => 16 [playlistBgColor] => #808080 [playlistFontColor] => # [playlistSelectedColor] => #bb0000 [logoPosition] => bottom-left [parse_commas] => false [width] => 100% [height] => [engine] => false [font-face] => Tahoma, Geneva, sans-serif [ad] => [ad_width] => 0 [ad_height] => 0 [ad_css] => .wpfp_custom_ad { position: absolute; bottom: 10%; z-index: 20; width: 100%; } .wpfp_custom_ad_content { background: white; margin: 0 auto; position: relative } [ad_show_after] => 0 [disable_videochecker] => false [interface] => Array ( [ads] => false [align] => true [autoplay] => true [controlbar] => false [embed] => true [mobile] => true [playlist_advance] => false [playlist] => false [playlist_captions] => false [share] => false [speed] => true [splash_text] => false [subtitles] => false [sticky] => false [synopsis] => false [end_actions] => true [lightbox] => false [ab] => true [popup] => true ) [amazon_bucket] => Array ( [0] => redacted ) [amazon_key] => (redacted, 1) [amazon_secret] => (redacted, 1) [amazon_region] => Array ( [0] => us-east-1 ) [amazon_expire] => 5 [amazon_expire_force] => true [fixed_size] => false [js-everywhere] => false [marginBottom] => 28 [ui_play_button] => true [volume] => 0.7 [player-position] => [playlist_advance] => false [sharing_email_text] => Check out the amazing video here [liststyle] => horizontal [ui_speed_increment] => 0.25 [popups_default] => no [email_lists] => Array ( [#fv_list_dummy_key#] => Array ( [title] => [description] => [first_name] => 0 [last_name] => 0 [disabled] => 0 ) [0] => Array ( [title] => [description] => [first_name] => 0 [last_name] => 0 [disabled] => 0 ) [1] => Array ( [title] => Subscribe to list one [description] => Two good reasons to subscribe right now [first_name] => 1 [last_name] => 0 [disabled] => 0 ) ) [sticky_video] => true [sticky_place] => right-bottom [sticky_width] => 380 [playlist-design] => 2017 visible-captions [skin-slim] => Array ( [progressColor] => #bb0000 [accent] => #4682B4 ) [skin-youtuby] => Array ( [progressColor] => #bb0000 [accent] => #4682B4 ) [skin-custom] => Array ( [hasBorder] => false [bottom-fs] => false [borderColor] => #666666 [marginBottom] => [bufferColor] => #eeeeee [canvas] => #000000 [backgroundColor] => rgba(51,51,51,1.00) [font-face] => Tahoma, Geneva, sans-serif [player-position] => [progressColor] => #bb0000 [timeColor] => #eeeeee [durationColor] => #eeeeee [design-timeline] => [design-icons] => [accent] => #4682B4 ) [skin] => youtuby [hlsjs] => true [lightbox_images] => false [lightbox_improve_galleries] => false [mailchimp_api] => [mailchimp_list] => [mailchimp_label] => Subscribe for updates [player_model_db_checked] => 7.4.37.727 [player_meta_model_db_checked] => 7.4.37.727 [video_model_db_checked] => 7.4.37.727 [video_meta_model_db_checked] => 7.4.37.727 [pro] => Array ( [quality] => -1080p,1080p (Highest) -720p,770p -480p,480p -360p,360p [transcript_theme] => light [video_ads_default] => no [video_ads_postroll_default] => no [video_ads_skip] => 5 [video_ads_skip_minimum] => 10 [watching_prompt_msg] => Are you still watching? [interface] => Array ( [chapters] => false [copy_text] => true [hflip] => false ) [autoplay_once] => false [start_end] => false [autoplay_scroll] => true [autoplay_scroll_enhanced] => false [ab_loop] => true [vimeo_debug] => false [copy_text] => false [copy_text_time] => 5 [watching_prompt] => false [watching_prompt_interval] => 30 [transcript_hidden] => false [stream_loader_on] => false [stream_loader_speed_up] => false [vimeo] => true [yt_logo] => false [youtube_ads_disable] => false [youtube_key] => [amazon_s3] => true [elastic_key] => [elastic_secret] => [elastic_region] => [cf_domain] => cdn.admintoarchitect.com,video.admintoarchitect.com [cf_key_id] => (redacted) [cf_pk] => (redacted) [bunnycdn_domain] => [bunnycdn_secure_token] => (redacted) [cloudflare_domain] => [cloudflare_secure_token] => (redacted) [keycdn_domain] => [keycdn_secure_token] => (redacted) [stackpath_domain] => [stackpath_secure_token] => (redacted) [ads_exoclick_zone] => [ads_exoclick_login] => [ads_exoclick_cat] => [ads_exoclick_site] => [video_ads_between_vids] => false [video_ads_once] => false [video_ads] => Array ( ) [vimeo_at] => (redacted) [vimeo_dash_disable] => false [vimeo_iframe] => false [vimeo_location] => [vimeo_direct_ajax] => false ) [version] => 7.4.37.727 [css_writeout-https-admintoarchitect-com] => 1608140494 [video_checker_agreement] => true [show_controlbar] => false [hd_streaming] => false [multiple_playback] => false [ui_no_picture_button] => false [ui_repeat_button] => true [ui_rewind_button] => true [ui_speed] => true [splash] => https://netstronghold.wpengine.com/wp-content/uploads/2019/09/VideoBackground.png [subtitleOn] => false [video_position_save_enable] => true [fv-wp-flowplayer-submit] => SaveAllChanges [integrations] => Array ( [featured_img] => false [wp_core_video] => false [facebook_sharing] => false [schema_org] => false ) [css_disable] => false [profile_videos_enable_bio] => false [parse_comments] => true [rtmp-live-buffer] => false [db_duration] => true [lightbox_force] => false [mobile_native_fullscreen] => true [mobile_force_fullscreen] => false [mobile_alternative_fullscreen] => false [mobile_landscape_fullscreen] => false [video_sitemap] => false [video_sitemap_meta] => [fv_player_admin_pro_quality_alive] => 1 [playlistFontColor-proxy] => # [subtitleFontFace] => inherit [s3_browser] => true [digitalocean_spaces] => Array ( [space] => [endpoint] => [key] => [secret] => ) [fv_player_admin_pro_video_ads_alive] => 1 [vi_login] => [vi_pass] => ) DATABASE CREATE TABLE `5hEUF_fv_player_players` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `player_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `player_slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `videos` text COLLATE utf8mb4_unicode_ci NOT NULL, `ab` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL, `ad` text COLLATE utf8mb4_unicode_ci NOT NULL, `ad_height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `ad_width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `ad_skip` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `align` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `author` bigint(20) unsigned NOT NULL DEFAULT 0, `autoplay` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `controlbar` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `copy_text` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `changed_by` bigint(20) unsigned NOT NULL DEFAULT 0, `date_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `date_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `embed` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL, `end_actions` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `end_action_value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `hflip` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_caption` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `playlist` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `playlist_advance` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `qsel` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL, `share` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `share_title` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `share_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `speed` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `sticky` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `video_ads` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `video_ads_post` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=154 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `5hEUF_fv_player_playermeta` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `id_player` bigint(20) unsigned NOT NULL DEFAULT 0, `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_player` (`id_player`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=180 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `5hEUF_fv_player_videos` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `src` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `src1` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `src2` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `splash` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `splash_text` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `caption` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `end` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `mobile` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `rtmp` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `rtmp_path` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `start` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `src` (`src`(191)), KEY `caption` (`caption`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=154 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `5hEUF_fv_player_videometa` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `id_video` bigint(20) unsigned NOT NULL DEFAULT 0, `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_video` (`id_video`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=308 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ### End System Info ###
Hello talbotp,
it appears this is a bug in the BuddyBoss theme. It has this code which listens to the “ready” event and when it occurs it initializes the menu click action in BuddyBossTheme.init().
$( document ).on( 'ready', function () { BuddyBossTheme.init(); ... } );
However it just listens to any “ready” event in the document, including the child elements. So when the Flowplayer library which we use triggers “ready” for the video as it starts playing, BuddyBoss will init that menu handler again. And then when you click the menu icon it counts as two clicks – one to open it and the other to close it.
There was no recent change in FV Player that would cause this, but it’s possible this issue is more visible with new jQuery in WordPress 5.6
So I would recommend you do not update to WordPress 5.6 until BuddyBoss developers fix this as what they do is not listed among:
jQuery offers several ways to attach a function that will run when the DOM is ready. All of the following syntaxes are equivalent
Which you can check here: https://api.jquery.com/ready/
That document also says:
As of jQuery 3.0, only the first syntax is recommended; the other syntaxes still work but are deprecated.
They recommend using
$( handler )
…which is the second example here: https://learn.jquery.com/using-jquery-core/document-ready/
Thanks,
Martin