[ ] I have carried out troubleshooting steps and I believe I have found a bug.
[x] 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.
Prerequisites
Describe the bug
Expected behavior
Clean JSON response.
Actual behavior
Error shows before JSON response.
Isolating the problem