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 8
Views: 1741

Suggest article improvements

Please use this form to suggest improvements and report missing or outdated content. Support requests will most likely not be answered and it's best to use the Support Request Form instead. Thanks!