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

Authentication is failing to identify current user if authentication is not provided. #12

Open
1 of 4 tasks
seb86 opened this issue Nov 5, 2023 · 1 comment
Open
1 of 4 tasks
Assignees
Labels
priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. status: in progress This is being worked on. type: bug The issue is a confirmed bug.

Comments

@seb86
Copy link
Member

seb86 commented Nov 5, 2023

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

PHP Warning:  Attempt to read property "ID" on null in I:\LocalWP\cocart\app\public\wp-content\plugins\co-cart\includes\class-cocart-authentication.php on line 99

Expected behavior

Clean JSON response.

Actual behavior

Error shows before JSON response.

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only CoCart plugin is active.
  • I can reproduce this bug consistently using the steps above.
@seb86 seb86 added status: in progress This is being worked on. type: bug The issue is a confirmed bug. priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. labels Nov 5, 2023
@seb86 seb86 self-assigned this Nov 5, 2023
@seb86
Copy link
Member Author

seb86 commented Nov 5, 2023

Commit: co-cart/co-cart@f6fb7a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. status: in progress This is being worked on. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant