• I am having issues saving a table once it has content. I get an error:

    Table save failed: Unexpected token ‘<‘, “<p>There h”… is not valid JSON

    I can save as long as the table is blank. Once I add content or edit an old table I get the error. I also get the same error when I try to export my old tables.

    I have disabled and reenabled the app, cleared cache, uninstalled and reinstalled, and used previous versions.

    Anyone have a direction or a place to start investigating this issue? Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    Hi @gjacksoncat this is happening because an error is ocurring when you’re trying to save the table. Can you please enable and check the php debug.log for any errors? Let us know if you need help with anything.

    Thread Starter gjacksoncat

    (@gjacksoncat)

    Thank you. Debugging finds this error:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-table-builder domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later.

    Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    Installing a plugin like Query Monitor should fix the issue. Can you please try and report back. The real fix, however, has to be done from our side. We need to update the code so that this notice does not show anymore.

    Thread Starter gjacksoncat

    (@gjacksoncat)

    Installed the plug in, still seeing error in the reporting (Under Doing it Wrong). Though now when i go to save a table the following error is displayed:

    Table save failed: object is not iterable (cannot read property Symbol(Symbol.iterator))

    Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    @gjacksoncat hey sorry I couldn’t get back to you earlier. We’re working on fixing the _load_textdomain_just_in_time notice. But I’m surprised that your issue still wasn’t fixed. I tried WPTB on a fresh site and it seems to be working fine. Can you please do one more thing for me? Please open up your browser devtools, go to the network tab, and then try to save the table. There should be an entry in the network requests field with the name admin-ajax.php?action=save_table. Please share the respone of that request.

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

The topic ‘Issues saving table’ is closed to new replies.