Announcement

Collapse
No announcement yet.

Continuous Error 500 & Cannot Save

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

  • Continuous Error 500 & Cannot Save

    Hello I am constantly getting Error 500 which is logging:
    Code:
    [I]ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Bad data stored in file 'data/cache/application/metadata.php'." at .../admin/application/Espo/Core/Utils/File/Manager.php line 234[/I]
    There logged error code/statement above is repeated too many times in the log file. Why could this happen?

  • #2
    Hi,

    Try removing data/cache/application manually. Maybe you have wrong file permissions.

    Comment


    • JosNas
      JosNas commented
      Editing a comment
      I deleted the 'application' folder in data/cache/application, it's still giving me the same error but in a new log file

    • JosNas
      JosNas commented
      Editing a comment
      I am 70% sure that the issue is because of the config.php file but I'm wondering what could it be.. all DB credentials are right

  • #3
    I think I found the problem but not it's cause yet. The problem is data/cache/application/metadata.php is being emptied somehow whenever I clear cache/rebuild backend (I check metadata.php and it is empty with no code in it).
    Last edited by JosNas; 11-12-2021, 03:05 PM.

    Comment

    Working...
    X