Matrix block fields returning NULL when using MatrixBlock query $blocks = MatrixBlock::find()-&gt;relatedTo($entry)-&gt;all();


The above returns the correct blocks but all fields are returned as NULL.

I've read over at GitHub that we need to specify a fieldId param but can't seem to figure out how.  The below e.g. doesn't work:

$blocks = MatrixBlock::find()-&gt;relatedTo($entry)-&gt;fieldId([33])-&gt;all();


Help anyone?
The right Field ID to add is the Matrix field id as defined in the Fields section.  Do not use the ids of the matrix block fields.