Sputznik / orbit-bundle

Create wordpress custom post types and custom taxonomies. Search and filter through the wordpress post types and create custom queries using simple shortcodes.
GNU General Public License v3.0
0 stars 0 forks source link

Export shortcode error #93

Open guneetnarula opened 2 years ago

guneetnarula commented 2 years ago

Orbit export shortcode is on this private page https://resources.vartagensex.org/covid-19-data-export/ After submitting with or without choosing form options, the page reloads and does not start the export process (or at least there is no UI)

samvthom16 commented 2 years ago

@guneetnarula can you test this to see if the issue has been resolved?

samvthom16 commented 2 years ago

lib/class-orbit-csv.php line number 221 ` else if($type == 'cf_info'){ foreach ($valueArray as $metakey => $value) { $metavalue = get_post_meta( get_the_ID(), $metakey, true ); if( is_array( $metavalue ) ){ $row[$value] = implode( ',', $metavalue ); } else{ $row[$value] = $metavalue;
}

                    }
                }

`