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

BUG develop: Context::getContext()->language->id return null #493

Closed
wdammak opened this issue Jan 5, 2023 · 2 comments
Closed

BUG develop: Context::getContext()->language->id return null #493

wdammak opened this issue Jan 5, 2023 · 2 comments

Comments

@wdammak
Copy link
Contributor

wdammak commented Jan 5, 2023

Why the
Context::getContext()->language->id
return null? (in admin pages)

Warning on line 2845 in file \www\hotelcommerce\classes\controller\AdminController.php
[2] simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found

Warning on line 2845 in file \www\hotelcommerce\classes\controller\AdminController.php
[2] simplexml_load_string(): {"errors":{"code":"0015","label":"Fatal error : method is undefined."}}

Warning on line 2845 in file \www\hotelcommerce\classes\controller\AdminController.php
[2] simplexml_load_string(): ^

Notice on line 2150 in file \www\hotelcommerce\classes\controller\AdminController.php
[8] Trying to access array offset on value of type null

@lakshya-webkul
Copy link
Contributor

lakshya-webkul commented Jan 10, 2023

Hi @wdammak ,

Thanks for raising this issue, it will surely help us to improve QloApps.

We request you please provide steps to reproduce the "Context language id returns null value" issue.

So that we can check it out at our end.

Thank you.

@wdammak
Copy link
Contributor Author

wdammak commented Oct 14, 2024

fixed

@wdammak wdammak closed this as completed Oct 14, 2024
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

No branches or pull requests

2 participants