Error 500 : AppParam templateEntityTypeList: InjectableFactory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cabaret_
    Junior Member
    • Jan 2023
    • 16

    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.
  • yuri
    Member
    • Mar 2014
    • 8493

    #2
    Try to copy "application" directory from the EspoCRM package. It could be that you miss some files.
    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


    • 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
  • victor
    Active Community Member
    • Aug 2022
    • 734

    #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

    • Cabaret_
      Junior Member
      • Jan 2023
      • 16

      #4
      Originally posted by victor

      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

      • yuri
        Member
        • Mar 2014
        • 8493

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

        Working...