• After upgrading to the latest version of JWT Authentication for WP REST API (from 1.3.0 > 1.3.1) my site stopped working with this error:

    PHP Parse error: syntax error, unexpected ‘Jwt_Auth_Loader’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/wp-content/plugins/jwt-authentication-for-wp-rest-api/includes/class-jwt-auth.php on line 35

    Any idea on how to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hola tengo el mismo problema: Parse error: syntax error, unexpected ‘Jwt_Auth_Loader’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/miigztvw/public_html/wp-content/plugins/jwt-authentication-for-wp-rest-api/includes/class-jwt-auth.php on line 35

    No se como solucionarlo, alguien os puede guiar en este problema

    Hi there,

    we get the same error-Message if we use CLI-Commands.
    Did anyone got a solution for this?

    img = https://ibb.co/nzFwgZ1

    • This reply was modified 2 years, 3 months ago by jobfinder.
    • This reply was modified 2 years, 3 months ago by jobfinder.
    • This reply was modified 2 years, 3 months ago by jobfinder.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Parse error: syntax error, unexpected ‘Jwt_Auth_Loader’’ is closed to new replies.