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

qtranxf_resolveLangCase() called with array #1416

Open
BabelhalSupport opened this issue Sep 30, 2024 · 0 comments
Open

qtranxf_resolveLangCase() called with array #1416

BabelhalSupport opened this issue Sep 30, 2024 · 0 comments
Labels
maybe bug Potential bug, to be investigated

Comments

@BabelhalSupport
Copy link

Describe the bug
qtranxf_resolveLangCase(): Argument #1 ($lang) must be of type string, array given, called in /.../wp-content/plugins/qtranslate-xt/src/language_detect.php on line 216

To Reproduce
Steps to reproduce the behavior:

  1. Install qTranslate-XT plugin
  2. Go to URL https://{domain}/?lang[lang]=de

Expected behavior
No PHP error should occur.

Debug info

qTranslate-XT version: 3.15.2

Additional context
I do not known, why anyone would try to load such an URl, but someone did at our website.

@BabelhalSupport BabelhalSupport added the maybe bug Potential bug, to be investigated label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe bug Potential bug, to be investigated
Projects
None yet
Development

No branches or pull requests

1 participant