OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 5 years, 1 month ago.

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

  • 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
    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 5 years, 1 month 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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top