Error: Class "Espo\Core\Api\Record" not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vistouso
    Junior Member
    • Jun 2021
    • 2

    Error: Class "Espo\Core\Api\Record" not found

    I am getting error message when I tried to upgrade EspoCRM from 8.4.2 to 9. Can any one help?

    $ php command.php upgrade
    Current version is 8.4.2.
    EspoCRM will be upgraded to version 9.0.0 now. Enter [Y] to continue.
    Y
    This may take a while. Do not close the terminal.
    Downloading...
    Upgrading...
    Initialization...
    Copying before upgrade files...
    Rebuilding...
    Before upgrade script execution...
    Reverting...
    Error: Class "Espo\Core\Api\Record" not found
  • Vistouso
    Junior Member
    • Jun 2021
    • 2

    #2
    After doing some research, the error is generated from the following: class CApplicationForm extends \Espo\Core\Api\Record


    /custom/Espo/Custom/Api/CApplicationForm.php

    <?php

    namespace Espo\Custom\Api;

    use Espo\Modules\Crm\Services\Record;

    class CApplicationForm extends \Espo\Core\Api\Record

    Comment

    Working...