Illegal string offset '_elem' in action.php on line 231 (or 232)

solution: put the following line at the begin of the foreach loop starting in line 230 or 231 (inside "handle_recent"):

`if ( !isset ( $ref ['_elem'] ) ) { break ; }`