Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /var/www/html/wordpress/wp-content/plugins/wp-log-action/wp-log-action.php:101 Stack trace: #0 /var/www/html/wordpress/wp-content/plugins/wp-log-action/wp-log-action.php(101): DateTimeZone->__construct() #1 /var/www/html/wordpress/wp-content/plugins/wp-log-action/wp-log-action.php(83): wpla_schedule_events() #2 /var/www/html/wordpress/wp-includes/class-wp-hook.php(307): wpla_activation() #3 /var/www/html/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /var/www/html/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action() #5 /var/www/html/wordpress/wp-admin/plugins.php(194): do_action() #6 {main} thrown in /var/www/html/wordpress/wp-content/plugins/wp-log-action/wp-log-action.php on line 101
]]>Hello. Is this plugin abandoned or do you plan to test and update based on the latest WP version at some point soon?
]]>Would it be possible to have a setting to allow for the cron-driven deleting of old log entries? This maybe could just be “Keep last 1000, 10000, or 100000 entries” or something like that.
]]>Hello. I am trying to export the logs so I can save them off and then clear them in the database. I’ve tried both selecting the option to export and also selecting all of the entries and then export. The page refreshes, but neither attempt gives the option to download the export nor any indication that the export succeeded. I checked the filesystem to see if something was saved somewhere there, but I’m not finding anything.
Is there a known issue with this functionality? What experience should I expect when exporting the logs?
Thank you for your help.
]]>I just updated to the latest version. I am now receiving the error below when trying to delete all of the logs. It appears that the querystring gets to the point where it is too long and causes the error. The only way to get past this is to navigate to some other page and come back to the log page. I’ll try to provide more information as you need once you’ve taken an initial look. Just let me know.
/wp-admin/tools.php?page=wpla&_wpnonce=066edc4445&_wp_http_referer=%2Fwp-admin%2Ftools.php%3Fpage%3Dwpla%26_wpnonce%3D066edc4445%26_wp_http_referer%3D%252Fwp-admin%252Ftools.php%253Fpage%253Dwpla%2526_wpnonce%253D066edc4445%2526_wp_http_referer%253D%25252Fwp-admin%25252Ftools.php%25253Fpage%25253Dwpla%252526_wpnonce%25253Deb4028df86%252526_wp_http_referer%25253D%2525252Fwp-admin%2525252Ftools.php%2525253Fpage%2525253Dwpla%25252526_wpnonce%2525253Deb4028df86%25252526_wp_http_referer%2525253D%252525252Fwp-admin%252525252Ftools.php%252525253Fpage%252525253Dwpla%2525252526_wpnonce%252525253Deb4028df86%2525252526_wp_http_referer%252525253D%25252525252Fwp-admin%25252525252Ftools.php%25252525253Fpage%25252525253Dwpla%2525252526action%252525253Ddelete%2525252526log_type%2525252526log_time_start%2525252526log_time_end%2525252526s%2525252526paged%252525253D1%2525252526ids%25252525255B0%25252525255D%252525253D3585%2525252526ids%25252525255B1%25252525255D%252525253D3584%2525252526ids%25252525255B2%25252525255D%252525253D3583%2525252526action2%252525253D-1%25252526action%2525253Ddelete%25252526log_type%25252526log_time_start%25252526log_time_end%25252526s%25252526paged%2525253D1%25252526ids%252525255B0%252525255D%2525253D3588%25252526ids%252525255B1%252525255D%2525253D3587%25252526ids%252525255B2%252525255D%2525253D3586%25252526action2%2525253D-1%252526action%25253Ddelete%252526log_type%252526log_time_start%252526log_time_end%252526s%252526paged%25253D1%252526ids%2525255B0%2525255D%25253D3593%252526ids%2525255B1%2525255D%25253D3592%252526ids%2525255B2%2525255D%25253D3591%252526ids%2525255B3%2525255D%25253D3590%252526ids%2525255B4%2525255D%25253D3589%252526action2%25253D-1%2526action%253Ddelete%2526log_type%2526log_time_start%2526log_time_end%2526s%2526paged%253D1%2526ids%25255B0%25255D%253D3594%2526action2%253D-1%26action%3Ddelete%26log_type%26log_time_start%26log_time_end%26s%26paged%3D1%26ids%255B0%255D%3D3599%26ids%255B1%255D%3D3598%26ids%255B2%255D%3D3597%26ids%255B3%255D%3D3596%26ids%255B4%255D%3D3595%26action2%3D-1&action=delete&log_type=&log_time_start=&log_time_end=&s=&paged=1&ids%5B%5D=3600&action2=-1
]]>Hey – any way I can add an “export” option to the log table to allow exporting of data to a CSV file?
Great plugin. Thanks!
]]>Hello! I need to log some links with this plugin (I need this way, not alternative plugins) so I made this:
my content page
<a it="test-tracking1" href="#" class="track">Test Tracking</a>
theme footer.php
<script type="text/javascript">
$(document).ready(function() {
$(".track").click(function() { tracklink(); });
});
function tracklink(el) {
var the_id = $(el).attr("id");
var test = "test";
$.ajax({
type: "POST",
url: 'functions.php',
data:{action:'track', nome:'<?php echo $trackinguser; ?>', titolopagina:'<?php echo $trackingtitle; ?>', pulsante: the_id},
success:function(html) {}
});
};
</script>
theme functions.php
if($_POST['action'] == 'track') {
$linktrackingtitle=$_POST['titolopagina'];
$linktrackinguser=$_POST['nome'];
$linktrackingbutton=$_POST['pulsante'];
do_action( 'wp_log_info', 'Click', $linktrackinguser . ' ha cliccato su ' . $linktrackingbutton . ' in ' . $linktrackingtitle );
}
But it doesn’t work… What’s wrong?
Thank you!