Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
A fatal error occurs on the WPML settings page with the message:

Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object

. Updating the plugins to the latest version does not resolve the issue.
Solution:
We recommend taking a complete backup of your site. After ensuring that your site is backed up, please follow the workaround provided in our errata page. You can find the necessary steps to resolve this issue at the following link:

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Noman 1 year, 5 months ago.

Assisted by: Noman.

Author Posts
January 27, 2024 at 2:13 pm #15232764

ruslanT-2

Hello
A fatal error occurs on the WPML settings page:
Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112

Updating the plugins to the latest version does not solve the problem.

Screenshot_1.png
January 28, 2024 at 8:32 am #15233661

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. It seems a known issue that is already reported to our developers and the workaround is also given. Can you please take a complete backup of your site and try the workaround from this errata: https://wpml.org/errata/fatal-error-uncaught-invalidargumentexception-item-should-be-a-collection-or-an-array-or-an-object-when-visiting-wpml-settings/ and see if this resolves your issue.

Thank you