EXPORT ERROR
-
Hi,
I’m trying to export data in membership2 -> settings -> import tool -> generate export
Fatal error: Class ‘MS_Addon_Coupon_Model’ not found in /home/myname/public_html/wp-content/plugins/membership/app/model/import/class-ms-model-import-export.php on line 193
in this file –>
…in line 192 // Export Coupons.
$coupons = MS_Addon_Coupon_Model::get_coupons( array( ‘nopaging’ => true ) );
$data->coupons = array();
foreach ( $coupons as $coupon ) {
if ( intval( $coupon->max_uses ) <= intval( $coupon->used ) ) { continue; }
$data->coupons[] = $this->export_coupon( $coupon->id );
}lib3()->net->file_download( json_encode( $data ), ‘membership2-export.json’ );
in line 201 }how i can export?
ty
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘EXPORT ERROR’ is closed to new replies.