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

Error 500 in the Beginner tutorial

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Unable to reproduce, but this error seems to shows up sometimes.

      Details:
      After the last step of page https://doc.ez.no/display/DEVELOPER/Step+1+-+Display+content+of+a+Ride when accessing the ride page I get:

      Notice: Trying to get property of non-object
      500 Internal Server Error - ContextErrorException 
      

      In dev.log:

      [2016-10-04 11:23:52] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] []
      [2016-10-04 11:23:52] event.DEBUG: Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::onSiteAccessMatch". [] []
      [2016-10-04 11:23:52] event.DEBUG: Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\DynamicSettingsListener::onSiteAccessMatch". [] []
      [2016-10-04 11:23:52] event.DEBUG: Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::onSiteAccessMatch". [] []
      [2016-10-04 11:23:52] event.DEBUG: Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\SessionInitByPostListener::onSiteAccessMatch". [] []
      [2016-10-04 11:23:52] event.DEBUG: Notified event "ezpublish.siteaccess" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\RoutingListener::onSiteAccessMatch". [] []
      [2016-10-04 11:23:52] app.DEBUG: Router eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter was not able to match, message "" [] []
      [2016-10-04 11:23:52] app.INFO: UrlAlias matched location #55. Forwarding to ViewController [] []
      [2016-10-04 11:23:52] request.INFO: Matched route "ez_urlalias". {"route_parameters":{"_route":"ez_urlalias","_controller":"ez_content:viewAction","contentId":53,"locationId":"55","viewType":"full","layout":true},"request_uri":"http://bikes.lh/All-Rides/Test-ride-1"} []
      [2016-10-04 11:23:52] security.DEBUG: Read existing security token from the session. {"key":"_security_ezpublish_front"} []
      [2016-10-04 11:23:52] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"eZ\\Publish\\Core\\MVC\\Symfony\\Security\\User\\Provider"} []

      I checked for more 'image' vs 'photo' mixups and couldn't find any, but maybe there are still some we missed?

      (Side note: despite this I could still follow https://doc.ez.no/display/DEVELOPER/Step+2+-+Display+the+list+of+Rides+on+the+homepage successfully, no problems there)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sarah.haim-lubczanski-obsolete@ez.no Sarah Haïm-Lubczanski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: