Post and pier construction done wrong maybe....

Seems like there was probably a lot of heaving as well, maybe inadequate pier depth and lack of bracing? Also looks like a really old building, any idea of the age?