I have written and rewritten the acf custom block build in two different projects and continue to run into an error with the ‘acf_register_block_type()’ specifically. It throws this error every time, ‘Undefined function acf_register_block_type. I have followed the documentation as well at following along with a few tutorials to see if I am missing something and so far have had no luck hunting down whats causing this.
It should be noted that I am really new to wp and acf but I do have a bit of dev experience outside of this. I also recently updated WP to rule that out as the cause.