admin管理员组

文章数量:1424893

Has anyone else had any issues with their error log adding a line that just says add_view every few seconds?

e.g.

[03-Jun-2019 15:25:11 UTC] add_view
[03-Jun-2019 15:25:14 UTC] add_view
[03-Jun-2019 15:25:14 UTC] add_view
[03-Jun-2019 15:25:18 UTC] add_view
[03-Jun-2019 15:25:19 UTC] add_view
[03-Jun-2019 15:25:19 UTC] add_view
[03-Jun-2019 15:25:28 UTC] add_view
[03-Jun-2019 15:25:29 UTC] add_view
[03-Jun-2019 15:25:33 UTC] add_view
[03-Jun-2019 15:25:38 UTC] add_view
[03-Jun-2019 15:25:39 UTC] add_view
[03-Jun-2019 15:25:39 UTC] add_view
[03-Jun-2019 15:25:43 UTC] add_view

I can't work out what is causing the issue

Has anyone else had any issues with their error log adding a line that just says add_view every few seconds?

e.g.

[03-Jun-2019 15:25:11 UTC] add_view
[03-Jun-2019 15:25:14 UTC] add_view
[03-Jun-2019 15:25:14 UTC] add_view
[03-Jun-2019 15:25:18 UTC] add_view
[03-Jun-2019 15:25:19 UTC] add_view
[03-Jun-2019 15:25:19 UTC] add_view
[03-Jun-2019 15:25:28 UTC] add_view
[03-Jun-2019 15:25:29 UTC] add_view
[03-Jun-2019 15:25:33 UTC] add_view
[03-Jun-2019 15:25:38 UTC] add_view
[03-Jun-2019 15:25:39 UTC] add_view
[03-Jun-2019 15:25:39 UTC] add_view
[03-Jun-2019 15:25:43 UTC] add_view

I can't work out what is causing the issue

Share Improve this question asked Jun 3, 2019 at 15:34 Vince PVince P 5791 gold badge5 silver badges22 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I'm not sure where this would be coming from, but it's likely a plugin or some custom code is doing this. You could try to track this down using grep on the command line:

cd /path/to/wp-content/
grep error_log -rn --include \*.php . | grep add_view

This should hopefully list any PHP files that have a line matching error_log and add_view.

本文标签: error log bloated by addview