[TYPO3-mvc] small bug, but don't know how to debug

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Mon Aug 26 11:57:20 CEST 2013


Hello

 

Currently I'm rewriting my extensions tob e compatible with 6.1/6.2.

Suddenly one extension throws an error: Fatal error: Call to a member
function fetch_assoc() on a non-object in
/is/htdocs/wp1106888_H2WDP83R7T/www/typo3_sources/typo3_src-6.1.3/typo3/syse
xt/core/Classes/Database/DatabaseConnection.php on line 1348

 

I only use one own repository-method:

class CalendarRepository  extends \TYPO3\CMS\Extbase\Persistence\Repository
{

            public function findUpcoming(){

                        $query = $this->createQuery();

                        $query->matching($query->greaterThanOrEqual('edate',
time()));

                        $query->setOrderings(array('edate' =>
\TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING));

                        $query->setLimit(10);

                        return $query->execute();

  }

}

 

Can anybody tell me where the error comes from or how to debug it?

 

Thanks a lot

Johannes



More information about the TYPO3-project-typo3v4mvc mailing list