• Resolved joelkarunungan

    (@joelkarunungan)


    JS error from the plugin. See the site at https://current.webutation.com/

    This happens when the Close button settings are set to allow topbar to be closed by the user, reopened, start open, and use cookies.

    The topbar is also not showing up. I think it may be because of the JS error, or a bad CSS rule for the div with id wptbheadline1 which is set to display:none.

    Can you provide a patch so I can fix it on our site or provide the fix in a new release of the plugin? Thank you.

    https://www.ads-software.com/plugins/wp-topbar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author rfgoetz

    (@rfgoetz)

    For some reason, the javascript that is being generated is missing the code that selects the TopBar. Can you export your TopBar (in JSON FORMAT) and email it to me? My email address is in wp-topbar.php.

    I can then load your TopBar on my test site and quickly debug the issue.

    Thread Starter joelkarunungan

    (@joelkarunungan)

    I’ve sent it to your email address. Thanks man for looking into this.

    Plugin Author rfgoetz

    (@rfgoetz)

    I was able to recreate the error with your file… Now I have to find the defect.

    Plugin Author rfgoetz

    (@rfgoetz)

    In wp-topbar.php

    Look for this line:

    function wptb_build_reopenable__topbar_js ($wptbTopBarNumber) {

    Replace it with this line

    function wptb_build_reopenable__topbar_js ($wptbOptions, $wptbTopBarNumber) {

    Let me know if that works for you,

    Bob

    Thread Starter joelkarunungan

    (@joelkarunungan)

    Unfortunately, it caused a regression. The bar now appears but when the close button is clicked, it causes the bar to close then reopen by itself. When it automatically reopens, the bar is empty.

    Plugin Author rfgoetz

    (@rfgoetz)

    The TopBar on your site is working perfectly for me on Chrome.

    https://current.webutation.com/

    What browser are you using?

    Bob

    Thread Starter joelkarunungan

    (@joelkarunungan)

    That’s not topbar anymore. We removed the plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught Type Error: Property '1' of object # is not a function’ is closed to new replies.