Hi @silveredge9
I don’t understand how you are getting the error Call to undefined function acf_add_options_sub_page()
if your code is wrapped in an if function_exists statement…
Can you confirm you don’t have any spelling mistakes?
Also, have you installed and activated the options page add-on?