• Resolved shanebp

    (@shanebp)


    2 of the Shortcode Parameters throw errors when used:

    paging="false" b_length_change="false"

    For example, paging="false" throws this error in the browser console:

    Uncaught TypeError: Cannot read property 'options' of undefined
        at HTMLDocument.<anonymous> ((index):611)
        at i (jquery.js?ver=1.12.4:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
        at Function.ready (jquery.js?ver=1.12.4:2)
        at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    Is there a way to use those 2 parameters without errors?

    For example:
    do_shortcode('[wp_jdt id="my_table" info="false" order_row_number="2" ordering="false" searching="false" paging="false" b_length_change="false" ]');

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AppJetty

    (@biztechc)

    Hi Shane,

    We have resolved this issue. You can upgrade to latest version and check.
    Thanks.

    Thread Starter shanebp

    (@shanebp)

    Thanks for the fix. Those 2 parameters can now be used without errors.

    Are you aware of these notices that appear for each instance of a datatable?

    Notice: Use of undefined constant order_row_number - assumed 'order_row_number' in .../public_html/wp-content/plugins/wp-jquery-datatable/wp-jquery-datatable.php on line 330
    
    Notice: Use of undefined constant order_row_number_sort - assumed 'order_row_number_sort' in .../public_html/wp-content/plugins/wp-jquery-datatable/wp-jquery-datatable.php on line 332
    
    Notice: Use of undefined constant ordering - assumed 'ordering' in 
    .../public_html/wp-content/plugins/wp-jquery-datatable/wp-jquery-datatable.php on line 341
    Plugin Author AppJetty

    (@biztechc)

    Hi shane,

    Thanks for pointing this. We have resolved this in latest release.

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

The topic ‘Shortcode Parameters – Errors’ is closed to new replies.