Background of the issue:
We're struggling to migrate our Bedrock/Composer based website which uses WPML to standard WordPress. While we have all the plugins and files running now, when we try to migrate the database we are receiving the following error: Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreObj.php:112 Stack trace: #0 [internal function]: WPMLFPObj::WPMLFP{closure}(NULL, 'setup_complete', false) #1 C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcorefunctions.php(152): call_user_func_array(Object(Closure), Array) #2 [internal function]: WPMLFPObj::WPMLFP{closure}(NULL, 'setup_complete', false) #3 C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlcollectsrcIlluminateSupportTraitsMacroable.php(56): call_user_func_array(Object(Closure), Array) #4 C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreObj.php(90): WPMLFPObj::__callStatic('propOr', Array) #5 [internal function]: WPMLFPObj::WPMLFP{closure}('setup_complete', false) #6 C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreObj.php on line 112. As this is a WPML error I'm hoping you can give us some insight into how to fix this so we can move our website off Bedrock.
Symptoms:
Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in C:MAMPhtdocsvanillavpwp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreObj.php:112
Questions:
How can we fix the InvalidArgumentException error during the database migration?
Are there specific steps to migrate a Bedrock/Composer based website using WPML to standard WordPress?
The topic ‘[Closed] Migration from bedrock/composer’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.