Fix - site_revision table structure
Refactor
Fix - Cannot use a scalar value as an array

Warnning : Cannot use a scalar value as an array
Fix