settings api – add_settings_section not working

I got it to work, I removed the my_plugin_init_settings function and outputted its content directly and called do_settings_sections after it.

tech