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.
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
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.
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
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.
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…
add a further table in the above situations, and a different CSV leads to an error in previewing the page; or
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.