(sites/all/modules/ogmt/ogmt.inc)
Was:
$classes_array = ['page-' . $n, 'pagecount-' . $page_count];
Changed to:
$classes_array = array('page-' . $n, 'pagecount-' . $page_count);
(sites/all/themes/si_aaa/preprocess/ogmt-object-group-page.preprocess.inc)
Was:
$og_object = $vars['object_group'];
Changed to (casting to an array):
$og_object = (array)$vars['object_group'];
menu is not in $object_page anymore.
$object_page looks like this now:
array(1) {
["feature"]=>
array(1) {
["url"]=>
string(127) "http://ids.si.edu/ids/deliveryService?max=200&id=https://www.aaa.si.edu/assets/images/charmary/reference/AAA_charmary_63788.jpg"
}
}
Was:
if (!is_array($object_page['menu']) || empty($object_page['menu'])) {
Changed to:
if (!is_array($object_group['menu']) || empty($object_group['menu'])) {
Note: After line 76, changed all instances of $object_page to $object_group.
Was: ($object_group['url']):
$bp = _get_path_for_objectgroup(TRUE, $og_type, $object_group) .'/'. $object_group['url'];
Changed to ($object_group['uri']):
$bp = _get_path_for_objectgroup(TRUE, $og_type, $object_group) .'/'. $object_group['uri'];