Okay
  Public Ticket #2741876
some button not working after implementing chart
Closed

Comments

  • MENHADI HASAN started the conversation

    Hi,

    Some button are not working after implementing chart.

    please help me

    Regards

    Hasan

  • [deleted] replied

    Hi Menhadi

    Thank you for reaching out to us.

    Issues like this usually occur when there is a conflict either with the theme currently active on your website, or another plugin you have installed.

    Can you please change the theme and see if the issue is resolved? If not, then please deactivate all other plugins except for our plugin, refresh the page where the issue is, and see if it is resolved (it should be). If it is, then start activating other plugins one by one, and after each activation refresh the page to see if the issue reoccurred. Once it does reoccur, you will have found the plugin causing the issue.

  • MENHADI HASAN replied

    Hi,

    I tried as suggested by you by deactivating theme and all plugins one by one but did not find any solution. If I am deactivation wpdatattable it is working fine, please suggest me next step.

    Regards

  • [deleted] replied

    Hi Menhadi

    Can you duplicate your website?

    If you can do that, I'll ask you to install the Duplicator plugin. It will generate a couple of files which you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.

    Please tell me what chart is used and on what page so I know where to look.


  •   MENHADI HASAN replied privately
  • MENHADI HASAN replied

    Hi,

    are you looking at the issue?

  • [deleted] replied

    Hi Menhadi

    Please try ading echo to do_shortcode from the table

    <?php if ($block->get_title() == "Ratings trend") {
    $postID = get_the_ID();
    echo do_shortcode('[wpdatatable id=4 table_view=regular var1="'. $postID .'"]');
    echo do_shortcode('[wpdatachart id=5]');
    } else {
    echo $content;
    }

    If this doesn't help please clone the website.

    If you can do that, I'll ask you to install the Duplicator plugin. It will generate a couple of files which you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.



  •   MENHADI HASAN replied privately
  • [deleted] replied

    Hi Menhadi

    The table is not shown beause there is no echo found in front of do_shortcode where you are using the wpdtatables shortcode

    <?php if ($block->get_title() == "Ratings trend") {
    $postID = get_the_ID();
    echo do_shortcode('[wpdatatable id=4 table_view=regular var1="'. $postID .'"]');
    echo do_shortcode('[wpdatachart id=5]');
    } else {
    echo $content;
    }

    You also have a bootstrap conflict so please go to main wpDataTables settings and turn off the Include full bootstrap.js on the front-end option.


    1231727364.png

    Do let us know if this helps.