• Resolved griknota

    (@griknota)


    Hi, i have same problem, that guy from this topic https://www.ads-software.com/support/topic/ui-not-displaying-after-installation/

    (no UI, no shortcodes)

    I have clean wordpress with no specific plugins and something else. I have no any massages on console and adapter is online. Actually plugin works good in frontend – i can see in blockio how plugin create wallets for users.

    Curious fact – when i try to open page with shortcodes on it and then start deactivating of wallet plugin, on page i can see that error https://dl3.joxi.net/drive/2019/04/17/0025/1772/1701612/12/c0e35b17ed.png
    I think, that means, that plugin is actually do something on page.

    Now i trying to solve problem with my wp-developer skills ??
    Can you give me the cue about where i can find shortcode defination on plugin? Or, maybe you have any ideas about solving that issue?

    Thank you in advance and sorry for my language.

    ————————-
    Plugin version 4.2.1
    Git SHA 408d84e6
    Web Server Apache
    PHP version 5.6.40
    WordPress version 5.1.1
    MySQL version 5.6.43-cll-lve
    DB prefix wp_
    Is multisite false
    Is network activated false
    PHP max execution time 30
    DB storage engine for ‘wp_wallets_txs’ InnoDB
    DB storage engine for ‘wp_wallets_adds’ InnoDB
    Constant ‘WP_DEBUG’ false
    Constant ‘WP_DEBUG_LOG’ false
    Constant ‘WP_DEBUG_DISPLAY’ true
    Constant ‘DISABLE_WP_CRON’ n/a
    Constant ‘DSWALLETS_FILE’ /home/h21201/public_html/wp-content/plugins/wallets/wallets.php
    Constant ‘WP_MEMORY_LIMIT’ 40M
    PHP.ini ‘memory_limit’ 256M
    Cron jobs last ran on Wed, 17 Apr 19 13:46:16 +0000
    Cron jobs last runtime (sec) 1
    Cron jobs peak memory: 64709688
    Cron jobs memory delta: 487752
    PHP Extension ‘curl’ Loaded
    PHP Extension ‘mbstring’ Loaded
    PHP Extension ‘openssl’ Loaded
    PHP Extension ‘zlib’ Loaded
    Active wallets extensions wallets-blockio 2.2.3
    Network-active wallets extensions n/a

    The page I need help with: [log in to see the link]

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

    (@dashedslug)

    Hello and thank you for posting the debug info. Your installation looks pretty standard, no surprises there.

    First of all, to see why it’s not a good idea to edit the code, see the FAQ under “I want to do changes to the plugin’s code. Where can I find X function/variable/command/etc?”

    Let’s first identify the problem. If there is a bug in the code, I will fix it, but it’s unlikely that this part of the code has any errors, since it’s old and well-tested. Most probably this is a configuration problem. In any case, the shortcodes are defined here if you want to have a look: https://github.com/dashed-slug/wallets/blob/4.2.1/includes/shortcodes.php

    1. It is normal to get the error you posted when the plugin is deactivated (Unexpected token < in JSON). The frontend normally queries the JSON API. This error means that the JSON API calls no longer return data, but instead return your page’s HTML, which can’t be parsed as JSON. You can’t expect the plugin’s API to continue working when you deactivate the plugin. If you keep the plugin activated you will not get this error.

    2. Check your JavaScript console for any errors. These would prevent the shortcodes from displaying.

    3. In the screenshot you show me, the shortcodes appear as if the plugin is deactivated. It is possible that your page is cached on the server side. (Think W3 Total Cache, WP Super Cache, etc.) Clear any server side caches to see if this is the problem. Clearing your browser cache might also help, so give it a try.

    Please let me know if you tried all of the above and you continue to face problems.

    with regards

    Plugin Author dashed-slug.net

    (@dashedslug)

    Apologies, disregard my previous comments. I just now noticed the problem in your screenshot:

    You have used dashes ‘-‘ where you should be using underscores ‘_’.

    So, for example, use [wallets_deposit] instead of [wallets-deposit].

    This should solve your issue.

    If afterwards you encounter some other issue, please open a new thread.

    Thread Starter griknota

    (@griknota)

    Thank you for help, problem was very silly – it was dashes ??
    Sorry for killing your time.

    Plugin Author dashed-slug.net

    (@dashedslug)

    Not at all, glad it worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘UI not displaying after installation’ is closed to new replies.