Skip to content

WPML & OG #15

@iworks

Description

@iworks

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/

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions