12 Responses to No dashboard graphic under wp 5.6

  1. Kento December 28, 2020 at 7:29 pm #

    Hi Guido,

    Thanks for the feedback and communication with WPBakery support! I went ahead and also did a test with their latest version 6.5.0 on WordPress 5.6.0 using the Twenty Nineteen theme. There are no issues with the combination. Here are screenshots from the page content designed with the page builder and the dashboard shortcode, along with another screenshot viewing it as an affiliate. Graphs appear and work fine in their various sections.

    WPBakery Page Builder using the [affiliates_dashboard] shortcode.

    Viewing the affiliates dashboard as an affiliate.

    Given that things work fine on this setup, I would recommend to revise what other factors might be influencing what happens on your site. Also make sure to update to their latest version of the page builder.

    Cheers

  2. GMT-IT December 23, 2020 at 8:12 am #

    I just installed the update to affiliate-enterprise 4.8.0. Banner and custom field translations now work. THANKS.

    But:
    No graphic is displayed in the dashboard (see screenshots):
    Wordpress 5.5.3:
    https://cloud.suelsen.de/index.php/s/o5orDLCXfCiCgLo

    WordPress 5.6:
    https://cloud.suelsen.de/index.php/s/f74FwaDN6FBesL5

    This is the error:
    jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
    jquery.flot.min.js?ver=4.8.0:7 Uncaught Error: Invalid dimensions for plot, width = 0, height = 400
    at Canvas.resize (jquery.flot.min.js?ver=4.8.0:7)
    at new Canvas (jquery.flot.min.js?ver=4.8.0:7)
    at setupCanvases (jquery.flot.min.js?ver=4.8.0:7)
    at new Plot (jquery.flot.min.js?ver=4.8.0:7)
    at Function.$.plot (jquery.flot.min.js?ver=4.8.0:8)
    at Object.affiliates_dashboard_overview_graph.render (dashboard-overview-graph.js?ver=4.8.0:112)
    at HTMLDocument. (?affiliates-dashboard-section=overview:681)
    Canvas.resize @ jquery.flot.min.js?ver=4.8.0:7
    Canvas @ jquery.flot.min.js?ver=4.8.0:7
    setupCanvases @ jquery.flot.min.js?ver=4.8.0:7
    Plot @ jquery.flot.min.js?ver=4.8.0:7
    $.plot @ jquery.flot.min.js?ver=4.8.0:8
    affiliates_dashboard_overview_graph.render @ dashboard-overview-graph.js?ver=4.8.0:112
    (anonym) @ ?affiliates-dashboard-section=overview:681

    • Kento December 23, 2020 at 10:59 am #

      Hi!

      Thanks for your patience on the update, I think the improvement was well in order and it’s great to hear that it’s working for you!

      We don’t see the issue happening with the dashboard graph on our tests. I would first try clearing the cache on your site and check if that makes a difference. If that doesn’t do the trick, my guess would be an issue with the containers used to embed the dashboard section. You could try applying a minimum width to the container that holds the overview section.

      Cheers

      • GMT-IT December 23, 2020 at 11:52 am #

        I cleared the cache before. This makes no difference. It works on the main page, which runs under WP 5.5.3. Only after the update to WP 5.6 on the test page no longer. The containers used to embed the dashboard section are the same on both domains!

        Best regards

        Guido

        • Kento December 23, 2020 at 12:20 pm #

          Hi Guido,

          The issues seems to be with WP Bakery page builder. I’ve set up a page (in draft) titled “Test” where you can see it working fine. I would advise to reach out to their support to see if they are aware of what might be causing the issue.

          Cheers

          • GMT-IT December 23, 2020 at 4:22 pm #

            That’s the answer from WP Bakery Support:

            “Hi,

            It looks like a third party code is altering the output at your end. Please try deactivating all the plugins except WPBakery Page Builder and especially switching onto a default theme like twenty seventeen to check the same. You can then activate them one by one to find out the exact one causing the issue. Let us know if the issue still exists.

            Thank you,”

            I deactivated all plugins except wpbakery and all affiliate plugins. the mistake remains. Since the graphic is displayed on the live page under WP 5.5.3 (all plugins are the same) it seems to be a WP 5.6 js problem with affiliate enterprise. The calculation of the width does not work if you are on WP 5.6. updated. Can you tell me where exactly the width for the graphic is calculated and passed as a parameter? That seems to be the fault.

          • GMT-IT December 23, 2020 at 6:32 pm #

            Hello Kento.

            If you activate jQuery Migrate Helper under 5.6 the following message appears:

            2020-12-23 20:24:17 jQuery.isFunction() is deprecated Plugin: Affiliates Enterprise https://xxx.xx/wp-content/plugins/affiliates-enterprise/js/graph/flot/jquery.flot.resize.min.js https://xxx.xx/partner-area/

            If you switch to Legacy 1.12.4-wp, the graphics work. Not in the standard setting!

      • GMT-IT December 23, 2020 at 12:59 pm #

        You wrote: You could try applying a minimum width to the container that holds the overview section.

        Have set a min-width. Unfortunately it doesn’t work either.

        • GMT-IT December 23, 2020 at 2:18 pm #

          Hi Kento.
          Opened a ticket at the WP Bakery Page Buider. As soon as an answer comes, I’ll put it here. It looks like the updated js for the tabs is no longer compatible with jquery.flot.js.

  3. GMT-IT December 10, 2020 at 4:59 pm #

    Hello Eugen.

    Did you get the login data?

    • Eugen Bleck December 10, 2020 at 5:37 pm #

      Hi there,

      I did receive it. Thank you for sharing the login info.

      Kindest regards,
      Eugen.

  4. Eugen Bleck December 9, 2020 at 5:20 pm #

    Hi there,

    I trust you are well and safe!

    Thank you so much for being a valued customer of our plugins for all these years. It brings us great joy!

    Please could you share WordPress admin login details to this email: eugen [at] itthinx [dot] com. So I take a closer look at the user for you.

    I remain eager towards helping you resolve this issue.

    STAY SAFE and I wish you a very fine and productive day ahead!
    Kind regards,
    Eugen.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share