• Resolved itsmir

    (@itsmir)


    Hello,

    I have imported a table (csv) from a site where it was working correctly. When opening the page in the new site I am faced with the ‘Cannot reinitialise …’ error.

    Also the table data is not in columns – in fact it’s all over the place, killing the footer and bits appearing below it as well.

    I’m using (for the first time) the cherry framework (with child theme) & motopress and am assuming it’s something in the theme which is disrupting the table.

    It’s a fresh install of WP – in fact the tables were the first thing I was testing.

    Home page with correctly working footer:- http://yoga.christineleedy.nl/
    Test page containing problem table:- http://yoga.christineleedy.nl/test1/

    Any help you can give would be much appreciated.

    Regards,
    Miriam

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Something seems to be broken with that table.
    Does everything work when you manually create a new table?

    Can I see the CSV file for that table somewhere?

    Regards,
    Tobias

    Thread Starter itsmir

    (@itsmir)

    Hello,

    Thank you for the quick response.

    By creating a new test table for you and playing with the qtranslate-x shortcodes I appear to have solved one issue.

    When using the shortcodes [:en] & [:nl] to define the language I get the ‘Cannot reinitalise …’ error. If I use the <!–:nl–> type shortcodes instead the error disappears 🙂

    It also corrects the formatting.

    I will change the short codes in the csv file and see if that does the job.

    Keeping my fingers crossed 🙂

    Thread Starter itsmir

    (@itsmir)

    Yes!! Updated the csv, re-imported and all is good.

    Using a closing tag ( [:] ) works as well (and was a lot quicker to add 🙂 ).

    Thanks again

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    from what I can see, the “Cannot reinitialize” error is just a side effect. The actual problem seems to be that the table content is incomplete (you can see this when using “View source” on the page with the table in the frontend, where half of the table HTML code is missing).

    This is indeed likely caused by those Shortcodes.
    To find out more, can you please turn on the WP_DEBUG constant, via https://codex.wordpress.org/Editing_wp-config.php#Debug ?

    Regards,
    Tobias

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ah, ok. Good to hear that you found a workaround already 🙂 Then, my suggestions are obsolete 🙂

    Best wishes,
    Tobias

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

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

The topic ‘Cannot reinitialise error along with formatting issues’ is closed to new replies.