Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Noman 10 months, 1 week ago.

Assisted by: Noman.

Author Posts
August 22, 2024 at 11:16 am #16094546

jelleB-4

Background of the issue:
I am trying to: [22-Aug-2024 11:07:09 UTC] PHP Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112 Stack trace: #0 [internal function]: WPMLFPObj::WPMLFP{closure}() #1 /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #2 [internal function]: WPMLFPObj::WPMLFP{closure}() #3 /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array() #4 /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php(90): WPMLFPObj::__callStatic() #5 [internal function]: WPMLFPObj::WPMLFP{closure}() #6 /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #7 [internal function]: WP in /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 112

Symptoms:
PHP Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /var/www/prod.fastfiber.be/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112

Questions:
What is causing the PHP Fatal error?
How can I resolve the InvalidArgumentException in WPML?

August 22, 2024 at 11:26 am #16094575

jelleB-4

Where can I download ACFML 2.1.3 ?

August 22, 2024 at 12:24 pm #16094919

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

I’ve escalated this issue to our 2nd tier support team and will get back to you once I hear back about it.

Meanwhile please keep using the ACFML v2.1.3. You can download the previous version from here: https://wpml.org/download/acfml/?section=changelog

Thank you for your cooperation

August 22, 2024 at 2:22 pm #16095338

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Could you please take a backup of your site and try the steps outlined in this errata: https://wpml.org/errata/advanced-custom-fields-extended-fatal-error-uncaught-invalidargumentexception-item-should-be-a-collection-or-an-array-or-an-object-in/ and see if this resolves the issue with the latest version of ACFML v2.1.4.1

Thank you for your cooperation.

The topic ‘[Closed] There's a general issue with the latest versions.’ is closed to new replies.