try to resolve db errors, but it will break in next place instead
format_backtrace: handle array param (display it's size)