OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums OroCRM Fatal error: Uncaught RuntimeException: In ArrayNode.php line 307

This topic contains 4 replies, has 3 voices, and was last updated by  kiatsiong.ng 6 months, 1 week ago.

  • Creator
    Topic
  • #38265

    328581538
    Participant

    Fatal error: Uncaught RuntimeException: In ArrayNode.php line 307: Unrecognized options “upload_file_mime_types, upload_image_mime_types” unde r “oro_attachment” in /Users/wd/php_project/orocrm/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php:130 Stack trace: #0 /Users/wd/php_project/orocrm/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(101): Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle->checkConfigs() #1 /Users/wd/php_project/orocrm/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php(72): Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle->ensureInitialized() #2 /Users/wd/php_project/orocrm/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(797): Oro\Bundle\EntityExtendBundle\OroEnti in /Users/wd/php_project/orocrm/vendor/oro/platform/src/Oro/Bundle/EntityExtendBundle/OroEntityExtendBundle.php on line 130

    i am use the branch 3.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #38266
    Michael
    Michael
    Keymaster

    Use a specific tag (e.g. 3.1.3) instead of a branch, as using branches may lead to installing non-synced versions of the packages and the application.

    #38267

    328581538
    Participant

    PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException:
    Attempted to load class “OroTwigInspectorBundle” from namespace “Oro\TwigInspector\Bundle”.
    Did you forget a “use” statement for another namespace? in /Users/wd/php_project/orocrm/src/AppKernel.php

    this is tag 3.1.3 , Cound you help me ? thanks

    #38275

    kiatsiong.ng
    Participant

    I use composer the create Oro Platform project:

    I encountered the following on a new install of Oro Platform 3.1.3:

    Same error as reported by @328581538. Any idea?

    • This reply was modified 6 months, 2 weeks ago by  kiatsiong.ng.
    #38307

    kiatsiong.ng
    Participant

    The ClassNotFoundException on classOroTwigInspectorBundle is due to missing oro/twig-inspector package, which is only installed in dev environment. To fix this, just use composer to install without the option –no-dev:

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

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No