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

TypeError: Cart\User::isLogged(): #10956

Merged
merged 3 commits into from May 31, 2022
Merged

TypeError: Cart\User::isLogged(): #10956

merged 3 commits into from May 31, 2022

Conversation

BuslikDrev
Copy link
Contributor

@BuslikDrev BuslikDrev commented May 31, 2022

TypeError: Opencart\System\Library\Cart\User::isLogged(): Return value must be of type int, null returned in

#10971

TypeError: Opencart\System\Library\Cart\User::isLogged(): Return value must be of type int, null returned in
private $user_group_id;
private int $user_id = 0;
private string $username = '';
private int $user_group_id = 0;
private $permission = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private array $permission = [];

@TheCartpenter
Copy link
Contributor

That might be one of the cause to why users from the OC forum reported issues to stay logged in in their OC admin ...

@eka7a eka7a merged commit 39e96d8 into opencart:master May 31, 2022
@BuslikDrev BuslikDrev deleted the patch-3 branch June 1, 2022 16:55
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 this pull request may close these issues.

None yet

3 participants