• Resolved viljak2

    (@viljak2)



    Hello.

    I’ve been experiencing an issue with the TranslatePress plugin, and I’m hoping someone here might be able to assist me.

    I’m trying to use TranslatePress for a multilingual site. After enabling the plugin I’ve encountered an error that’s preventing me from translating my website content effectively. The error message I keep receiving is “Undefined array key ‘en'”

    I’m not sure why this error is occurring. I’ve double-checked my language settings and “English” is properly set as one of my languages. I’ve tried deactivating and reactivating the plugin, clearing my cache, and even reinstalling the plugin, but the error message still persists.

    I’d appreciate any insight or solutions from the community. Has anyone else experienced this error? If so, how did you resolve it? If you need any further information to assist in diagnosing the problem, I’d be happy to provide it.

    Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Greetings,

    Please try performing a conflict test before we keep going so we can narrow down the source of the issue.

    You can do this by disabling all your plugins except TP and enable all of your other plugins one by one and see when the problem appears. Also please try switching to a default theme such as twenty-twenty.

    Looking forward to your reply.

    Thread Starter viljak2

    (@viljak2)

    Hi,

    I got a bunch of the same warnings which display this message:

    Warning: Undefined array key “en” in ../public_html/wp-content/plugins/translatepress-multilingual/includes/gettext/class-process-gettext.php on line 178

    And these warnings appear even if I set the website theme to “Twenty-twenty” and set only the TranslatePress plugin to be active.

    Looking forward for your insights.

    Thank you in advance.

    Plugin Support Alex

    (@alexcozmoslabs)

    We have to take the pulse of this ticket. Is there still an issue?
    In the meantime, I set this ticket as Resolved. You can also change its status back to unresolved and let us know by replying to this topic if your reqeust still needs attention.
    Another option is to let this ticket as it is and open a new one where to mention the issue again and ask for support.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undefined array key “en”’ is closed to new replies.