Elements 3.0 beta and Table component

Using Elements 3.0.0 beta (24336), macOS 26.5.2.

Two issues with the Table component

  1. If I insert a table component and in the inspector and for Data source set to CSV, and click on Choose…, the csv file is greyed out.
  2. If I drag the sample csv file provided in the demo project into the place in the inspector and then preview in Safari, I consistently get an error such as:

Fatal error: Cannot redeclare function tableGetColumnMeta() (previously declared in /Users/victor/Library/Containers/com.realmacsoftware.rapidweaverelements/Data/tmp/RapidWeaver/687/RWDocumentPagePreview/document-16FDD720-B006-429A-9FC6-02F89271EE07/table/index.php:95) in /Users/victor/Library/Containers/com.realmacsoftware.rapidweaverelements/Data/tmp/RapidWeaver/687/RWDocumentPagePreview/document-16FDD720-B006-429A-9FC6-02F89271EE07/table/index.php on line 301

See attached video

Thanks for reporting these issues!

  1. We’re looking into this and will get it fixed, but as a workaround for now, drop your csv file into the Resources area first, then into the component dropzone.
  2. This is due to the fact that two tables are pointed at the same CSV file, if you pick a different one you won’t get an error. We’ll also get this fixed up :slight_smile:

Hopefully that is enough to get you back up and running for now, but do keep en eye out for these fixes in the next build or so of Elements.

Dan,

Thank you for the comments. However, any csv file dragged into the component dropzone causes the error. Different CSV files, not the same CSV file used in two tables. Manual entry is fine…

macOS 26.5.2, Elements: 3.0.1 (24348).

Thanks, for the info, we’ll get this fixed up in the next build of Elements!

If you create a new page with just one table on it and try adding a CSV file to that, does it work for you?

A bit further testing seems to indicate:

  1. in a new page of an existing project or a new project

  2. add a table

  3. a window then appears indicating that needs to switch to PHP or keep as is

  4. If switch to PHP, then can add a csv

  5. Previewing is fine.

But:

  1. add a further table in the above situations, and a different CSV leads to an error in previewing the page; or
  2. in a new page of an existing project or in a new project, and adding a table and choosing “Keep as Is”, after adding a csv, leads to an error in previewing the page.