Continuous Error 500 & Cannot Save

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JosNas
    Member
    • Sep 2021
    • 97

    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?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    Try removing data/cache/application manually. Maybe you have wrong file permissions.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    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
  • JosNas
    Member
    • Sep 2021
    • 97

    #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...