• After upgrading to 3.4, the following error is displayed:

    Warning: Invalid argument supplied for foreach() in […]/public_html/wp-content/plugins/polylang/include/language-factory.php on line 161
    Warning: Invalid argument supplied for foreach() in […]/public_html/wp-content/plugins/polylang/include/language-factory.php on line 161
    Warning: Invalid argument supplied for foreach() in […]/public_html/wp-content/plugins/polylang/include/model.php on line 283

    Downgrading to 3.3.3 works, but now many front-end strings are no longer translated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,
    Could you try to redo the update on a test site (clone of your production site)? If you still reproduce the notice, go to Languages > Settings > URL modifications and resave. Tell me if it solves your issue.

    Thread Starter Jeremy Varnham

    (@jvarn13)

    Thanks for your reply. I’ll need a few days to arrange this test. Thanks.

    Thread Starter Jeremy Varnham

    (@jvarn13)

    Resetting the permalinks solved ” front-end strings are no longer translated” (still on 3.3.3).

    I’ll clone and test upgrading as suggested at the weekend.

    Thanks

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

The topic ‘Version 3.4 invalid argument error’ is closed to new replies.