Debug: simple test page

This commit is contained in:
2026-01-22 00:05:06 +01:00
parent 89c5a40f56
commit a73b7cc550

View File

@@ -301,14 +301,7 @@ class AnalyticsController
*/
public function renderStatisticsPage(): void
{
try {
$stats = $this->licenseManager->getStatistics();
$this->renderStatisticsPageFallback($stats);
} catch (\Throwable $e) {
echo '<div class="wrap"><h1>License Statistics - Error</h1>';
echo '<div class="notice notice-error"><p><strong>Error:</strong> ' . esc_html($e->getMessage()) . '</p>';
echo '<p><strong>File:</strong> ' . esc_html($e->getFile()) . ':' . esc_html($e->getLine()) . '</p></div></div>';
}
echo '<div class="wrap"><h1>License Statistics - DEBUG TEST</h1><p>If you see this, the callback is working.</p></div>';
}
/**