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

WPML & OG #15

Closed
iworks opened this issue Feb 6, 2024 · 0 comments
Closed

WPML & OG #15

iworks opened this issue Feb 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@iworks
Copy link
Owner

iworks commented Feb 6, 2024

Hi.

I get a lot of these warnings in the log:

2024-02-06 13:24:59.340170 [NOTICE] [1428029] [T0] [xxx.xxx.xxx.xx:44528:HTTP2-9#APVH] [STDERR] PHP Warning: Undefined array key "en-eu" in /home/domains/mydomain.com/public_html/wp-content/plugins/og/includes/iworks/opengraph/integrations/class-iworks-opengraph-integrations-sitepress-multilingual-cms.php on line 51

“en-eu” is one of language codes in WPML for my setup, don’t really know why it is only warning for this, as I use 3 languages, “sv”, “en” and “en-eu”. The last two is both English, but due to my setup were I run one language only for EU-customers, they are separated as this. It is a feature in WPML to use same language with custom language codes.

Would appreciate if you could fix this 🙂 Thanks for a great plugin.

The page I need help with: https://www.armsportstore.eu/
Source: https://wordpress.org/support/topic/wpml-og/

@iworks iworks self-assigned this Feb 6, 2024
@iworks iworks added the bug Something isn't working label Feb 7, 2024
iworks added a commit that referenced this issue Feb 14, 2024
@iworks iworks closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant