• Resolved jasonjil

    (@jasonjil)


    On frontend nothing is displayed on the GUI. The adapter page shows “responding” and it shows I have a balance on coinpayments for LTCT but nothing is showing in the dropdown menu and there is no balance displayed.

    I’ve gone thru all the steps you have provided for troubleshooting but I still can’t figure it out. I have tried on Chrome, Firefox and Explorer.

    When I use the browser’s JavaScript console I get a type error shown below:

    Uncaught TypeError: c[d].validatorFunction is not a function
    at Object.validator (wallets-ko.min.js?ver=2.13.6:1)

    Debug:

    Plugin version 2.13.6
    Git SHA 86c7af5
    PHP version 7.1.12
    WordPress version 4.9.4
    MySQL version 5.6.36-cll-lve
    DB prefix wp_
    Is multisite false
    Is network activated false
    PHP max execution time 30
    Constant ‘WP_DEBUG’ false
    Constant ‘WP_DEBUG_LOG’ false
    Constant ‘WP_DEBUG_DISPLAY’ true
    Constant ‘DISABLE_WP_CRON’ n/a
    Constant ‘DSWALLETS_FILE’ **/public_html/wp-content/plugins/wallets/wallets.php
    PHP Extension ‘curl’ Loaded
    PHP Extension ‘mbstring’ Loaded
    PHP Extension ‘zlib’ Loaded
    Active wallets extensions wallets-cp
    Network-active wallets extensions n/a

    Also note,
    This happens for short codes and for widgets.

    I do get the correct info when I go to the (address)/~user-wallets/?__wallets_action=get_coins_info

    Thank you in advance,
    J

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dashed-slug.net

    (@dashedslug)

    Thank you for reporting this. Your description of the problem is very thorough.

    I will fix the issue in the next patch release which should be out soon.

    Apologies for the inconvenience.

    kind regards
    Alex

    Thread Starter jasonjil

    (@jasonjil)

    Alex, thank you for the quick response and for the great work you do!

    I was curious if there was a temporary work around in the meantime?

    If not, no big deal – I will keep an eye out for the patch.

    Thanks again,
    J

    Plugin Author dashed-slug.net

    (@dashedslug)

    The fix is out now in 2.13.7.

    Please mark this thread as resolved if the issue is indeed solved.

    Otherwise please let me know.

    Thread Starter jasonjil

    (@jasonjil)

    That was super fast fix!!! It works perfectly!

    Thank you Alex,
    J

    Thread Starter jasonjil

    (@jasonjil)

    I’m sorry to bother you again however it seems now if you have more than 1 coin selected I’m getting the following:

    Uncaught TypeError: Unable to process binding “value: function (){return selectedCoin }”
    Message: Cannot read property ‘trim’ of undefined
    at Object.validatorFunction (wallets-bitcoin-validator.min.js?ver=2.13.7:1)

    I’m not sure if this happens only if there is no balance on a selected coin or not…

    Thanks,
    J

    Plugin Author dashed-slug.net

    (@dashedslug)

    Thanks for reporting.

    I am not exactly sure how this or even the previous error you had could occur. I do not think it has anything to do with the balance of any coin.

    Address validators are normally used whenever you type in a withdrawal address in the [wallets_withdraw] UI.

    Could you please tell me more about what you were doing when this occurred?

    1. Do you have the Bitcoin core node enabled in addition to enabling Bitcoin in the CoinPayments platform? (You should only have one adapter per coin enabled.)

    2. Does the error appear when your first load your wallets page, or when you attempt a withdrawal?

    3. Which browser are you using?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘TypeError on Frontend and nothing displayed’ is closed to new replies.