This below custom query gives me a critical page error using an ACF post object set to post ID. I’m beginning to think Elementor queries using ACF are broken, at least with my WordPress install. I’ve ran troubleshooting mode and with all plugins active the Elementor editor page loads but only when this code is commented out.
add_action( 'elementor/query/voicesponsored_filter_2', function ( $query ) {
$voicesponsored_link = get_field( 'voice_sponsored_2', 'voice_options');
$query->set( 'p',$voicesponsored_link);
} );