The debug tag has no wiki summary.
2
votes
0answers
40 views
WP Cron emails not working
Running wp 3.5.1.
I have 2 plugins that work in part. They do everything nice. If I click to send emails, they send the emails. However the scheduled emails are not being sent.
The plugins are:
...
3
votes
1answer
167 views
CPT Template Not Showing - Getting 404
I'm developing a Custom Post Type plugin, which works fine in dev. Now that I've moved it to production, I'm getting a 404 when I try to display the template for the CPT.
So, two questions:
1- Is ...
0
votes
0answers
27 views
WordPress won't display errors at all
I have been having constant issue with WordPress not displaying errors at all and I have no clue what is wrong.
PHP errors display on non-wordpress related pages.
Debugging is turned on.
Display ...
8
votes
1answer
216 views
Does the functions.php file ever get called during an AJAX call? Debug AJAX
Trying to figure out an issue a fellow programmer is having. I was wondering if the functions.php file get called at all when you do admin side AJAX? I know that when you do an AJAX call a part of ...
1
vote
2answers
69 views
Using FirePHP with WordPress
I am trying to make it so that I can output to the console in PHP. I have already installed FireFox with the FireBug and FirePHP addons.
I downloaded the 'FirePHPCore Server Library' from here and I ...
0
votes
0answers
21 views
Comments in Wordpress shoves content out of wrapper on updates
I have a problem with comments in the Wordpress theme I'm building. As of now, I can comment just fine, but whenever I do (press "reply", "edit comment", press the date, really anything that involves ...
0
votes
2answers
28 views
Should all references to a text domain be to my current theme?
I'm running Theme Check on a theme I've inherited and I've come across lots of recommendations like this one:
RECOMMENDED: Text domain problems in loop.php. The twentyten text domain is being used!
...
1
vote
1answer
30 views
Theme Check: Could not find post_class
I've inherited a theme from a another developer that I've re-styled for a client. We're just about finished, but I thought I'd run it through the Theme-Check plug-in to see if there's any errors or ...
0
votes
1answer
31 views
Cannot Modify Header Information - While trying logging in
I am having the same issue as cited on: Cannot modify header information - headers already sent (Theme Specific : functions.php)
Can you give me a help on that.
I am using Optimize Press Theme
This ...
0
votes
0answers
33 views
WP_debug and Krumo [closed]
Using WP_debug to debug a theme and i'm getting strange errors at the bottom of the theme that isn't being triggered by anything in the theme, but the debug plugin it's self. What does that mean? Is ...
0
votes
2answers
79 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 ...
0
votes
1answer
108 views
Debugging an error: wp_enqueue_style was called incorrectly
I've just uploaded a new, custom theme to find that the container is a fraction of the intended width, and the sections below the home section(this is one single page, long site utilizing ids/anchors ...
1
vote
1answer
66 views
Filtering custom taxonomies
This is a cross post from the WordPress forums, which I apologize for, but it has been almost a week and not getting any response there so hoping someone here can help. If I do get a reply in either ...
0
votes
0answers
21 views
debugging in WordPress tapping into the all hook [duplicate]
On Nacin's blog (http://nacin.com/2010/04/23/5-ways-to-debug-wordpress/) there is this section; I quote
The ‘all’ and ‘shutdown’ hooks*
There’s an ‘all’ hook that fires for all actions and ...
2
votes
3answers
131 views
Is it possible to change the log file location for WP_DEBUG_LOG?
I use WP_DEBUG_LOG in my development environment and have no issues with debug.log being in the wp-content directory.
Sometimes I turn on WP_DEBUG in production when I need to debug something, and I ...
0
votes
2answers
154 views
WordPress Ajax Problems
Update
I got it to fire using the following curl command:
curl -H "Accept: application/json" -X POST http://localhost/wordpress/wp-admin/admin-ajax.php -d ...
0
votes
0answers
298 views
New upload/media manager broken since 3.5 [closed]
Prior to the introduction of the new media upload modal box for inserting and uploading media into posts, the tool itself will not display any of the images that have just been uploaded, nor will it ...
2
votes
4answers
118 views
Debug whats going on inside a function called from AJAX
I have a link on my post edit page (admin side) that calls up AJAX and jQuery to run a function inside my functions.php page. The link is wired up and calling the jQuery but I can't seem to debug ...
0
votes
1answer
147 views
How to Debug the 'save_post' Action?
Is it possible to validate PHP code?
I have a Custom Post Type (Film) with Custom Meta Boxes.
Everything is working fine, I can add new Films and details to the Custom Meta Boxes.
My problem is ...
5
votes
2answers
59 views
Is there any debug toolbar that shows whick hooks are called for the current page in Wordpress?
In Django there is a debug toolbar that shows which template files and hooks are called while rendering a page.
Is there any plugin that shows which hooks are called for the current page in ...
1
vote
2answers
171 views
How to use WP-FirePHP extension?
http://wordpress.org/extend/plugins/wp-firephp/
I'm simply supposed to call fb('Error message','Lable') but it doesn't work all the time. I can't figure out when and where the relevant files are ...
4
votes
2answers
347 views
Count & Display Database Queries
I'm looking for an solution how I can count and display all queries in a WordPress site.
Does anybody know, if there is an good plugin?
Otherwise it would be an solution to check the queries on the ...
0
votes
1answer
156 views
Certain aspects of site suddenly not working in Chrome and Firefox
My site has been working perfectly in all browsers, until suddenly 2 days ago. Now in Chrome and Firefox, the main page accordion slider is stuck, the "log in" button is not functional, and a few ...
0
votes
0answers
13 views
Bug on logging in [closed]
my login form is not working, it always keeps loading.
Please try its located at the header http://www.kjrias.com
user:markyeoj
password: IU0M1Q16
put your cursor on top of the form and you will ...
5
votes
3answers
393 views
Define WP_DEBUG conditionally / for admins only / log errors (append query arg for all links?)
I'm developing a site on a server that the client has access to as well and what I'd like to do is show WP_DEBUG only for administrators. Referencing Yoast's article on a way around this:
if ( ...
1
vote
1answer
295 views
Do WP_debug notices explain why my site runs so slow?
When I enable WP_DEBUG, I get lots of the following kinds of notices (see below). Of course, I normally don't have the debugging turned on, but I'm wondering if these are a clue as to why it takes so ...
0
votes
1answer
94 views
How to solve the fopen error?
I recently updated xampp to 1.8 and enabled xdebug. I'm not sure if this is the reason for this error message which I didn't see before:
Warning: fopen(http://api.wordpress.org/plugins/info/1.0/): in ...
2
votes
1answer
91 views
Wordpress visual editor broke due to non standard port?
I recently installed WordPress on my own server, which uses non-port 80 Apache service. I could view posts but the tinymce editor constantly broke. More specifically, all menu items in visual editor ...
0
votes
1answer
655 views
register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead
I turned on my Debugger and got this error...
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in ...
1
vote
0answers
66 views
Debugging unserialize errors
NOTICE: wp-includes/functions.php:232 - unserialize()
I get this error of varying lengths on the admin pages of several of the sub-blogs of my multisite instance. It doesn't happen on all the blogs, ...
0
votes
1answer
148 views
Add body class based on existance of post thumbnail. Code works but receiving PHP Notice
What I'm trying to do is add a body class based on whether there is a post thumbnail. The following works, but I get a PHP Notice. How can I fix the PHP Notice below?
function ...
-1
votes
1answer
32 views
$wpdb method creates unknown error [closed]
I have the debug.log message which I feel puzzled. It goes like this:
[19-Jul-2012 16:58:55] PHP Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /my_path/create_post.php on line ...
1
vote
2answers
160 views
How to debug a unit test for a WordPress plugin, which uses wordpress-test?
I'm attempting to debug a unit test for a WordPress plugin. The unit test uses wordpress-test (and PHPUnit). However, wordpress-test:
calls system(php ...)
the new external PHP process attempts to ...
0
votes
1answer
86 views
Different sql queries count indicator on the main page
I use w3_total_cache plugin. But i can`t understand what is going on sometimes. I have enabled database caching and debug info at the bottom. Sometimes on the main page 90-96 db queries, sometimes ...
0
votes
1answer
35 views
Strange Behavior of Page Template Dropdown
My wordpress is updated to latest version 3.4.1 and I noticed a strange function of it - in the Page attributes block page template dropdown has the value:
...
6
votes
2answers
179 views
Debugging WordPress themes with Xdebug, real time html output
Hi I'm using XDEBUG to debug my WordPress code, is it possible to view the page building up in the browser while debugging? At the moment the page just hangs until the debugging process is finished ...
2
votes
1answer
393 views
WP 3.4 has missing photo data
I just updated to WP3.4 and discovered that previously available images are no longer "found" by the system. By this I mean that all the image files remain online and accessible, but WP has lost ...
0
votes
1answer
178 views
How can I understand what is the cause of WP death (white screen)?
I have some problems on a admin side:
when i try to filter posts according to any category, or when I publish a post, I see a white screen of WP death...
The content of debug.log is:
[17-Jun-2012 ...
0
votes
1answer
78 views
Getting a WordPress Debug Strategy
I have been reading up on debugging. I watched Chip Bennett's video on wordpress.tv and was inspired to take debugging seriously. What I have found in my reading up though has confused me a bit. I ...
0
votes
2answers
201 views
debugging errors.. how to remedy?
I had trouble accessing wp-login.php, so I changed the name of the theme I'm developing to force WP to switch to default. I then turned on debugging and received the errors below. I'm a little puzzled ...
5
votes
1answer
366 views
Weird behaviour when adding terms/term_taxonomies programmatically
This certainly looks like a bug to me.
I put together the following code for you to test it on a fresh install.
Basically, the code will add two sub categories under the "uncategorized" to achieve ...
1
vote
1answer
47 views
debugging wordpress
I noticed that when I'm working on a php page that loads wp programmatically, some of my errors are not fired. For example, a variables that has not initialized previously creates a warning when I ...
0
votes
1answer
122 views
Notice: attribute_escape is deprecated
I have WP_DEBUG set to ON to show errors and notices. Of all notices the one that is bothering me is Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in ...
0
votes
0answers
94 views
Debugging a WPCron function
I'm trying to run a WP cron job which, every hour, checks for recently created/updated posts and runs a filter on them.
if ( $post->post_type == "species" ) {
$meta = get_post_custom( ...
0
votes
2answers
156 views
White screen on front page only
I've got the famous white screen, but only on my home page. Deeper pages load just fine. I moved my themes directory to themes-old and made a new themes directory that only has twentyten in it. I ...
1
vote
1answer
543 views
How to var_dump nav menu items from anywhere?
I wanna preview all the fields that the nav menu $item array holds. Is there a function to fetch it from anywhere and place it inside var_dump?
0
votes
1answer
69 views
How to disable JS? info windows from WP-FirePHP
I'm using current ver of WP and WP-FirePHP.
When I load the WP dashboard, firebug's Console window shows the FirePHP data. That's all good.
As expected, the main browser window shows the WP ...
0
votes
2answers
199 views
Wordpress: Notice:Object of class WP_Query could not be converted to int in on line
I am facing issue in debug mode with wordpress. In my featured slider getting error
Notice: Object of class WP_Query could not be converted to int in on line
I am using below code for my slider
...
0
votes
3answers
2k views
Unhook jQuery from WooCommerce via `functions.php`?
So I am using the http://woothemes.com/woocommerce/ plugin for eCommerce and it's registering jQuery local and conflicting with my default jQuery call from Google CDN.
It took a long time but I ...
1
vote
1answer
486 views
How can I see all the actions attached to an “add_action” hook?
I'm working with the admin bar and trying to debug some of the menus and their priorities.
I know several callbacks get bound to actions, such as this one:
add_action( 'admin_bar_menu', ...