OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Custom Entity Issue

This topic contains 3 replies, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 year, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #38719



    I created a custom entity “test_entity” using UI. I checked the box under Communication & Collaboration tab Activities -> Notes

    I deleted the custom entity later on using the UI and updates Schema. But the Entity still exists in the DB under oro_entity_config table.

    This was creating issues since when I try to update cache using php bin/console cache:clear with below error

    Things I have tried so far:

    – Deleting the custom entity from DB in oro_entity_config table but that didnt help

    – Tried php bin/console oro:entity-config:update –force hoping that Meatdata could be out of sync with real DB but that didnt help

    – Created the entity again with the same name using the UI and this time didnt check the box for Notes. I was hoping that would update the dependencies, but that didnt help.

    At this point I am unable to clear cache because of this. This is error I am getting now:

    I’d appreciate any help with this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #38720


    Never mind I just added a another custom entity and updated Schema and this seemed to have solved the issue.

    Would be great to know if you have come across this in the past and why it happened but its solved for now.




    After clearing the cache I am getting HTTP: 500 error and cant access the log in page. Any thoughts?

    Andrey Yatsenko
    Andrey Yatsenko

    Looks like you have corrupted src/AppKernel.php file or some other related file, please compare it with the default one. $bundles argument must be an array, but it is a string.

    Also, you can reinstall vendors to make sure there are no manual changes in the vendor folder, as it must not be edited manually anyway.

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

The forum ‘OroCRM’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No