Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1483

Not found exception for Twig Function Method class

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.9.1-rc1, 1.7.4-rc1
    • 1.7.0, 1.8.0, 1.9.0
    • Installation
    • None
    • master (1.10.0@dev) of ezplatform-ee-demo
      e.g. devdemo

    Description

      Not found exception for Twig Function Method class

      Steps:
      1. Clone the Platform EE demo repo into an empty directory.
      2. On current master run `composer update`.
      Actual: Exception occurs during post install scripts execution (attached).
      Expected: Installation finishes w/o exceptions.

      Remarks: Attached is log excerpt also:
      request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "Twig_Function_Method" from the global namespace. Did you forget a "use" statement?" at /var/www/vendor/knplabs/knp-menu/src/Knp/Menu/Twig/MenuExtension.php line 24
      "exception":"[object] (Symfony\\Component\\Debug\\Exception
      ClassNotFoundException(code: 0): Attempted to load class \"Twig_Function_Method\" from the global namespace.\nDid you forget a \"use\" statement? at /var/www/vendor/knplabs/knp-menu/src/Knp/Menu/Twig/MenuExtension.php:24)

      Attachments

        1. EZEE-1483.png
          38 kB
          Michał Szołtysek

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: