Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25176

symfony debug toolbar causing error on frontend homepage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Obsolete
    • Affects Version/s: 2015.11
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      dev

      Description

      I have created a fresh install using composer and then added the Symfony Debug Toolbar.
      It comes up on the backend UI login page ( /ez ) but when I try to load the frontend page ( / ) I get the following error:

      An exception has been thrown during the rendering of a template ("Could not find 'eZ\Publish\SPI\Persistence\Content\Type' with identifier 'ID: landing_page, Status: 0'") in eZDemoBundle::pagelayout.html.twig at line 39.

      The log says:

      ERROR - Couldn't find any SiteAccess with 'eng-GB' as main language.

      and

      CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Could not find 'eZ\Publish\SPI\Persistence\Content\Type' with identifier 'ID: landing_page, Status: 0'") in "eZDemoBundle::pagelayout.html.twig" at line 39." at /Applications/MAMP/htdocs/platform/magpie/vendor/twig/twig/lib/Twig/Template.php line 176

      From the readout, it seems to be trying to call the DemoBundle which has been removed.

      The frontend works without calling the toolbar, and it may be worth noting that I am getting another error when trying to log in to the UI login page. I don't know if this is related (EZP-25117)

      Any suggestions?
      Thanks in advance

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              symfonycoda Barry Holland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: