• 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
  • 42 items in basket 42
    • Cart
    • Store

PHP Warning: stripslashes() expects parameter 1 to be string, object

Foliovision › Forums › FV Player › Bug Reports › PHP Warning: stripslashes() expects parameter 1 to be string, object

  • Timothy H. 5 years, 9 months ago

    Just reporting a bug in flowplayer V7.4.17.727 :

    PHP Warning: stripslashes() expects parameter 1 to be string, object given in /var/www/wp-content/plugins/fv-wordpress-flowplayer/models/db-player-meta.php on line 341

Viewing 7 replies - 1 through 7 (of 7 total)
  • Juraj Kacaba 6 years ago
    Avatar photo

    Thanks Timothy,

    I’ve forwarded your report to our development team for a check.

    Thanks for helping us,
    Juraj

    Martin 6 years ago

    Hello Timothy,

    I don’t see any reason why you could get such error.

    Please check Settings -> FV Player Pro -> Tools -> System Info. When you scroll to the bottom of it, do you see something like this?

    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=InnoDB AUTO_INCREMENT=329 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci

    In another words, there was to be that wp_fv_player_playermeta table.

    Are you able to trace it to a specific player ID? Perhaps the log gives your the URL where did the error occur?

    Also, what PHP version are you using?

    Thanks,
    Martin

    Timothy H. 6 years ago

    I have this is my settings. Almost identical but my server is using utf8mb4_unicode_ci vs. utf8mb4_unicode_520_ci in your sample above.

    ———————————
    Settings:
    ———————————

    Multisite: No

    FV Player version: 7.4.17.727
    FV Player core version: 7.2.7
    FV Player license: Valid (next check 2020-05-05 18:59:07 GMT)

    FV Player Pro version: 7.4.16.727
    FV Player Pro license: Valid (next check 2020-05-05 18:59:06 GMT)

    WordPress Version: 5.3.2
    Permalink Structure: /%postname%/
    Active Theme: Myriad 1.0 (BackStop Themes – my theme company)

    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
    PHP Version: 5.6.40-0+deb8u11
    MySQL Version: 5.5.62
    Web Server Info: Apache

    WordPress Memory Limit: 128M
    PHP Memory Limit: 256M
    PHP Upload Max Size: 50M
    PHP Post Max Size: 50M
    PHP Upload Max Filesize: 50M
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled

    DISPLAY ERRORS: On (1)
    cURL: Your server supports cURL.

    ———————————-

    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_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=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
    

    ——————————————————–

    Martin 6 years ago

    Hello Timothy,

    do you see that warning on any specific page? Or does it only appear in the log? If so, how often does it appear?

    I’m trying to figure out if this is affecting the normal pageview or if it only occurs in background due to some background processing.

    Thanks,
    Martin

    Sven Herold 6 years ago

    We are experiencing the same problem. Failure occurs just with one of our videos. It happens when we have finished upload the video to FV Player and then save the project, Happens when saved directly in FV Player but also when adding the clip from the back-end.

    Warning: stripslashes() expects parameter 1 to be string, object given in ../wp-content/plugins/fv-wordpress-flowplayer/models/db-player-meta.php on line 341

    Warning: Cannot modify header information – headers already sent by (output started at ../wp-content/plugins/fv-wordpress-flowplayer/models/db-player-meta.php:341) in ../wp-admin/post.php on line 231

    Warning: Cannot modify header information – headers already sent by (output started at ../wp-content/plugins/fv-wordpress-flowplayer/models/db-player-meta.php:341) in ../wp-includes/pluggable.php on line 1281

    Warning: Cannot modify header information – headers already sent by (output started at ../wp-content/plugins/fv-wordpress-flowplayer/models/db-player-meta.php:341) in ../wp-includes/pluggable.php on line 1284

    Sven Herold 6 years ago

    Actually I just noticed that I have sent some sensitive links. Can you please not publish these to the public. Thanks!

    Martin 6 years ago

    Hello Sven,

    I removed these file paths from your message.

    It would be great if you could help us with the testing. Could you please reinstall FV Player (not FV Player Pro) from this file: https://github.com/foliovision/fv-wordpress-flowplayer/archive/344-debug-db-player-meta.zip To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.

    Then repeat the action which seems to trigger that error and there should be a detailed log of what happened in your WordPress folder named fv-player-db-player-meta-341.log.

    Thanks,
    Martin

Viewing 7 replies - 1 through 7 (of 7 total)
Reply To: PHP Warning: stripslashes() expects parameter 1 to be string, object



Please Sign in or Register to upload files.

Related Posts

  1. IE 9 Javascript Issues: Failsafe Release of Foliopress WYSIWYG

    IE 9 Javascript Issues: Failsafe Release of Foliopress WYSIWYG

  2. New FV WordPress Flowplayer version

    New FV WordPress Flowplayer version

  3. Amazon S3 Protected Content support added to FV Flowplayer

    Amazon S3 Protected Content support added to FV Flowplayer

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‬