• Hello @vasiltech
    After upgrading to WP 5.5, any access to page/post editing in wp-admin results in getting a 502 bad gateway error.
    I found the following error in my log:

    2020/08/13 13:16:47 [error] 31982#31982: *140804 FastCGI sent in stderr: “PHP message: PHP Notice: register_rest_route was called incorrectly. The REST API route definition for aam/v2/jwt/validate is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5225
    PHP message: PHP Notice: register_rest_route was called incorrectly. The REST API route definition for aam/v1/validate-jwt is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5225
    PHP message: PHP Notice: register_rest_route was called incorrectly. The REST API route definition for aam/v2/jwt/refresh is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5225
    PHP message: PHP Notice: register_rest_route was called incorrectly. The REST API route definition for aam/v1/refresh-jwt is missing the required permission_callback argument. For REST API rout

    Any idea what’s going on?

    thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter daberelay

    (@daberelay)

    also, when I visit the AAM management page in the admin I get this alert:

    DataTables warning: table id=route-list – Ajax error. For more information about this error, please see https://datatables.net/tn/7

    if that helps…

    I have similar problems. Ajax errors, 503 errors, pages don’t load, very slow websites.
    Is AAM supposed to work with WP 5.5?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cannot access pages and posts (502 Bad Gateway) because of AAM JWT’ is closed to new replies.