Array use square bracket in php error

array use square bracket in php error