• 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

Admin JavaScript warning

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Admin JavaScript warning

  • Cédric 3 years, 11 months ago

    Hello,

    Following the update of the fv-player plugin (as well as others) we have a problem in the administration of our site when we want to administer a page containing a fv-player.
    An error is displayed instead of the player: “Admin Javascript warning- I’m sorry, your Javascript appears to be broken. Please “Check template” in plugin settings, read our troubleshooting guide, troubleshooting guide for programmers or order our pro support and will get it fixed for you”
    We have checked “check template” and everything seems ok (see attachment)
    We tried to make changes with the information found in your “troobleshooting guide” but nothing works.
    Can you help us to correct this problem which is very annoying.

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • Martin 4 years ago

    Hello Cirdec,

    please let us know what editor you are using – is it Gutenber, the Classic Editor or some page builder?

    Please try to open your browser developer console (here’s how https://foliovision.com/player/troubleshooting/javascript-browser-console), then load the page where the issue occurs again and see, if any error appears on the console.

    Thanks,
    Martin

    Cédric 4 years ago

    Elementor pro Version 3.6.3

    Martin 4 years ago

    Hello Cirdec,

    I tried with Elementor 3.5.6 on WordPress 5.9.2 and I’m not getting any error on console and the player loads – please see the attached screenshot.

    Does the issue go away if you disable Elementor Pro for a bit? Are you noticing anything on your browser console?

    The way of increasing the resilience of FV Player would be to either load the scripts in header (bad for performance) or load all instances in iframe (even worse).

    But perhaps the header loading is actually a good idea if it only works that way in wp-admin – where top performance is important, but most people editing the website have the script cached already.

    Thanks,
    Martin

    fv-player-editor-elementor-no-issues
    fv-player-editor-elementor-no-issues
    Cédric 4 years ago

    We have the same error in the front, not only in the back.

    Martin 4 years ago

    Hello Cirdec,

    I checked your website and the video here plays: https://www.y…r/topic/vive-le-vent-piano-debutant/

    But what’s strange are the two big symbols above the player – coming from LearnDash.

    It seems you are using some CSS optimization which might be broken. You should start by clearning and WordPress caches and see if that fixes the issue.

    If you still can’t play FV Player videos, please provide the screenshot of your browser console.

    Thanks,
    Martin

    Cédric 4 years ago

    Always the same problem

    275754932_660080988543206_2075406229924808840_n
    275754932_660080988543206_2075406229924808840_n
    275604877_4865715770171247_6259484842728850648_n
    275604877_4865715770171247_6259484842728850648_n
    275570779_332273108955596_5175540817281717827_n
    275570779_332273108955596_5175540817281717827_n
    Martin 4 years ago

    Hello Cirdec,

    thank you for these details. It appears some of the code on your website is using “const i” which then runs into an issue with the “var i” in some of FV Player code. So I took care of this bad practice in our plugin and the other plugin will no longer interfere with it.

    Could you please reinstall FV Player from this link? https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.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 also reinstall FV Player Pro – deactivate and delete the FV Player Pro plugin you are using, then hit “Install Pro extension” at the top of the wp-admin -> Settings -> FV Player screen.

    That way the issue should be fixed.

    However your console also shows the “Uncaught TypeError: L is undefined” coming from Elementor – I’m not sure if this will still break the JavaScript (and thus FV Player) or not.

    Thanks,
    Martin

    Cédric 4 years ago

    Solved !
    Martin you are my saver !
    thanks

    Cédric 4 years ago

    Can we continue to do the updates afterwards?

    Martin 4 years ago

    Hello Cirdec,

    thank you, I’m glad we were able to figure this out.

    These fixes will be part of the future releases of course.

    Thanks,
    Martin

    Jovan 4 years ago

    I had the same problem with the latest release 7.5.20.727. I had to roll back to version 7.4.47.727.

    I am also using version 7.5.19.727 FV Player Pro which is not causing issues.

    Martin 4 years ago

    Hello Jovan,

    please make sure you purge any caches, specially if you use something to optimize the JavaScript.

    If the issue persists, then please check open your browser developer console (here’s how https://foliovision.com/player/troubleshooting/javascript-browser-console), then load the page where the issue occurs again and see, if any error appears on the console.

    Thanks,
    Martin

    Jovan 4 years ago

    I got it working by turning off the LiteSpeed cache. I need LiteSpeed cache on because it is a high-traffic website with 700K page views monthly.

    I am not minifying CSS or Javascript with LiteSpeed cache and it still gives me an error.

    I have attached a screenshot of the Google Dev console error.

    I get an error with version 7.5.20.727 and no error with version 7.4.47.727.2.

    Let me know what I need to do on my end to let the latest version of FV Player work.

    Thank you

    screenshot-2022-04-04-163412
    Screenshot-2022-04-04-163412
    Martin 4 years ago

    Hello Jovan,

    could you please reinstall FV Player from this link? https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.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 it will work.

    I found that we forgot to include a single , in the code and that has caused the issue. We will add automated JavaScript code check using JSlint to avoid issues like this. Our current tests did not detect this as this bug does not break anything unless there is some other code on your website which is using a global variable named isSupported. So it’s an edge case bug and we will stop it from happening ever again.

    Thanks,
    Martin

    Jovan 4 years ago

    It is now working. Thank you

Viewing 15 replies - 1 through 15 (of 15 total)
Reply To: Admin JavaScript warning



Please Sign in or Register to upload files.

Related Posts

  1. AMP pages: Admin JavaScript warning: ERROR

    AMP pages: Admin JavaScript warning: ERROR

  2. Question about ADMIN JAVASCRIPT WARNING and other issues…

    Question about ADMIN JAVASCRIPT WARNING and other issues…

  3. Javascript warning message.

    Javascript warning message.

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‬