jQuery Error

Hi there,

We recently have a jQuery error that crashes the entire “My-Account” page, the problem goes away when we deactivate Affiliate Enterprise.

We have not altered any core files. I was editing the page with Visual Composer when I noticed a few things were wrong with the page. It seems to be related to the graph shortcode, though I have no idea why that would happen. The page used to work fine and we had no recent update (other than Yoast, but we’ve tried deactivating it and the problem remains).

Uncaught Invalid dimensions for plot, width = 0, height = 320
/affiliates-enterprise/js/graph/flot/jquery.flot.min.js

URL : http://nationhats.staging.wpengine.com/my-account/

I’d appreciate if you could have a look.

Thank you.

Kind regards,
B

——————-

UPDATE -> I have narrowed down the problem to this shortcode : [affiliates_affiliate_graph interval=”month” render”hits, visits”]

It’s strange because it was there yesterday and it caused no issues…


Comments

One response to “jQuery Error”

  1. Hi Bastien,
    probably it’s a conflict with your theme. According with this post, please try to add width in your container with css.
    Kind Regards,
    Antonio B.

Share