• Resolved ale5000

    (@ale5000)


    Inside /wp-admin/admin.php?page=monsterinsights_reports if I click 50 or 25 under “Show” inside “Top Posts / Pages” it doesn’t do anything.

    I get:

    admin.js:872 Uncaught TypeError: jQuery(...).addClass(...).disable is not a function
        at HTMLButtonElement.<anonymous> (admin.js:872)
        at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-tooltip&ver=4.9.4:3)
        at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-tooltip&ver=4.9.4:3)
    (anonymous) @ admin.js:872
    dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-tooltip&ver=4.9.4:3
    r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-position,utils,jquery-ui-tooltip&ver=4.9.4:3
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author chriscct7

    (@chriscct7)

    Hi there,
    If you can, please reach out to us at MonsterInsights.com/lite-support/ this appears to be a plugin conflict that we should be able to investigate and give you a patch plugin to prevent the conflict for pretty quickly

    Thanks,
    -Chris

    I too get this issue.

    View post on imgur.com

    Thread Starter ale5000

    (@ale5000)

    Does “Show” actually really work for anyone?
    For me it look like the plugin tried to use a function that doesn’t exist.
    Looking over the internet jQuery doesn’t have a disable function.

    So I have replaced the line:
    jQuery(this).addClass("active").disable(true).siblings().removeClass("active").disable(false);
    with this:
    jQuery(this).addClass("active").attr('disabled','disabled').siblings().removeClass("active").removeAttr('disabled');
    inside:
    /wp-content/plugins/google-analytics-for-wordpress/assets/js/admin.js

    And the problem is fixed.
    Please fix it in the new version.

    PS: Reported at MonsterInsights.com/lite-support/

    Plugin Author chriscct7

    (@chriscct7)

    Hi there,
    We actually shimmed our own function for this. It seems that some versions of the JS for the Lite version don’t include the shim. We’ll make sure this gets fixed in the release today.

    -Chris

    Plugin Author chriscct7

    (@chriscct7)

    An update to resolve this issue has been released.

    Please note in the future, we normally only do support for users at monsterinsights.com/lite-support/ so that our whole team (not just those with wp.org access) can do support and also so we can give a faster and better support experience by having tickets for both our Lite and Pro versions in the same place.

    -Chris

    Thread Starter ale5000

    (@ale5000)

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Show” don’t work’ is closed to new replies.