• 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

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 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 5 years ago
    Avatar photo

    Thanks Timothy,

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

    Thanks for helping us,
    Juraj

    Martin 5 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. 5 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 5 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 5 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 5 years ago

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

    Martin 5 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

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!