Notices and Warnings Drupal Commons 7.x 3.9 Undefined index, invalid argument, illegal string offset
title is not defined. #items is not defined. foreach is not getting a value to work with. #children doesn't exist to render.#printed doesn't exist to render.
go into the function where title is supposed to be defined and check that there is a value. Do the same for the rest. Check what further up the chain in your code is calling these values. Try doing a backtrace.