Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25003

    Howdy! After upgrading WooCommerce and the Replete theme, I’m getting this error in the Chrome console, and it’s preventing most actual functionality (homepage slider, add to cart buttons) from working:

    Uncaught TypeError: Object [object Object] has no method ‘avia_base_control_hide’

    Any thoughts or fixes? Thanks a million!

    #125466

    Please open up functions.php and check if the function

    function avia_register_frontend_scripts()

    contains following two lines:

    wp_register_script( 'aviapoly-slider',  AVIA_BASE_URL.'js/aviapoly2.js', 'jquery', "1.0.0", true);

    and

    wp_enqueue_script( 'aviapoly-slider' );

    if not please add them. If yes try to replace

    wp_register_script( 'aviapoly-slider',  AVIA_BASE_URL.'js/aviapoly2.js', 'jquery', "1.0.0", true);

    with

    wp_register_script( 'aviapoly-slider',  AVIA_BASE_URL.'js/aviapoly2.js', 'jquery', "1.0.0", false);

    #125467

    Changing it to false fixed it! Thanks!

    #125468

    Another error though!

    In the new version, my variable products don’t work — I get no add to cart button and the reviews/description tabs appear to be broken. I don’t see an obvious javascript error, however.

    You can see the problem on this page:

    http://www.whiteravengaming.com/product/raptor-mk-i/

    The issue was fixed when I dropped back to a previous version of Replete, but other things are broken with that now, so I definitely can’t just fall back.

    Hope you can help again!

    #125469

    Hi JFitzDela,

    I’ve tagged the topic for Kriesi. It looks like there are some things that need to be looked at for WooCommerce 2.0.12 and Replete 1.4.1.

    Regards,

    Devin

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘After Upgrade: Object has no method 'avia_base_control_hide'’ is closed to new replies.