Fix php error in central page