The primary field is deprecated, use the type field instead
line 968 of /lib/outputcomponents.php: call to debugging()
line 2244 of /lib/outputrenderers.php: call to single_button->__set()
line 51 of /admin/tool/dynamic_cohorts/index.php: call to core_renderer->single_button()