Fixed issue related to PHP version <5.3

Related Forum topic:
https://usabilitydynamics.com/products/wp-property/forum/topic/wp-property-management-fatal-error/