We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some entries i trie to view, get error:
PHP Warning – yii\base\ErrorException Illegal string offset 'memory' 1. in /var/www/app/vendor/bedezign/yii2-audit/src/panels/ProfilingPanel.php at line 24 15161718192021222324252627282930313233{ use DataStoragePanelTrait; /** * @inheritdoc */ public function getLabel() { $memory = sprintf('%.1f MB', $this->data['memory'] / 1048576); $time = number_format($this->data['time'] * 1000) . ' ms'; return $this->getName() . ' <small>(' . $memory . ' / ' . $time . ')</small>'; } /** * @inheritdoc */ public function getDetail()
Debugging yii2-audit/src/panels/ProfilingPanel.php i can see:
$this->getModels() and $this->data is null
My configuration is:
'audit' => [ 'class' => 'bedezign\yii2\audit\Audit', 'ignoreActions' => ['audit/*', 'debug/*'], 'accessUsers' => [1], 'compressData' => false, 'layout' => '@app/views/layouts/main', ],
which may be failing?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In some entries i trie to view, get error:
Debugging yii2-audit/src/panels/ProfilingPanel.php i can see:
$this->getModels() and $this->data is null
My configuration is:
which may be failing?
The text was updated successfully, but these errors were encountered: