Open squareclouds opened 2 years ago
As soon as I try to save the changes, I get an error:
The JSON response could not be parsed. Note: Unknown: File was created in the system's temporary directory in Unknown on line 0
Warning: Cannot modify header information - headers already sent in Unknown on line 0
when i log out of the panel the frontend page does not work anymore
site/plugins/kirby3-logger/classes/Logger.php
Call to a member function email() on null
line 159:
'user' => kirby()->user()->email(),
I can at least fix this error in Logger.php
/**
* @param Event $event
*/
public static function log(Event $event): void
{
if (!in_array($event->type(), self::TYPES) || $event->action() === 'render') {
return;
}
$log = self::getLog($event);
self::$connection->table('logs')->insert($log->toArray());
}
i can install it and i see the link in the menu and the logger overview is always empty
hi everyone,
pretty short and simple problem: nothing is happening :) the log is completely empty. i am working on localhost and might try it later on the server, but i dont think that it will make a difference? the accounts dropdown is also empty, so it seems its not even that is being populated. or does it only get populated when logs already exist?
any help is appreciated. i am using kirby 3.7.5 and php 8.1.10, but with kirby 3.7.3 it didnt work either.