Error 500

Array and string offset access syntax with curly braces is deprecated