• 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

Error in frontend.php on line 163

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Error in frontend.php on line 163

  • Vijay 7 years, 11 months ago

    Could you please help me on gettign following issue
    Warning: json_encode() expects exactly 1 parameter, 2 given in /plugins/fv-wordpress-flowplayer/models/flowplayer-frontend.php on line 163

Viewing 9 replies - 1 through 9 (of 9 total)
  • Eduard 8 years ago
    Avatar photo

    Hi Vijay,

    Could you please send me a link to your website where I could see the issue?

    Thanks,
    Eduard

    • This reply was modified 7 years, 11 months ago by Eduard.
    Martin 8 years ago

    Hello Vijay,

    if you get that error, you must be using PHP 5.2, which is too old. Although WordPress runs on PHP 5.2.4 and above, it’s not recommended anymore as there are even some security issues with in that version.

    We will fix this in our plugin though.

    Thanks,
    Martin

    MOHD H 8 years ago

    I have the same issue . can you help please

    Martin 8 years ago

    Hello Mohd,

    please double-check that you are using the latest version of FV Player, as this was fixed in version 6.5.1 and the latest version is 6.5.2.

    Thanks,
    Martin

    MOHD H 8 years ago

    my current version installed :
    -FV Player Version 6.5.2
    -FV Player Pro Version 0.9.16

    still I have the same issue

    Martin 8 years ago

    Hello Mohd,

    I realized what is the issue – could you please reinstall plugin from http://wordpress.org/plugins/fv-wordpress-flowplayer/ ? That will fix the issue.

    Thanks,
    Martin

    MOHD H 8 years ago

    still not working in developer mod in chrome i get this error

    Uncaught SyntaxError: Unexpected token \ in JSON at position 1
    at JSON.parse (<anonymous>)
    at fv_player_videos_parse (fv-flowplayer.min.js?ver=6.5.2:411)
    at HTMLDivElement.<anonymous> (fv-flowplayer.min.js?ver=6.5.2:574)
    at Function.each (jquery.js:2)
    at a.fn.init.each (jquery.js:2)
    at fv_player_load (fv-flowplayer.min.js?ver=6.5.2:569)
    at fv_player_preload (fv-flowplayer.min.js?ver=6.5.2:561)
    at fv-flowplayer.min.js?ver=6.5.2:453

    Martin 8 years ago

    Hello Mohd,

    I see, it’s actually some other error. I see that on your website ” symbol is encoded as \u0027 rather than & quot;

    I see that my fix for PHP versions prior to 5.3 was incorrect. Could you please re-install from http://wordpress.org/plugins/fv-wordpress-flowplayer/ once again? That will fix the issue.

    Thanks,
    Martin

    MOHD H 8 years ago

    thanks it is working now

Viewing 9 replies - 1 through 9 (of 9 total)
Reply To: Error in frontend.php on line 163



Please Sign in or Register to upload files.

Related Posts

  1. Warning message

    Warning message

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

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

  3. Warning after the latest update

    Warning after the latest update

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‬