The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
14 views

Logging Count of Those Who Read Whole Post (ie reach the bottom)

I want to log when a visitor to a post reads to the bottom. I figure the code would work similar to an infinite scroll (measuring window and the location of an element in that window) but I don't know ...
1
vote
0answers
18 views

Custom and browser agent logging in wordpress

I wanted to log browser agent, screen size, timezone (including current system time). This is my first go at any web server (wordpress is my first install). I wanted to do this without plugins by ...
2
votes
1answer
34 views

Log of Heartbeat Calls

I've read that Heartbeat can slow a WP site down and I'm assuming if our admins/store managers have a lot of admin windows/tabs open, this will exacerbate the issue. If yes, is there a condition to ...
0
votes
3answers
51 views

How to dump/log default values that are passed to hooks/filter functions?

Here's a quick example of I am trying to achieve: I am using this filter: add_filter('manage_edit-member_columns', 'set_custom_edit_member_columns'); function ...
0
votes
1answer
239 views

Php warning /wp-includes/capabilities.php on line 672 [WP 4.1] [closed]

I have trouble finding the cause of a PHP warning on a website I maintain: [08-Feb-2015 10:16:46 UTC] PHP Warning: Creating default object from empty value in [...]/wp-includes/capabilities.php on ...
0
votes
2answers
123 views

I restricted wordpress by logged users. It's possible exclude a page?

Here is my code for restrict my wordpress site: function restrict_access_if_logged_out(){ if (!is_user_logged_in() && !is_home()){ $redirect = home_url() . '/wp-login.php?redirect_to=' ...
0
votes
1answer
36 views

search does not yield access restricted results

If the user is logged out and tries to search something, he is redirected to the login page. How is it possible to have the search always show all of the results (including the excerpts and the ...
0
votes
1answer
95 views

How to hook into action/filter call

I'm about to create a very simple logging plugin. Every time an action or filter is fired I need to log it to the file. The idea is that we will be able to see exactly which actions and filters are ...
1
vote
0answers
391 views

wp_set_current_user (remote logging) doesnt work on server

I am figting with one interesting problem. I am logging in user with authorization on remote server. The problem is that it is working fine on a localhost but not on a server. Here is code I am ...
2
votes
1answer
2k views

Control verbosity level of WP DEBUG?

I've been at a loss so far and so I thought I'd pose the question: Is there a way to modify the verbosity level of the WP debug.log via wp-config.php or elsewhere? Just an fyi, here is what I have in ...
0
votes
1answer
773 views

$wpdb->insert Database Error Duplicate Entry Error Logging

Is there an equivalent to INSERT IGNORE in the wpdb class? As I'm fetching and inserting a twitter feed and the field in which I store the tweet ID is keyed UNIQUE, I am aware that duplicates are ...
0
votes
2answers
119 views

Wordpress + Buddpyress - troubleshooting server overloading

I have a Wordpress+Buddypress installation which is regularly going down - the number of HTTPD on the server and the server CPU load both peak suddenly and the server fails to recover. A restart of ...
3
votes
1answer
634 views

Using separate Apache log files for multisite

A while back I left Blogger and downloaded my blogs to my system. I hosted them there with each individual blog as a VirtualHost for a while. Later, I imported them into WordPress and am hosting them ...
1
vote
1answer
986 views

Preferred Method of debugging a wordpress SQL calls?

What is your preferred method of debugging Wordpress Applications when writing custom behind-the-scenes SQL calls, etc. ? Coming from a Rails background, I usually tail a log file that displays not ...
0
votes
2answers
82 views

Log Author Actions

Is there a place where actions like post creation/deletion, page creation/deletion, modification, etc. is saved? Is this stored in the Apache logs? If this is not saved, is there a way (plugin?) to ...
2
votes
1answer
538 views

PHP logging framework to be used with WordPress

There are different PHP logging frameworks out there e.g. Log4php, KLogger. I want to choose one based on its experience with WordPress. Please suggest me one.
0
votes
2answers
2k views

How do I show a different homepage to logged in and non-logged in users?

Basically, I want to show non-logged in users a page that says 'register or log in.' But I want to show logged in users a standard homepage will all my posts.
4
votes
4answers
201 views

Core framework/helpers for logging stuff?

I'm writing two plugins at the moment which need to (optionally) log stuff...lots of stuff...somewhere. Since i don't like the 'you need to have proper permissions in this and that folder' messages of ...
5
votes
4answers
1k views

What is the best way to monitor PHP functions/executions?

I am trying to find the best way to monitor which PHP code/functions, MySQL requests and/or plugins are slowing down pages on a site. I know there are a bunch of different options out there including ...
5
votes
3answers
905 views

How do I log plugin (cron) actions?

Is there a recommended way to log (failed) cron actions from your plugin? For example, I have a plugin that synchronizes with an external service every hour. I want to log how much was changed, but ...