• Resolved nealbo

    (@nealbo)


    Loving the plugin and I’ve had zero problems so far with around 70 items in a table.

    As you can see, this loads fast: https://www.earnologist.com/complete-list-of-ways-to-make-money-online/ with 70 items. The shortcode used for this is:

    [table id=1 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_separator=", " datatables_columnfilterwidgets_exclude_columns=1,3,4,7,8 responsive="scroll"/]

    If I add more items, up to 500 items then within the Elementor edit interface, and even the preview it loads in about 2 seconds. But once published, the page will load endlessly for around 25 seconds and fail with this error:

    Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    I’ve created a test page, that I’ve had to alter the shortcode for, to filter the number of rows (so it will actually load) and as you can see it takes a very, very long time to load. https://www.earnologist.com/tester/

    The shortcode used here is:

    [table id=2 filter="Surveys" filter_columns="2,7" datatables_columnfilterwidgets=true datatables_columnfilterwidgets_separator=", " datatables_columnfilterwidgets_exclude_columns=1,2,3,4,7,8 responsive="scroll"/]

    I’ve tried deactivating caching plugins etc. in case they are interfering somehow but I’m not able to figure this out.

    The main point of interest for me is how fast it loads within the Elementor editor and the Elementor page preview. But when its live, it just grinds to a halt.

    • This topic was modified 2 years, 1 month ago by nealbo.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Something seems to be wrong with the HTML code content in your table. It looks like you are in some way showing flag icons in the 8th column of your table. Something there is however running into some loop or so and producing really weird and long HTML code with image tags, lazy-load attributes, and <noscript> HTML tags. I believe that that is what’s causing this problem. Can you maybe try again after temporarily hiding the 8th column on the table’s “Edit” screen?

    Regards,
    Tobias

    Thread Starter nealbo

    (@nealbo)

    @tobiasbg thank you so much, you’re an absolute lifesaver! Before reading your post I’d discovered if I removed the flag column it would load with no issues but that would mean sacrificing the visuals.

    After your comment about the noscript, I’ve looked into my lazy loading plugin (Part of Smush for anyone with the same issue in the future) and found that it is possible to disable noscript for lazy loading. Disabling it resolved the long load time completely!

    Thanks again!

    Plugin Author Tobias B?thge

    (@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 here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table with 500 rows fails to load’ is closed to new replies.