Announcement

Collapse
No announcement yet.

Error 500 : AppParam templateEntityTypeList: InjectableFactory

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

  • Error 500 : AppParam templateEntityTypeList: InjectableFactory

    Hi guys,

    I'm getting error 500 on my CRM and I don't know why, here are my last logs, I hope you can help me:
    ​​​​​​
    [2024-03-25 08:38:35] ERROR: AppParam templateEntityTypeList: InjectableFactory: Class "Espo\Core\Select\SelectBuilderFactory" does not exist [2024-03-25 08:38:36] ERROR: (0) InjectableFactory: Class "Espo\Core\ServiceFactory" does not exist; GET /PopupNotification/action/grouped; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:36] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:36] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:37] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Task; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:41] ERROR: (0) InjectableFactory: Class "Espo\Core\ServiceFactory" does not exist; GET /PopupNotification/action/grouped; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:46] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:46] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:51] ERROR: (0) InjectableFactory: Class "Espo\Core\ServiceFactory" does not exist; GET /PopupNotification/action/grouped; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:56] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:56] ERROR: (0) InjectableFactory: Class "Espo\Core\ServiceFactory" does not exist; GET /PopupNotification/action/grouped; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:38:56] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:39:06] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:39:07] ERROR: (0) InjectableFactory: Class "Espo\Core\Select\Text\MetadataProvider" does not exist; GET /Notification/action/notReadCount; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php
    [2024-03-25 08:39:07] ERROR: (0) InjectableFactory: Class "Espo\Core\ServiceFactory" does not exist; GET /PopupNotification/action/grouped; line: 253, file: D:\xampp\htdocs\crmMCL\application\Espo\Core\Injec tableFactory.php

    I've already cleared the cache and tried to rebuild the system.

  • #2
    Try to copy "application" directory from the EspoCRM package. It could be that you miss some files.

    Comment


    • Cabaret_
      Cabaret_ commented
      Editing a comment
      I need to download the CRM files and then copy the new application folder to my CRM?

      It all happened overnight

  • #3
    I need to download the CRM files and then copy the new application folder to my CRM?
    Yes, and after that, do not forget specify the permissions: https://docs.espocrm.com/administrat...n/#permissions again and make a Rebuild: https://docs.espocrm.com/administrat...mands/#rebuild.

    Comment


    • #4
      Originally posted by victor View Post

      Yes, and after that, do not forget specify the permissions: https://docs.espocrm.com/administrat...n/#permissions again and make a Rebuild: https://docs.espocrm.com/administrat...mands/#rebuild.
      I decided to re-use a new backup that I made 2 days ago.
      How can I prevent this type of things happening again? I'm using a Windows machine btw.

      Comment


      • #5
        Unlikely to be caused by Espo, but something from outside.

        You could just copy all files from application directory from the release. And check file permissions, maybe they were changed.

        Comment

        Working...
        X