Doctrine 1
  1. Doctrine 1
  2. DC-1058

Warning: Invalid argument supplied for foreach() in SqlWalker.php line 899

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Linux, Ubuntu 12, php 5.4

      Description

      Hallo, i get the error
      Warning: Invalid argument supplied for foreach() in /var/www/phverbose/vendor/doctrine/Doctrine/ORM/Query/SqlWalker.php line 899

      Here is the line
      foreach ($assoc['relationToTargetKeyColumns'] as $relationColumn => $targetColumn) {

      Here are the relations and the query
      http://pastie.org/4352511
      http://pastie.org/4352498

      Here is the dump of $assoc before warning

      array(16) {
      ["fieldName"]=>
      string(5) "sites"
      ["joinTable"]=>
      array(0) {
      }
      ["targetEntity"]=>
      string(13) "Entities\Site"
      ["mappedBy"]=>
      string(6) "emails"
      ["inversedBy"]=>
      NULL
      ["cascade"]=>
      array(1)

      { [0]=> string(7) "persist" }

      ["orphanRemoval"]=>
      bool(false)
      ["fetch"]=>
      int(2)
      ["type"]=>
      int(8)
      ["isOwningSide"]=>
      bool(false)
      ["sourceEntity"]=>
      string(14) "Entities\Email"
      ["isCascadeRemove"]=>
      bool(false)
      ["isCascadePersist"]=>
      bool(true)
      ["isCascadeRefresh"]=>
      bool(false)
      ["isCascadeMerge"]=>
      bool(false)
      ["isCascadeDetach"]=>
      bool(false)
      }

        Activity

        Alexander Cucer created issue -

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DC-1058, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Alexander Cucer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: