Title: Incorrect column count
Last modified: February 14, 2023

---

# Incorrect column count

 *  Resolved [buddha12345](https://wordpress.org/support/users/buddha12345/)
 * (@buddha12345)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/incorrect-column-count/)
 * HI! When I open this page on my website I get an error code. The guide says to
   edit the HTML code but I don’t have the opportunity inside the plugin. How can
   I do? Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincorrect-column-count%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/incorrect-column-count/#post-16469699)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The cause for this is the “Custom Command”
 *     ```wp-block-code
       "columnDefs": [ { "searchable": false, "targets": [ 1, 2, 3 ] } ]
       ```
   
 * that you are using for table 3. You would need to change that to `0, 1, 2,` because
   counting the columns starts with 0 for the first column. However, as you have
   then turned off searching for all columns, you should actually just turn off 
   the search/filter checkbox on the table’s “Edit” screen.
 * Regards,
   Tobias

Viewing 1 replies (of 1 total)

The topic ‘Incorrect column count’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/incorrect-column-count/#post-16469699)
 * Status: resolved