$themes = govcms_supported_themes();
govcms_core_insert_block('search_api_page', 'default_search', $themes, 'header', 0, 0, '', '');
function govcms_supported_themes is called in govcms_search_core.install file
This function is defined in govcms.install file that cannot be guranteed available all the time.
Problem/Motivation
$themes = govcms_supported_themes(); govcms_core_insert_block('search_api_page', 'default_search', $themes, 'header', 0, 0, '', '');
function
govcms_supported_themes
is called ingovcms_search_core.install
fileThis function is defined in
govcms.install
file that cannot be guranteed available all the time.Proposed resolution
Move this function to
govcms.profile