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

Fatal error: Call to a member function subTree() on a non-object in /var/www/html/mood/test/ez/extension/ezfind/bin/php/updatesearchindexsolr.php on line 164

    XMLWordPrintable

Details

    Description

      offending code:

              $node = eZContentObjectTreeNode::fetch( $nodeID );
              $searchEngine = new eZSolr();
      
      
              if ( $subTree = $node->subTree( array( 'Offset' => $offset, 'Limit' => $limit,
                                                        'Limitation' => array(),
                                                        'MainNodeOnly' => true ) ) )
              {
      

      not checking the result of the initial fetch.

      Cli used:
      /usr/bin/php ./extension/ezfind/bin/php/updatesearchindexsolr.php --limit=20 --offset=0 --topNodeID=5

      Attachments

        Activity

          People

            pborgerm pborgerm
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: