I have this problem. When I create new Middleware and write this code
This is an error text syntax error, unexpected \'printf\' (T_STRING), expecting function (T_FUNC