DOMAINS not working and PHP Warning

[ad_1]

My client found out, that translations does not work. I updated to newest version of Polylang and Polylang Pro (on multiple sites).

But only when we have active “The language is set from different domains”, plugin does not work properly (at all).

You can see it here – . Where string “Go back to sales” should be “<<< Go back to sales” (https://ibb.co/TgV8kwD).

When I tried same versions of plugins (Polylang 3.3, Polylang Pro 3.3, TTfP 3.3.1) and WordPress core (6.1.1) BUT with default language url modifications (/cs/, /en/, … etc.) it work fine.

You can see error on my site from php-fpm.log:

PHP Warning:  Undefined array key "domains" in .../wp-content/plugins/theme-translation-for-polylang/Polylang_Theme_Translation_Settings.php on line 28
  • This topic was modified 7 hours, 14 minutes ago by Pavel Mares.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer