OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems MappingException: Class Extend\Entity\EV_Mage_Subscr_Status does not exist

This topic contains 5 replies, has 4 voices, and was last updated by  Sergey 8 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #26642

    manhapt
    Participant

    Hi guys,

    I’m upgrading my OroCRM from v1.5 to 1.8 but couldn’t pass this error. Please give me some instruction:
    ………………………
    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    [Doctrine\Common\Persistence\Mapping\MappingException]
    Class ‘Extend\Entity\EV_Mage_Subscr_Status’ does not exist

    oro:migration:data:load [–fixtures-type [FIXTURES-TYPE]] [–dry-run] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–jms-job-id JMS-JOB-ID] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–disabled-listeners DISABLED-LISTENERS] [–] <command>

    [RuntimeException]
    The command terminated with an exit code: 1.

    Exception trace:
    () at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200
    Oro\Bundle\InstallerBundle\CommandExecutor->processResult() at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:143
    Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/PlatformUpdateCommand.php:57
    Oro\Bundle\InstallerBundle\Command\PlatformUpdateCommand->execute() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
    Symfony\Component\Console\Command\Command->run() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:886
    Symfony\Component\Console\Application->doRunCommand() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:195
    Symfony\Component\Console\Application->doRun() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/dev/www/crmapp/vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Console/Application.php:45
    JMS\JobQueueBundle\Console\Application->doRun() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
    Symfony\Component\Console\Application->run() at /home/dev/www/crmapp/app/console:23

    Regards,
    Manh – Balance Internet

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #26643

    manhapt
    Participant

    Sorry the command was:
    app/console oro:platform:update –force –env=prod –timeout=0 –verbose

    More info:
    Using the existing DB of OroCRM 1.5.
    PHP 5.6.12 (cli) (built: Aug 6 2015 17:14:56)
    Server version: 5.6.26 MySQL Community Server (GPL)
    OS: CentOS 7

    #26644

    mccar
    Participant

    Hi.

    Check all steps are correct:
    1. Restore from backup your DB to v 1.5 and update sources to 1.8
    2. Run: composer update
    3. Run:
    app/console cache:clear –env=prod
    or
    rm -Rf app/cache/prod
    4. Run:
    app/console oro:platform:update –force –env=prod –timeout=0

    #26645

    manhapt
    Participant

    Hey mccar,
    I did it but no luck. Any other suggestion guys?

    Step 1:
    $ php -d memory_limit=-1 ../composer.phar update
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    – Updating oro/platform dev-master (9e804ba => ec63483)
    Checking out ec634839c52cb45bc291f667b0e088234c70b864

    Writing lock file
    Generating autoload files
    > ComponentInstaller\Installer::postAutoloadDump
    Compiling component files
    > Incenteev\ParameterHandler\ScriptHandler::buildParameters
    Updating the “app/config/parameters.yml” file
    > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
    > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
    > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setPermissions
    > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets

    Step 2:
    $ mysql -uroot -p111111 crmapp_15 < ../crmapp_fixed_1.5.sql
    Warning: Using a password on the command line interface can be insecure.

    Step 3:
    $ rm -rf app/cache/*
    $ app/console cache:clear–env=prod

    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    Step 4:
    $ php app/console oro:platform:update –force –env=prod –timeout=0 –verbose
    Process migrations…
    …………………………
    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    [Doctrine\Common\Persistence\Mapping\MappingException]
    Class ‘Extend\Entity\EV_Mage_Subscr_Status’ does not exist

    #26646

    Patrick Steadman
    Participant

    Hello, I am having the same issue. Were you ever able to resolve this?
    Thanks.

    #26647

    Sergey
    Participant

    Hi @patrick_steadman @manhapt!

    Hi, @ptsteadman!

    Please remove caches rm -rf app/cache/* before update and make sure MagentoBundle migrations executed

Viewing 5 replies - 1 through 5 (of 5 total)

The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top