bedezign/yii2-audit

Undefined array key "traceHash" Error

Opened this issue · 9 comments

I have installed this extension the lastest version 1.2.7 following the documentation and works well except when clicking the database panel (DbPanel) it shows that error. see attached screeshots for more details..It seems that the bedezign\yii2\audit\panels\DbPanel::calculateTimings() is not adding the "traceHash" compared to the one from its parent yii\debug\panels\DbPanel::calculateTimings()... i am using yii 2.0.50 advanced project template
Screenshot 2024-07-17 at 14-22-57 yii_base_ErrorException

Capture1234
Capture123

@khalid-eyez Could you please send me a section of your configuration in which you configure the audit module?

Here it is please ! @eluhr
scshot

@khalid-eyez It looks like the problem is not caused by the audit module but by the debug module. Have you possibly reconfigured some things in the debug module or changed files directly in the vendor?

@eluhr No...i did nothing on the debug module...i did not touch the vendor as well.

@schmunk42 as i can see there is also introduction of $queryDataProvider and $callerDataProvider. Look at lines 152 and 153. I also bumped onto that wall when i was trying to skip this current error.

PRs welcome, btw ;)

Any updates on this issue

Any updates at all?