".get_template_directory() ."
You might want to try to set the file permission to chmod 777.
If this doesn't work please use the wordpress importer and import the XML file (should be located in your themes folder: dummy.xml) manually here."; } else { if(!isset($custom_export)) { do_action('avia_import_hook'); $wp_import = new avia_wp_import(); $wp_import->rename_existing_menus(); $wp_import->fetch_attachments = true; $wp_import->import($import_filepath.'.xml'); $wp_import->saveOptions($import_filepath.'.php'); $wp_import->set_menus(); do_action('avia_after_import_hook'); // todo: rename. make sure to update hook name of our woocommerce import script } else { $import = new avia_wp_import(); $import->saveOptions($import_filepath.'.php', $custom_export); do_action('avia_after_custom_import_hook'); } //generic hook. example use: after demo setting import we want to regen cached stylesheet do_action( 'ava_after_import_demo_settings' ); update_option('av_demo_content_imported', true); } }