custom.js Breaks BNE Flyout Plugin

Home Page 8DegreeThemes Forum Free Themes WP Store custom.js Breaks BNE Flyout Plugin

Viewing 7 reply threads
  • Author
    Posts
    • #23541
      thedrumdoctor
      Participant

      I’m not sure which update of the theme has done this, but 2 plugins I have installed stopped working properly with this theme. One was a responsive menu plugin which I have uninstalled and reverted back to the theme’s native menu. The other plugin is the still supported BNE Flyout (now ‘Panels’: https://www.bnecreative.com/products/panels/) which works with the current version of WordPress & Woocommerce.

      When I noticed my flyouts not working I contacted support to see if any WP or Woocommerce upgrades had broken it, but the developer says is due to a JavaScript error in the theme’s custom.js file, namely the following:

      $(“.various”).fancybox({
      ‘transitionIn’ : ‘none’,
      ‘transitionOut’ : ‘none’,
      ‘showCloseButton’ : true,
      ‘showNavArrows’ : true,
      });

      When I open custom.js in the file editor, Brackets, there are a number of error messages about the JavaScript within the file.

      ESLint reports errors on lines 1, 4, 8, 34, 37, 40, 45 & 69.

      I’m not a JavaScript coder so I cannot comment on the validity of what has been identified by the creator of the BNE Flyout plugin, but it has certainly worked without problems with this theme until very recently.

    • #23542
      thedrumdoctor
      Participant

      *UPDATE* The theme has also broken another plugin we use, Composite Products’.

      I know this, because it’s also stopped working on our site, so I cloned our site to a staging server and changed to the Woocommerce Storefront theme and the plugins started working again.

      I am now going to try and find a previous version of this theme which was working and install that instead.

    • #23545
      thedrumdoctor
      Participant

      *UPDATE 2*

      I’ve downgraded the theme to v1.1.3 and the same problems remain. Therefore, I believe the theme has some sort of JavaScript problem with the current versions of WP & Woocommerce.

    • #23555
      8Degree Themes
      Keymaster

      Hi there,

      Thank you for writing in.

      Could you please mail us at supoort@8degreethemes.com so that we can check on this and provide you a better solution.

      Regards!

    • #23592
      thedrumdoctor
      Participant

      Thanks guys! I emailed on 24/08/2020, but used the email address support@8degreethemes.com.

    • #23624
      8Degree Themes
      Keymaster

      Hi there,

      Thank you for writing in.

      We are sorry for the inconvenience caused.

      Could you please send us the details of your query at the same email?

      Regards!

    • #23734
      thedrumdoctor
      Participant

      Great work guys – it’s fixed with 1.1.7!

      I can now confirm BNE Flyout, Woocommerce Composite Products and the Instagram plugins now all work correctly. I had a look for a changelog but couldn’t find what the fix was, but thanks for getting that sorted as it’s put my confidence back in the theme.

    • #23738
      8Degree Themes
      Keymaster

      Hi there,

      Thank you for writing back,

      We have fixed the issue in our latest version of the theme. Please od update and check once.

      Regards!

Viewing 7 reply threads
  • You must be logged in to reply to this topic.

Our New Release - Eight Degree Innovative Corporate Theme (EDICT)

EDICT is a clean and innovative business WordPress theme. This business theme, built fully on theme options with Redux Framework, comes up with three stunning homepage demo layouts that can be imported with just one click of a button. Not to mention it also includes three elegantly designed blog, portfolio and header layouts.

Click on the below image for more detail.

Edict  Eight Degree Innovative Corporate Theme

Please post your questions in the respective forum above.

All questions related to our Pro theme will be answered in less than 24 hours. All questions related to our Free theme will be answered in less than 48 hours.
Our Facebook page is the best place to get updated with themes, documentation, question/answers. Please like us here:

Subscribe for newsletter

Loading