Plugin Author
Chouby
(@chouby)
Hi!
There are two ways to solve this:
1. Hide the message by editing your wp-config.php and setting WP_DEBUG to false instead of true.
2. Find the reason for this message: Try de-activating all your plugins except Polylang and switch your theme to Twenty Twelve. The message should disappear (at least I don’t have it). Then activate your theme and your plugins one by one to find out which one conflict with Poylang.
Thread Starter
marur
(@marur)
Hi Chouby,
thank you for your advice. I have switched off every single plugin and it appeared, that Google Maps Ready! had caused the conflict.
Once again thanks for your help. I do appreciate your time taken in my case.
Best regards.
Plugin Author
Chouby
(@chouby)
Thanks,
I confirm the conflict with Google Maps Ready! I posted a bug report on this plugin forum. See http://ww.wp.xz.cn/support/topic/wrong-usage-of-function-_
I will also include a protection in Polylang v1.5 to avoid this warning in the future but of course it won’t fix bugs in other plugins currently causing this warning.
If you want to include the fix before Polylang 1.5 is released, you can edit the file polylang/include/olt-manager.php at line 110 and replace:
$this->labels[$text] = array('domain' => $domain);
by
if (is_string($text)) // avoid a notice with some buggy plugins which pass an array
$this->labels[$text] = array('domain' => $domain);