doctrine/DoctrineMongoDBBundle

Profiler issue with missing queryCount on CommandCollector

Closed this issue · 1 comments

I get the following error which causes the symfony profiler to not be available.
request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Neither the property "queryCount" nor one of the methods "queryCount()", "getqueryCount()"/"isqueryCount()"/"hasqueryCount()" or "__call()" exist and have public access in class "Doctrine\Bundle\MongoDBBundle\DataCollector\CommandDataCollector"."

Sorry, nevermind, seems my twig templates were being cached.