Foliovision › Forums › FV Player › Bug Reports › Warnings after saving/updating a page
-
Hello,
I am using FV Player and FV Player Pro, both have version 7.3.4.727 on a pay site for streaming videos. After I updated WordPress to the latest version 5.0.2 I get several warnings after I save/update a page where the Flowplayer is embeded. After I clear the cache of the browser I can access the page again. I tried with different browsers the issue remains the same.I get the following warnings:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/nickmazzaro/public_html/wp-content/plugins/fv-wordpress-flowplayer/models/db-player.php on line 593
Warning: count(): Parameter must be an array or an object that implements Countable in /home/nickmazzaro/public_html/wp-includes/post-template.php on line 284
Warning: count(): Parameter must be an array or an object that implements Countable in /home/nickmazzaro/public_html/wp-includes/post-template.php on line 284
Warning: Cannot modify header information – headers already sent by (output started at /home/nickmazzaro/public_html/wp-content/plugins/fv-wordpress-flowplayer/models/db-player.php:593) in /home/nickmazzaro/public_html/wp-admin/post.php on line 209
Warning: Cannot modify header information – headers already sent by (output started at /home/nickmazzaro/public_html/wp-content/plugins/fv-wordpress-flowplayer/models/db-player.php:593) in /home/nickmazzaro/public_html/wp-includes/pluggable.php on line 1223
I hope to get an advice how to fix the issue.
Thanks
Nick
-
-
Hello Nikolaos,
this issue might be caused by switching PHP versions. What version are you on now? You can find that in Settings -> FV Player Pro -> Tools -> System Info. It’s a big text area where you can look for “PHP Version”.
We found no issues when using PHP 7.1.12, 7.1.15 and 7.2.1.
What other plugins are you using? You can just send the full content of that “System info” box too.
Thanks,
MartinHello Martin,
I am usind the latest php version.
Here the content of the system info box:### Begin System Info ### ## Please include this information when posting support requests ## Multisite: No SITE_URL: https://frankfurtsexstories.com HOME_URL: https://frankfurtsexstories.com FV Player version: 7.3.4.727 FV Player core version: 7.2.7.1 FV Player license: Valid (next check 2019-01-03 06:48:18 GMT) FV Player Pro version: 7.3.4.727 FV Player Pro license: Valid (next check 2019-01-03 06:48:13 GMT) WordPress Version: 5.0.2 Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Active Theme: RetroTube 1.2.3 Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 PHP Version: 7.2.13 MySQL Version: 5.7.24-log Web Server Info: Apache WordPress Memory Limit: 256000M PHP Safe Mode: No PHP Memory Limit: 256000M PHP Upload Max Size: 256000M PHP Post Max Size: 256000M PHP Upload Max Filesize: 256000M PHP Time Limit: 3000 PHP Max Input Vars: 10000 PHP Arg Separator: & PHP Allow URL File Open: Yes WP_DEBUG: Enabled DISPLAY ERRORS: On (1) cURL: Your server supports cURL. ACTIVE PLUGINS: 404 To Homepage: 1.1.0 Advanced Facebook Twitter Widget: 1.5 Akismet Anti-Spam: 4.1 amr shortcode any widget: 3.6 Black Studio TinyMCE Widget: 2.6.4 Caldera Forms: 1.7.5.1 Classic Editor: 1.3 Comments Like Dislike: 1.0.6 Cookie Notice: 1.2.45 Count Per Day: 3.6.1 Easy Age Verifier: 2.1.4 Easy Updates Manager: 8.0.3 Email Subscribers & Newsletters: 3.5.17 File Manager Advanced: 2.1 Fonts: 2.3 FV Player: 7.3.4.727 FV Player Pro: 7.3.4.727 Google Analytics Dashboard for WP (GADWP): 5.3.7 Hide Admin Bar From Non-admins: 1.0 Import Paid Memberships Pro Members from CSV: 2.60 Media from FTP: 10.10 Media Slider: 0.4.0 Metaphor Shortcodes: 2.3.1 Olevmedia Shortcodes: 1.1.9 Paid Memberships Pro: 1.9.5.6 Paid Memberships Pro - Advanced Levels Page Shortcode Add On: .2.4 Paid Memberships Pro - Email Templates Add On: 0.7.1 Paid Memberships Pro - Register Helper Add On: 1.4 Paid Memberships Pro - Table Layout Plugin Pages: .1 Photo Gallery: 1.5.14 PMPro Roles: 1.0 Pricing Table by Supsystic: 1.6.7 Regenerate Thumbnails: 3.0.2 Resize Image After Upload: 1.8.5 Sell Downloads: 5.0.59 Server Status: 1.4.0 Simple Download Monitor: 3.7.2 Simple File Downloader: 1.0.4 Smush Pro: 2.9.1 Theme My Login: 6.4.10 UpdraftPlus - Backup/Restore: 2.15.2.24 User Login History: 1.7.0 When Last Login: 1.1 Who's Logged In: 1.0 WonderPlugin Slider Lite: 10.2 WonderPlugin Video Embed: 1.5 Wordfence Assistant: 1.0.6 Wordfence Security: 7.1.18 WP-Script Core: 1.2.7 WP Rocket: 3.2.2 Yoast SEO: 8.4 SETTINGS Array ( [notice_new_lightbox] => 1 [autoplay] => false [googleanalytics] => [key] => (redacted) [logo] => [rtmp] => [auto_buffering] => true [disableembedding] => true [disablesharing] => true [disable_video_hash_links] => true [popupbox] => true [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,1.00) [subtitleSize] => 16 [playlistBgColor] => #808080 [playlistFontColor] => # [playlistSelectedColor] => #bb0000 [logoPosition] => bottom-left [parse_commas] => false [width] => 1920 [height] => 1080 [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] => true [interface] => Array ( [ads] => false [align] => false [autoplay] => true [controlbar] => true [embed] => false [live] => false [mobile] => false [playlist_advance] => false [playlist] => false [playlist_captions] => false [share] => false [speed] => true [splash_text] => false [subtitles] => false [sticky] => false [end_actions] => false [lightbox] => false [ab] => false [shortcode_editor_old] => false [popup] => true ) [amazon_bucket] => Array ( [0] => ) [amazon_key] => (redacted, 1) [amazon_secret] => (redacted, 1) [amazon_region] => Array ( [0] => ) [amazon_expire] => 5 [amazon_expire_force] => false [fixed_size] => false [js-everywhere] => true [marginBottom] => 28 [ui_play_button] => true [volume] => 0.5 [player-position] => [playlist_advance] => true [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] => false [sticky_place] => right-bottom [sticky_width] => 380 [playlist-design] => 2017 visible-captions [skin-slim] => Array ( [progressColor] => #bb0000 ) [skin-youtuby] => Array ( [progressColor] => #bb0000 ) [skin-custom] => Array ( [hasBorder] => true [bottom-fs] => true [borderColor] => #666666 [marginBottom] => 2.8 [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] => fp-full [design-icons] => fp-outlined ) [skin] => slim [hlsjs] => true [lightbox_images] => false [lightbox_improve_galleries] => false [mailchimp_api] => [mailchimp_list] => [mailchimp_label] => Subscribe for updates [version] => 7.3.4.727 [css_writeout-https-frankfurtsexstories-com-wp-content] => 1545971618 [video_checker_agreement] => true [pro] => Array ( [quality] => -1080,1080p HD -4K,2160p 4K -720,720p HD -480,480p SD -360,360p -240,240p [video_ads_default] => no [video_ads_postroll_default] => no [video_ads_skip] => 5 [video_ads_skip_minimum] => 10 [interface] => Array ( [chapters] => false [copy_text] => false [hflip] => true ) [autoplay_once] => false [start_end] => false [autoplay_scroll] => false [ab_loop] => false [vimeo_debug] => false [copy_text] => false [copy_text_time] => 5 [download_template] => %caption% [vimeo] => false [yt_logo] => false [youtube_titles_disable] => false [youtube_ads_disable] => false [youtube_key] => [amazon_s3] => false [cf_domain] => [cf_key_id] => [cf_pk] => [elastic_key] => [elastic_secret] => [elastic_region] => [bunnycdn_domain] => frankfurtsexstories.b-cdn.net [bunnycdn_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 ( ) ) [fv-wp-flowplayer-submit] => SaveAllChanges [show_controlbar] => false [ui_no_picture_button] => true [ui_repeat_button] => true [ui_speed] => true [splash] => [subtitleOn] => true [video_position_save_enable] => false [integrations] => Array ( [featured_img] => false [wp_core_video] => false [embed_iframe] => false [facebook_sharing] => false [schema_org] => true ) [css_disable] => false [profile_videos_enable_bio] => false [parse_comments] => false [rtmp-live-buffer] => false [db_duration] => false [mobile_native_fullscreen] => false [mobile_force_fullscreen] => false [mobile_alternative_fullscreen] => false [video_sitemap] => false [video_sitemap_meta] => [playlistFontColor-proxy] => # [subtitleFontFace] => inherit [s3_browser] => false [vi_login] => nickmazzaro [vi_pass] => Bodyfit00 [notice_db] => true [video_model_db_checked] => 7.3.4.727 [player_model_db_checked] => 7.3.4.727 [player_meta_model_db_checked] => 7.3.4.727 [video_meta_model_db_checked] => 7.3.4.727 [key7] => [fv_player_admin_pro_quality_alive] => 1 [fv_player_admin_pro_video_ads_alive] => 1 ) DATABASE CREATE TABLE `wp_fv_player_players` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `player_name` varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL, `player_slug` varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL, `videos` mediumtext COLLATE utf8mb4_unicode_520_ci NOT NULL, `ab` varchar(3) COLLATE utf8mb4_unicode_520_ci NOT NULL, `ad` text COLLATE utf8mb4_unicode_520_ci NOT NULL, `ad_height` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `ad_width` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `ad_skip` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `align` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `author` bigint(20) unsigned NOT NULL DEFAULT '0', `autoplay` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `controlbar` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `copy_text` varchar(120) COLLATE utf8mb4_unicode_520_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_520_ci NOT NULL, `end_actions` varchar(10) COLLATE utf8mb4_unicode_520_ci NOT NULL, `end_action_value` varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL, `height` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `hflip` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `lightbox` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `lightbox_caption` varchar(120) COLLATE utf8mb4_unicode_520_ci NOT NULL, `lightbox_height` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `lightbox_width` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `playlist` varchar(10) COLLATE utf8mb4_unicode_520_ci NOT NULL, `playlist_advance` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `qsel` varchar(25) COLLATE utf8mb4_unicode_520_ci NOT NULL, `share` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `share_title` varchar(120) COLLATE utf8mb4_unicode_520_ci NOT NULL, `share_url` varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL, `speed` varchar(255) COLLATE utf8mb4_unicode_520_ci NOT NULL, `sticky` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, `video_ads` varchar(10) COLLATE utf8mb4_unicode_520_ci NOT NULL, `video_ads_post` varchar(10) COLLATE utf8mb4_unicode_520_ci NOT NULL, `width` varchar(7) COLLATE utf8mb4_unicode_520_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci CREATE TABLE `wp_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_520_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_520_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_player` (`id_player`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci CREATE TABLE `wp_fv_player_videos` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `src` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `src1` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `src2` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `splash` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `splash_text` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `caption` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `end` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `mobile` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `rtmp` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `rtmp_path` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, `start` varchar(1024) COLLATE utf8mb4_unicode_520_ci NOT NULL, PRIMARY KEY (`id`), KEY `src` (`src`(191)), KEY `caption` (`caption`(191)) ) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci CREATE TABLE `wp_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_520_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_520_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_video` (`id_video`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=MyISAM AUTO_INCREMENT=68 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci ### End System Info ###
Thanks
NickHello Nikolaos,
thank you for posting these details!
Could you please reinstall FV Player from this ZIP file and see if that fixes the issue? https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip
Note: To reinstall FV Player first disable the plugin and delete it. WordPress might say that will might loose some data, but that doesn’t apply to FV Player – no settings nor videos will be lost. Then you will be able to upload that ZIP file. No need to do anything about FV Player Pro.
The above plugin file contains a hotfix for the issue. Can you also post the Export of the player data from wp-admin -> FV Player for the player which is causing the issue? But it might be caused by some other plugin as well.
Thanks,
Martin