[Components]: Fixed php error