Translate-plugin: Invalid argument supplied for foreach()

Created on 26 Feb 2019  Â·  4Comments  Â·  Source: rainlab/translate-plugin

Hi,
I made the plugin update few days ago since than I have an error on my staging environment.
Can anybody advice me how to fix this issue?

/plugins/rainlab/translate/behaviors/TranslatablePage.php line 55
Invalid argument supplied for foreach()

screenshot 2019-02-26 at 09 11 46

Question

All 4 comments

I think your october core and rainlab/translate-plugin are out of sync.
how do you install the translate plugin? manually or with a dependency in the composer.json?

You need to update the core octobercms as well. What version of core and
the plugin do you have?

--
Marc

On Tue, Feb 26, 2019, 06:47 Sophie Vanderveken notifications@github.com
wrote:

Hi,
I made the plugin update few days ago since than I have an error on my
staging environment.
Can anybody advice me how to fix this issue?

/plugins/rainlab/translate/behaviors/TranslatablePage.php line 55
Invalid argument supplied for foreach()

[image: screenshot 2019-02-26 at 09 11 46]
https://user-images.githubusercontent.com/7673083/53410603-95234280-39c4-11e9-9381-45fede0c903d.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rainlab/translate-plugin/issues/449, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB65vn1O-prAPQxB3bg7jX_K0zjV0a8Nks5vRR7bgaJpZM4bR_gf
.

Thanks for your reply @munxar @mjauvin
it was install by the cms interface
translate-plugin 1.4.5
octobercms build 443

@LukeTowers this can be closed as invalid (core is not up2date)

Was this page helpful?
0 / 5 - 0 ratings