ORM 500 error: Repository "package" does not exist.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smaction
    Member
    • Apr 2018
    • 68

    ORM 500 error: Repository "package" does not exist.

    I created and then deleted an entity "package" that I had used on the accounts layouts. I thought I deleted all references to "packages", but obviously not. How do I track this down?

    TIA
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi,
    It could be met in Stream.

    Do you have access to the database? Could you remove from table `note` all records, where parent_type = 'Package' OR related_type='Package' ?

    Comment

    • smaction
      Member
      • Apr 2018
      • 68

      #3
      I tried this command to get in database but it did not work. Documentation only has instructions for mysqldump/

      sudo mysql -u smaction -p

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        It's easier to do, if you have phpmyadmin. But you can run this query on command line as well



        Select query
        SELECT COUNT(id) FROM `note` WHERE parent_type = 'Package' OR related_type='Package'

        If the result is more then 0, you need to delete these records

        DELETE FROM `note` WHERE parent_type = 'Package' OR related_type='Package'

        Comment

        Working...