• Resolved dotweekly

    (@dotweekly)


    I have noticed one error with the Wp-Table Reloaded plugin. When I try to approve comments, they appear to get approved, but if I click anything on the backend, the comments I just approved are not approved and show they are waiting to be approved. If I deactivate the plugin and approve the comments.. all works fine. So it is clear that the plugin is the cause of the error.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question. Unfortunately, I can not reproduce this and you are also the first person to report this.
    So, I assume that this is not caused by WP-Table Reloaded directly. The plugin has nothing to do with comments and in no place tries to access or work with them.

    It might instead be caused by memory problems on your site, where WP-Table Reloaded pushes your server over the limit.
    Can you try to increase the PHP memory limit on your server?
    And can you test again with (several) other plugins deactivated, but WP-Table Reloaded activated? (This way, your server should still be below the PHP memory limit when WP-Table Reloaded is active).

    Regards,
    Tobias

    Thread Starter dotweekly

    (@dotweekly)

    Thank you for the very quick reply Tobias!

    I did as you stated and it cleared up my problem. I deactivated and removed several plugins and it works. I will have to get my host to bump up my PHP memory limit.

    I wasn’t getting any memory error messages, so that didn’t even come to mind.

    Thanks again!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the confirmation! Great that this got cleared out so easily.

    You might be able to increase the memory limit without your host:
    http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    And you likely did not get any error messages, because WordPress by default hides all error messages (so that users don’t see them). They should however be accessible through the error log file, in case your server maintains one.

    Best wishes,
    Tobias

    Thread Starter dotweekly

    (@dotweekly)

    Hi Tobias,

    Could you further explain this DataTable error message and how to resolve it?

    DataTables warning (table id = ‘wp-table-reloaded-id-2-no-1’): Cannot reinitialise DataTable.

    To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy to true (note that a lot of changes to the configuration can be made through the API which is usually much faster).

    If I uncheck the Table Head: The first row of your table is the table head (HTML tags <thead> and <th>). the error message goes away, but it would be nice to leave that in place.

    This is what I need explain more (where to do it) and how:
    please pass either no arguments to the dataTable() function, or set bRetrieve to true.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I’m not too sure (as I did not develop the DataTables library), but this sounds as if for some reason the script is being applied to your table twice.

    Likely, this happens because your theme contains two calls to wp_footer(); in its “footer.php” file. Can you check that?
    (As a quick test, you could temporarily switch to the WordPres Default theme “TwentyTen”, you should not get the error message there.)

    For the “Table Head” checkbox: This is actually a requirement for being able to use DataTables. So, if this is disabled, you will not be able to use the library.

    Regards,
    Tobias

    Hi, I love the WP-Table Reloaded plugin. It’s a terrific plugin.

    I’m having this problem as well. I have checked the footer file of my theme and only see wp_footer(); in the file once. Also, I activated Twenty Eleven and still experienced the same problem with that theme. I have tried the tables with javascript and without. I’d appreciate any help in resolving this warning.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    can you please post more information about the error message that you are getting?
    Can you also post a link to the page wtih your table, please?

    Are you using colspan/rowspan in the cells? If yes, that’s a possible reason, see http://ww.wp.xz.cn/support/topic/datatables-warning-table-id-wp-table-reloaded-id-68-no-1-requested-unknow

    Regards,
    Tobias

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

The topic ‘[Plugin: WP-Table Reloaded] Comments Not Approving’ is closed to new replies.