Demo importing “An error occurred while fetching file from..”

You are here:
Estimated reading time: < 1 min

This is a temporary error that should be gone in a few hours.

If the issue still persists, please copy the snippet below and paste it into the child theme’s functions.php file .

add_filter('rey/api/remote_get/args', function($args, $endpoint){

	if( class_exists('ReyTheme_API') && ReyTheme_API::REY_API_ENDPOINT__GET_DEMO_DATA === $endpoint ){
		$args['body']['ftime'] = current_time('timestamp');
	}

	return $args;
}, 10, 2);
Was this article helpful?
Dislike 0
Views: 48

Join the conversation