Magento2 error ltrim() expects parameter 1 to be string, array givenMagento migrate products, categories and usersMoving a Magento installationStrategy for migrating new theme to production siteMagento 2 | Component manager wont work after migrationWhat is causing InstallSchema Error Warning: array_key_exists() expects parameter 2 to be array, string given inMigrate Magento 1.7 separate store to Magento 2 multistore (just customers and history)Magento 2 Error occured after upgrade : Warning: ltrim() expects parameter 1 to be string, array givenMagento 2.1.11 - Interceptor throwing ltrim expects 1 parameter to be string, object given warning exceptionMigrating from Shopify: Manual or Migration Tools?Something went wrong while saving this configuration Warning: is_file() expects parameter 1 to be a valid path, string

If a warlock makes a Dancing Sword their pact weapon, is there a way to prevent it from disappearing if it's farther away for more than a minute?

Can compressed videos be decoded back to their uncompresed original format?

Why was Sir Cadogan fired?

Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?

Was the old ablative pronoun "med" or "mēd"?

In Bayesian inference, why are some terms dropped from the posterior predictive?

Rotate ASCII Art by 45 Degrees

What exactly is ineptocracy?

Does int main() need a declaration on C++?

How can saying a song's name be a copyright violation?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

How to install cross-compiler on Ubuntu 18.04?

Mathematica command that allows it to read my intentions

Ambiguity in the definition of entropy

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

What does the same-ish mean?

How to show a landlord what we have in savings?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Where would I need my direct neural interface to be implanted?

What is a Samsaran Word™?

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)

Unlock My Phone! February 2018

What are the G forces leaving Earth orbit?



Magento2 error ltrim() expects parameter 1 to be string, array given


Magento migrate products, categories and usersMoving a Magento installationStrategy for migrating new theme to production siteMagento 2 | Component manager wont work after migrationWhat is causing InstallSchema Error Warning: array_key_exists() expects parameter 2 to be array, string given inMigrate Magento 1.7 separate store to Magento 2 multistore (just customers and history)Magento 2 Error occured after upgrade : Warning: ltrim() expects parameter 1 to be string, array givenMagento 2.1.11 - Interceptor throwing ltrim expects 1 parameter to be string, object given warning exceptionMigrating from Shopify: Manual or Migration Tools?Something went wrong while saving this configuration Warning: is_file() expects parameter 1 to be a valid path, string













3















I moved my Magento 2.2.5 based website into another existing site in-order to make them both a multi-site website. I used a paid migration tool and all seemed to go fine, now when I am editing some products to add them to a category for one of my store views I am getting the below error. I even tried deleting the category from the admin panel and then tried for re-creating the category thinking, maybe something with the category just didn't migrate over correctly.




No such entity with id = 128




 Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 102


I am not sure how to find out what entity id 128 is . I checked all my other categories which have category images and descriptions added to them all that looks fine.



Any suggestions on how to troubleshoot this further and or how to fix it? I also checked my folder and file permissions already










share|improve this question
























  • reindexing after migration?

    – HIren Kadivar
    Feb 26 at 8:17











  • ya i reindexed, i even compiled and re-deployed

    – Jayreis
    Feb 26 at 17:18











  • var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

    – HIren Kadivar
    Feb 27 at 4:44















3















I moved my Magento 2.2.5 based website into another existing site in-order to make them both a multi-site website. I used a paid migration tool and all seemed to go fine, now when I am editing some products to add them to a category for one of my store views I am getting the below error. I even tried deleting the category from the admin panel and then tried for re-creating the category thinking, maybe something with the category just didn't migrate over correctly.




No such entity with id = 128




 Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 102


I am not sure how to find out what entity id 128 is . I checked all my other categories which have category images and descriptions added to them all that looks fine.



Any suggestions on how to troubleshoot this further and or how to fix it? I also checked my folder and file permissions already










share|improve this question
























  • reindexing after migration?

    – HIren Kadivar
    Feb 26 at 8:17











  • ya i reindexed, i even compiled and re-deployed

    – Jayreis
    Feb 26 at 17:18











  • var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

    – HIren Kadivar
    Feb 27 at 4:44













3












3








3








I moved my Magento 2.2.5 based website into another existing site in-order to make them both a multi-site website. I used a paid migration tool and all seemed to go fine, now when I am editing some products to add them to a category for one of my store views I am getting the below error. I even tried deleting the category from the admin panel and then tried for re-creating the category thinking, maybe something with the category just didn't migrate over correctly.




No such entity with id = 128




 Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 102


I am not sure how to find out what entity id 128 is . I checked all my other categories which have category images and descriptions added to them all that looks fine.



Any suggestions on how to troubleshoot this further and or how to fix it? I also checked my folder and file permissions already










share|improve this question
















I moved my Magento 2.2.5 based website into another existing site in-order to make them both a multi-site website. I used a paid migration tool and all seemed to go fine, now when I am editing some products to add them to a category for one of my store views I am getting the below error. I even tried deleting the category from the admin panel and then tried for re-creating the category thinking, maybe something with the category just didn't migrate over correctly.




No such entity with id = 128




 Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 102


I am not sure how to find out what entity id 128 is . I checked all my other categories which have category images and descriptions added to them all that looks fine.



Any suggestions on how to troubleshoot this further and or how to fix it? I also checked my folder and file permissions already







magento2 migration






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 26 at 7:51









ABHISHEK TRIPATHI

2,0611728




2,0611728










asked Feb 26 at 3:04









JayreisJayreis

340832




340832












  • reindexing after migration?

    – HIren Kadivar
    Feb 26 at 8:17











  • ya i reindexed, i even compiled and re-deployed

    – Jayreis
    Feb 26 at 17:18











  • var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

    – HIren Kadivar
    Feb 27 at 4:44

















  • reindexing after migration?

    – HIren Kadivar
    Feb 26 at 8:17











  • ya i reindexed, i even compiled and re-deployed

    – Jayreis
    Feb 26 at 17:18











  • var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

    – HIren Kadivar
    Feb 27 at 4:44
















reindexing after migration?

– HIren Kadivar
Feb 26 at 8:17





reindexing after migration?

– HIren Kadivar
Feb 26 at 8:17













ya i reindexed, i even compiled and re-deployed

– Jayreis
Feb 26 at 17:18





ya i reindexed, i even compiled and re-deployed

– Jayreis
Feb 26 at 17:18













var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

– HIren Kadivar
Feb 27 at 4:44





var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/*

– HIren Kadivar
Feb 27 at 4:44










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263380%2fmagento2-error-ltrim-expects-parameter-1-to-be-string-array-given%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263380%2fmagento2-error-ltrim-expects-parameter-1-to-be-string-array-given%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?