I'm getting the following error on the "All galleries" page generated by Media Gallery 7.x-2.x-dev:

Fatal error: Cannot use object of type stdClass as array in .../sites/all/themes/tb_neris/inc/preprocess_functions.inc on line 35

I suspect this is related to https://drupal.org/node/1862806, the solution being similar to https://drupal.org/comment/6893558#comment-6893558.