Torsten Landsiedel
Forum Replies Created
-
After more checking it seems to always return “0” which is worse 🙁
Forum: Plugins
In reply to: [Antispam Bee] How to clean exist comment spam ?Hi @3xploiton3
looking at the screenshot you can configure ASB to mark BBCode URLs as spam:
https://antispambee.pluginkollektiv.org/documentation/#bbcode-links-are-spamWithout seeing the rest of your pending comments, I can just recommend doing what @kau-boy was suggesting. Mark as spam and if not enabled, activate the local spam DB feature:
https://antispambee.pluginkollektiv.org/documentation/#look-in-the-local-spam-database72 pending comments is not very much. This manual approach should be sufficient in this case. If there are tens of thousands of spam comments the best way is to do it directly in the database (Backup before!) – but for 72 possible spam comments, just go through it. 🙂
Hope this helps!
All the best
TorstenForum: Plugins
In reply to: [Statify] New blue colour in WordPress 7yes, this is already patched and part of the upcoming version 2:
https://github.com/pluginkollektiv/statify/pull/312All the best
TorstenNo, we just modified the name of the sender from “WordPress” to the clients company name via filter.
Today it happened again. I got one email for each of the 60 sites this user is the admin for. But there weren’t any modifications in the users table (maybe usermeta?). This time I asked the user immediately if she changed the password as I saw no other modification, but she said, she just logged in and edited some pages.
The Ninjascanner has nothing to report in the DB snapshot area.
Any idea what can cause this?
Check if you see anything odd or wrong.
No, nothing unexpected.
Yes, mostly the same time. The first batch of 10 is all 13:11, then 20 at 13:12 and the next hour every minute a batch of at least 2 to 10.
This is a subfolder install, but the sites are using subdomain URLs, maybe this is confusing your plugin?
is it possible that, in your configuration, if a superadmin account was modified on one site, it would me modified on all other sites in the network as well?
No, this is not part of our setup.
Forum: Plugins
In reply to: [Antispam Bee] new-password set as autocomplete attributeHi @ianatkins
this is intentional, as it has a backstory with a Chrome bug, which fills input fields with wrong values. We needed to find a way to stop this and as “autocomplete=off” was ignored by Chrome we ended up with “new-password”.
See:
#280
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete#new-passwordAll the best
TorstenYes, I have 300+ of those files in this folder.
Hi Danny,
will email you! Thanks for the offer 👍
One thing I wasn’t expecting is that the collation of the tables from Koko is
ascii_general_ciinstead ofutf8mb4as all the others tables:View post on imgur.com
I get this:
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment Ignored
wp_wm_koko_analytics_post_stats
0 PRIMARY
1 date
A
2688 NULL NULL BTREE
NO
wp_wm_koko_analytics_post_stats
0 PRIMARY
2 id
A
34944 NULL NULL BTREE
NO
wp_wm_koko_analytics_post_stats
1 path_id
1 path_id
A
2 NULL NULL BTREE
NO
wp_wm_koko_analytics_post_stats
1 path_id_2
1 path_id
A
2 NULL NULL BTREE
NODoes this help you?
You are right, the Posts table in the backend (not database) is empty. I saw referrers and the charts and therefore thought the data is there, but all posts are missing.
After doing the migrations again, I have even more DB failures:
SELECT COUNT(DISTINCT(post_id))
FROM wp_wm_koko_analytics_post_stats
WHERE post_id IS NOT NULL
AND path_id IS NULL
Unknown column 'post_id' in 'SELECT'
KokoAnalytics\Admin\Controller->action_admin_notices()
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_post_stats CHANGE COLUMN id post_id INT UNSIGNED
Duplicate entry '2025-09-23-12061' for key 'PRIMARY'
include(wp-content/plugins/koko-analytics/migrations/007-prepare-post-stats-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_post_stats
ADD COLUMN path_id INT UNSIGNED
Duplicate column name 'path_id'
include(wp-content/plugins/koko-analytics/migrations/007-prepare-post-stats-table.php)
Plugin: koko-analytics
SELECT COUNT(DISTINCT(post_id))
FROM wp_wm_koko_analytics_post_stats
WHERE post_id IS NOT NULL
AND path_id IS NULL
Unknown column 'post_id' in 'SELECT'
include(wp-content/plugins/koko-analytics/migrations/007-prepare-post-stats-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_post_stats
DROP PRIMARY KEY,
ADD PRIMARY KEY(date, path_id)
Duplicate entry '2022-05-01-0' for key 'PRIMARY'
include(wp-content/plugins/koko-analytics/migrations/007-prepare-post-stats-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_post_stats MODIFY COLUMN post_id INT UNSIGNED NOT NULL DEFAULT 0
Unknown column 'post_id' in 'wp_wm_koko_analytics_post_stats'
include(wp-content/plugins/koko-analytics/migrations/010-fix-post-id-column-type.php)
Plugin: koko-analytics
INSERT INTO wp_wm_koko_analytics_post_stats (date, path_id, post_id, visitors, pageviews)
SELECT ps.date, c.canonical_id, MAX(ps.post_id), SUM(ps.visitors), SUM(ps.pageviews)
FROM wp_wm_koko_analytics_post_stats ps
JOIN wp_wm_koko_analytics_paths p
ON ps.path_id = p.id
JOIN (
SELECT LEFT(path, 255) AS prefix, MIN(id) AS canonical_id
FROM wp_wm_koko_analytics_paths
GROUP BY prefix ) c
ON LEFT(p.path, 255) = c.prefix
WHERE ps.path_id != c.canonical_id
GROUP BY ps.date, c.canonical_id
ON DUPLICATE KEY
UPDATE visitors = wp_wm_koko_analytics_post_stats.visitors + VALUES(visitors), pageviews = wp_wm_koko_analytics_post_stats.pageviews + VALUES(pageviews)
Unknown column 'ps.post_id' in 'SELECT'
include(wp-content/plugins/koko-analytics/migrations/013-merge-duplicate-paths.php)
Plugin: koko-analytics
RENAME TABLE wp_wm_koko_analytics_referrer_urls TO wp_wm_koko_analytics_referrer_labels
Table 'd0393d51.wp_wm_koko_analytics_referrer_urls' doesn't exist
include(wp-content/plugins/koko-analytics/migrations/017-rename-referrers-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_referrer_labels CHANGE url value VARCHAR(255) NOT NULL
Unknown column 'url' in 'wp_wm_koko_analytics_referrer_labels'
include(wp-content/plugins/koko-analytics/migrations/017-rename-referrers-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_referrer_stats CHANGE visitors unique_hits INT UNSIGNED NOT NULL DEFAULT 0
Unknown column 'visitors' in 'wp_wm_koko_analytics_referrer_stats'
include(wp-content/plugins/koko-analytics/migrations/017-rename-referrers-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_referrer_stats CHANGE pageviews hits INT UNSIGNED NOT NULL DEFAULT 0
Unknown column 'pageviews' in 'wp_wm_koko_analytics_referrer_stats'
include(wp-content/plugins/koko-analytics/migrations/017-rename-referrers-table.php)
Plugin: koko-analytics
ALTER TABLE wp_wm_koko_analytics_referrer_labels
DROP INDEX url,
ADD UNIQUE INDEX (value)
Can't DROP INDEXurl; check that it exists
include(wp-content/plugins/koko-analytics/migrations/018-recreate-referrers-url-index.php)
Plugin: koko-analytics
SELECT p.path, s.post_id, IFNULL(NULLIF(wp.post_title, ''), p.path) AS label, SUM(visitors) AS visitors, SUM(pageviews) AS pageviews
FROM wp_wm_koko_analytics_post_stats s
JOIN wp_wm_koko_analytics_paths p
ON p.id = s.path_id
LEFT JOIN wp_wm_posts wp
ON wp.ID = s.post_id
WHERE s.date BETWEEN '2026-03-20'
AND '2026-04-17'
GROUP BY p.path, s.post_id
ORDER BY pageviews DESC, visitors DESC, s.path_id ASC
LIMIT 0, 20
Unknown column 's.post_id' in 'SELECT'Do you recall what version of the plugin you were upgrading from?
No, unfortunately not.
Do you have access to your database so that you can see what the database table wp_wm_koko_analytics_post_stats looks like?
Yes, access is there. Table seems to be incorrect as the latest date in from September 2025 down to 2022, although the data in the dashboard shows actual data from 2026.
Hi @bruandet
thanks for the fast reply! The mail looks like this:
NinjaFirewall has detected that one or more administrator accounts were modified in the
database:
Blog: https://abc.example.de/
Date: April 15, 2026 @ 14:45:08 CEST
Total administrators: 1
Admin ID: 8
-user_login: (removed)
-user_nicename: (removed)
-user_email: (removed)
-user_registered: 2025-11-20 14:10:04
-display_name: (removed)
If you cannot see any modifications in the above fields, it is possible that the administrator password was changed.
This notification can be turned off from NinjaFirewall "Event Notifications" page.
NinjaFirewall (WP Edition) - https://nintechnet.com/
If you don't have access to that site any longer, you can remove your email by clicking the following link (valid for 12 hours): (removed)The “Blog:” line mentions the subdomain, but the From address is always the main site, so I would assume it is the main site sending it 300+ times.
Any ideas what can cause this? I’m fine with PHP and can debug if you need more details.
Our setup is a little bit uncommon and complex …
All the best
TorstenForum: Plugins
In reply to: [Antispam Bee] No data in the dashboard widgetHi @cvieito
this is fixed in the new 2.11.10 release. Your browser may have still cached the old broken JavaScript files, so you should delete your browser cache or do a “hard” reload of the dashboard page to see the chart again.
Sorry for the inconvenience!
All the best
Torsten