Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical uncaught error in some cases #101

Open
Dekadinious opened this issue Jul 31, 2024 · 1 comment · May be fixed by #105
Open

Critical uncaught error in some cases #101

Dekadinious opened this issue Jul 31, 2024 · 1 comment · May be fixed by #105

Comments

@Dekadinious
Copy link
Contributor

Uncaught Error: Cannot use object of type WP_Error as array in /www/any/wp-content/plugins/clerkio/includes/class-clerk-rest-api.php:1572  
Context:
{
    "error": {
        "type": 1,
        "file": "\/www\/any\/wp-content\/plugins\/clerkio\/includes\/class-clerk-rest-api.php",
        "line": 1572
    },
    "backtrace": [
        "",
        "#0 \/www\/any\/wp-content\/plugins\/clerkio\/includes\/class-clerk-rest-api.php(1526): Clerk_Rest_Api->validate_jwt()",
        "#1 \/www\/any\/wp-content\/plugins\/clerkio\/includes\/class-clerk-rest-api.php(285): Clerk_Rest_Api->validate_request()",
        "#2 \/www\/any\/wp-includes\/rest-api\/class-wp-rest-server.php(1230): Clerk_Rest_Api->product_endpoint_callback()",
        "#3 \/www\/any\/wp-includes\/rest-api\/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()",
        "#4 \/www\/any\/wp-includes\/rest-api\/class-wp-rest-server.php(439): WP_REST_Server->dispatch()",
        "#5 \/www\/any\/wp-includes\/rest-api.php(428): WP_REST_Server->serve_request()",
        "#6 \/www\/any\/wp-includes\/class-wp-hook.php(324): rest_api_loaded()",
        "#7 \/www\/any\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
        "#8 \/www\/any\/wp-includes\/plugin.php(565): WP_Hook->do_action()",
        "#9 \/www\/any\/wp-includes\/class-wp.php(418): do_action_ref_array()",
        "#10 \/www\/any\/wp-includes\/class-wp.php(813): WP->parse_request()",
        "#11 \/www\/any\/wp-includes\/functions.php(1336): WP->main()",
        "#12 \/www\/any\/wp-blog-header.php(16): wp()",
        "#13 \/www\/any\/index.php(17): require('\/www\/any\/wp-blo...')",
        "#14 {main}",
        "thrown"
    ]
}
@Dekadinious
Copy link
Contributor Author

Also happens in Uncaught Error: Cannot use object of type WP_Error as array in /www/any/wp-content/plugins/clerkio/includes/class-clerk-rest-api.php:1616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant