ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 6 replies, has 4 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 2 years, 5 months ago.

  • Creator
    Topic
  • #5900

    Rogyar
    Participant

    Hi Guys,

    We try to upgrade OroCRM from 1.3.0 to the latest master since we need some of the new features from the nightly builds. Unfortunately, there were few attempts on different servers with the same error.
    After php app/console oro:platform:update –force execution we always get the same error

    We are using OroCRM <- Magento flow to sync carts/orders/customers. Maybe someone also faced with that issue and has some ideas how to solve it.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #5940
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Rogyar.

    Please, put here full trace of get_class warning – you can find it either in console or in error logs.

    #5970

    Rogyar
    Participant

    Sure, here is:

    #5976
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Please, in order of debug try to disable reindexation in command LoadDataFixturesCommand. To do that comment two following lines – this and this.

    If it help you I’ll commit this fix to master. Also it would be great to debug which entity triggers this issue – to do that you can run oro:search:reindex command and check whether it will trigger errors.

    #5999

    Alexandr Smaga
    Participant

    Hello @rogyar!

    Can you please put following expression there and give us a result
    if (!is_object($entity)) { var_dump($entity); die; }

    Also, do you have some changes in this file ? Just to be sure, because line numbers do not match code in master.

    #6026
    Hiro
    Hiro
    Participant

    I got this page by googling with the error message.

    In my case I was trying to check my Migration Script like:

    and gets the following message twice:

    “php app/console oro:search:reindex” failed with the above message as well.

    When I put the debug codes I got:

    I kept debugging the code and found if I change the following:

    to this:

    In my case Account Entity has got over 1000 records so that “if” statement is applied and $entities[Times of 1000] has got empty Array and got error at further logic.

    #6027
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Hiro.

    Yes, look’s like this is the issue – we’ll fix it ASAP.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.