Announcement

Collapse
No announcement yet.

Error 500 Bad data stored in file 'data/cache/application/ormMetadata.php'.​

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 500 Bad data stored in file 'data/cache/application/ormMetadata.php'.​

    Click image for larger version

Name:	2023-05-15_21h15_02.png
Views:	200
Size:	278.0 KB
ID:	92448

    I get this rare Error 500 after Rebuild or Clear Cache:

    Error 500
    Bad data stored in file 'data/cache/application/ormMetadata.php'. ​​

    Cleared cache manually, but the file an the error regenerate.

    PHP 8.1 Espo V 7.4.5

    Any help? Many thanks!

    espo-2023-05-16.log

    Attached Files

  • #2
    Hi jeamado,

    When did you get this error after what actions?

    Comment


    • #3
      Hi victor

      After migrating to another server, upgrading to V7.4.5 and installing Advanced and Sales Extensions.

      Comment


      • #4
        Hi,
        for better response, you need to upload your file : data/cache/application/ormMetadata.php'

        step :
        clear_cache
        rebuild
        open espocrm
        error occur
        copy file data/cache/application/ormMetadata.php
        rename in ormMetadat.log
        post on forum

        ​so forum user can check where issue.

        Comment


        • #5
          Thank you @item,

          Here is the file.

          It is zipped because it heights 1.58MB and the forum does not allows me to upload such a large file.
          Attached Files

          Comment


          • item
            item commented
            Editing a comment
            Hello,
            i have do this :

            $data = include 'data/tmp/ormMetadata.php';
            $json = json_encode($data);
            file_put_contents('data/tmp/ormMetadata.json', $json);

            after online json validator : json is valid.

            Sorry, it's out of my skill after.

          • jeamado
            jeamado commented
            Editing a comment
            item, thanks a lot for your effort. I appreciate your help.
        Working...
        X