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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by nasserA-3 1 year, 2 months ago.

Assisted by: Bobby.

Author Posts
September 26, 2023 at 10:48 am

nasserA-3

[26-Sep-2023 10:45:41 UTC] PHP Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:195 Stack trace: #0 [internal function]: WPMLFPObj::WPMLFP{closure}() #1 /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #2 [internal function]: WPMLFPObj::WPMLFP{closure}() #3 /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array() #4 /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/wp-seo-multilingual/classes/RankMathSEO/Sitemap/Hooks.php(67): WPMLFPObj::__callStatic() #5 /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/wp-seo-multilingual/classes/RankMathSEO/Sitemap/Hooks.php(36): WPMLWPSEORankMathSEOSitemapHooks->replaceHomePageInSecondaryLanguages() #6 /ho in /home/nuclearmed/htdocs/nuclearmed.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 195

September 26, 2023 at 11:11 am
September 27, 2023 at 8:41 pm
September 27, 2023 at 9:42 pm #14477741

nasserA-3

Hello Bobby,

You have been granted access to the backend. I have taken a full backup of my website and I have also created a staging website hidden link , please use the staging website for testing with the same credentials.

hidden link

Best regards,
Nasser

September 28, 2023 at 10:41 am #14480643

nasserA-3

Deactivating and then reactivating WPML SEO helped fix the PHP Fatal error.