• Resolved jordiparera

    (@jordiparera)


    Hi, I’ve read the previous support requests, and I’ve tried the fix this error with those proposals. Anyway, the table shows the “Incorrect column count” error.

    However, if I untick the”enable visitor features”, the table loads well, but then, of course, the “search” field does not appear on the page. This searching feature is very important for me.

    Is there any possibility to add it, anyway? Thank you.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    The cause for this is invalid HTML code in some cells with images in the second column of the table. All affected images seem to have a line break right after the

    alt="free sheet music download

    part in their HTML code. This line break however breaks the HTML, so that the browser can not properly identify the end of the image HTML code anymore and then can’t determine where a cell ends. This leads to the wrong count of cells in these rows.

    To fix this issue, you will need to go through the HTML code of all these images and remove that extra line break, and potentially fix the quotation marks. A quick way for this might be to export the table to a CSV file and then open that in a good text editor, where you can solve these in bulk via search/replace.

    Regards,
    Tobias

    Thread Starter jordiparera

    (@jordiparera)

    Hi, Tobias,

    Thanks a lot for your fast reply!

    I’m working on it, but the fact is that with my previous theme (WP Twenty-Twenty) it worked 100% fine, even with the same line breaks. Now, I’m using the current theme, Twenty-Four.

    Maybe, this will provide you a hint to solve this behavior.

    Best regards, Jordi

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m afraid that there’s nothing really to solve here, the issue is pretty clear ?? It might simply be possible that the old theme was less strict in sanitizing HTML code. The best solution is to fix those issues with the line breaks and quotation marks in the HTML code of your images in the table.

    Regards,
    Tobias

    Thread Starter jordiparera

    (@jordiparera)

    Thank you very much, Tobias. It worked!

    One more question, please:

    If I want to copy a table from a website to a different website, how is it possible to do it in a way that the domain of the new web is automatically changed in the contents’ cells?

    Thanks for your support, and Happy New Year!

    Jordi

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    automatically changing the domain is not possible, sorry. You could export the table to a CSV file and then open that in text editor or programming IDE and use the search/replace feature there. Then, import the modified CSV file on the new site.

    Best wishes,
    Tobias

    Thread Starter jordiparera

    (@jordiparera)

    Thanks for your kind reply!

    Happy New Year!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress in the plugin directory. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Incorrect column count’ is closed to new replies.