The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
22 views

Following/tracing page construction through theme PHP

What tools and methods will allow me to figure out how a page is being constructed by WP? I have a mix of plugins that are involved in the theme, and starting with the code I can't begin to figure ...
0
votes
0answers
18 views

How to find which plugin crashes

I use wordpress version 3.8.3 and as many times as i tried to update wp the site crashes. Probably it's due to plugins. Am trying to find a way to learn which plugin causes this confliction but i ...
-2
votes
1answer
215 views

How to quickly/easily make an analysis (reverse engineering) of Wordpress?

For me Wordpress is totally unknown. I would like to know what tools and techniques do you use to analyze unknown code of Wordpress. If more specifically that for the following tasks: 1. To locate ...
0
votes
1answer
706 views

Failing to open advanced-cache.php which is breaking Media Library

On my WordPress install, which is 3.8 and has all plugins updated, it is using Magic Fields 2 and Hypercache amongst other plugins. I can't insert images into posts because when I upload, it gives me ...
1
vote
1answer
2k 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 ...
0
votes
2answers
37 views

How to see list of plugins

Is there any tool out there for seeing a list of all the loaded plugins and how much time they took to load? Looking to analyze plugins effect on my site's performance.
3
votes
2answers
109 views

Get list of scripts / styles and show file which enqueued them

I want to show what scripts and styles have loaded on a page and which plugin / theme / file has added them to the page. We can show all scripts and styles using: <?php global $wp_scripts, ...
0
votes
3answers
650 views

Not sure how to debug: Send specific users an email when posts are published

I've got the following code, which is supposed to run when a new post is published for the first time, check if a custom field 'specific_users' has data (this uses Advanced Custom Fields), and if so, ...
0
votes
1answer
14 views

How can I turn off WP_DEBUG_LOG messages coming from a specific plugin or theme?

This is a seemingly simple question... I was wondering if anyone knows how to turn off WP_DEBUG_LOG messages coming from a specific plugin or theme? This assumes define('WP_DEBUG_LOG', true); in ...
0
votes
1answer
26 views

Debugging WordPress

Looking for advice on debugging sql queries. I find that plugins and themes are causing heavy queries and slowing performance. Any easy ways for doing this? Tools? Shortcuts? Thanks! Daniel
2
votes
5answers
771 views

How to debug WordPress correctly?

I'm using a few plugins and UpThemes framework on my new website and if I turn on Wp Debug I can see that there are a few errors related to Deprecated functions (but website is working). What I would ...
0
votes
1answer
59 views

mysqli_real_connect() - authentication method unknown to the client Warnings

I keep getting the following warnings in my debug log: PHP Warning: mysqli_real_connect(): The server requested authentication method unknown to the client [mysql_old_password] in ...
0
votes
1answer
26 views

Blank sign in page

I have a serious problem with my wordpress site. When I try to enter into my wp-admin page, I get blank page. I tried every solution possible including: deactivate plugins, update to higher wordpress ...
0
votes
0answers
16 views

Unable to find BP_Group_Extention

When I try to extend Buddypress' groups, I get false from the function-call class_exists( 'BP_Group_Extension' ). The function is called during my plugin initiation, and I am able to do other ...
1
vote
2answers
236 views

Debugging - trying to add search box to menus

I have already asked a similar question at stackoverflow (http://stackoverflow.com/questions/22492292/add-filter-in-wordpress-how-do-i-know-if-it-is-run), but maybe that was the wrong place? As you ...
2
votes
0answers
82 views

How to set up plugin project with XDebug remote debugging in PhpStorm

I am looking for a detailed setup instructions for a plugin project in PhpStorm with full comfort like quick deployment to a testing site, debugging etc. I'm going to start with how our current ...
0
votes
0answers
19 views

Debugging Missing Elements in Taxonomy

I'm trying to debug an issue and I was hoping I could get some direction. With the same exact taxonomy page template, one of the pages is missing the sidebar and the WP admin bar (logged in), while ...
1
vote
0answers
82 views

Undefined index error when saving content on metabox

I am trying to debug 'undefined index' errors on the WP backend when debug is set to TRUE. The offending lines are: if ( !wp_verify_nonce( $_POST['pdwt_meta_noncename'], plugin_basename(__FILE__) )) ...
0
votes
1answer
20 views

Theme parts path location dump

Few months back I was working on customizing theme that I was assigned to. I remember that I used some function or define something in the config or theme functions file and than it displayed debug ...
0
votes
0answers
59 views

Preview with Custom Post Type Not Working

At this point I have tried everything I know to fix the issue. Issue: preview only works right after a custom posts is loaded or updated. If you make any changes or hit preview twice without updating ...
3
votes
3answers
850 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 ...
0
votes
1answer
44 views

loging to Admin page not working at all

I'm trying to log-in to the admin page of my website without any luck, only i got white page, hers what i did to identify the problem: I have enabled the Debugging in wp-config.php // Enable ...
1
vote
0answers
46 views

Get log of function/method calls made by do_action() on WordPress initialization

Is there any way I can get a log of the method calls that are made when do_action( 'init') is fired?
0
votes
1answer
51 views

How do I set up Debugging?

In my wp-config.php, I have: // Enable WP_DEBUG mode define('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define('WP_DEBUG_LOG', true); // Disable display of errors ...
1
vote
1answer
822 views

Updated to version 3.8 and Admin pages are very slow. How to diagnose problem? [closed]

I manage a large multi site Wordpress installation with about 300 hundred users and blogs. The server is blocked from making internet requests, so I have defined a proxy service in wp-config.php ( ...
1
vote
1answer
49 views

Dumping variable in custom pre_gets_post function in functions.php, returns NULL

Problem Summary: I am using firePHP to analyze my variables in a custom function, but it does not display their contents into the console as I would expect. I also used var_dump(), it returns NULL. ...
0
votes
1answer
36 views

Disable Debug Log Programmatically

I'm trying to disable WP_DEBUG_LOG if and only if debug.log exists. I'd like to hook into wp_footer and test if the file exists and if so disable my debug log. All I've found though is that ...
0
votes
1answer
35 views

Changes to WordPress database using phpMyAdmin not reflected on blog

I am updating my database using the phpMyAdmin UI and the changes are not reflected on the WordPress blog. The reason for doing this is when some changes were made recently to the blog the site hanged ...
1
vote
1answer
75 views

Where's The Best Place to use Register_Shutdown_Function()?

I want to use Register Shutdown Function to track Fatal Errors, my question is, where's the best place to call this so it hits both WordPress, Plugin, and Theme Fatal Errors?
0
votes
0answers
47 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...
0
votes
1answer
53 views

How do I debug an error that a plugin is causing?

I'm having an issue debugging why the plugin I'm creating keeps displaying the error You need to upgrade your database as soon as possible.... The work I've done so far has been on a remote dev site, ...
10
votes
3answers
2k 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
3answers
5k views

Unhook jQuery from WooCommerce via `functions.php`? [closed]

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
0answers
210 views

Wordress debug log is not working

I have tried all recommendations from here but none solves my issue. I have a couple of wordpress installations on a local machine running Win 7 and wamp 2.4 and none of them writes in the debug.log ...
0
votes
1answer
86 views

Undefined variable error in theme option after updating theme [closed]

I have built a theme.. Now i have updated the theme and my theme consist of two new fields in the theme option panel <input id="welcome_post_char" type="text" name="abc_options[welcome_post_char]" ...
-1
votes
1answer
20 views

debug notice on my WordPress site [closed]

How can i see notice and warning on WordPress site. Like Notice: undefined variable on line 29. my client have point out these Notice while i am unable to see these notice any help please
0
votes
1answer
123 views

Accessing Variables Used In a Plugin Using PHPStorm + XDebug

I'm currently attempting to use XDebug 2.2.1 and PHPStorm 7.1 to debug my WordPress plugin. So far, I've successfully installed XDebug and breakpoints are working fine. However, I'm unable to access ...
0
votes
2answers
180 views

How can I determine what php files are being called by a given WP page?

I'd like to debug some WordPress functionality, but to do so I need to know where to find the php file that is executing on a given page. How can I set up something that will tell me what php files ...
1
vote
2answers
59 views

Dump contents of a variable inside a filter/hook callback that runs during save post

I just need to debug an array which comes into addfilter function like this: add_filter('pll_copy_post_metas', 'copy_post_metas'); function copy_post_metas($metas) { var_dump($metas); return ...
0
votes
0answers
65 views

How can I get a traceback on function calls?

I've been trying to make a search page, but I keep getting redirected back to the main site. I can't find anything useful in the log about why this might be happening. Is there a way I can enable some ...
0
votes
4answers
153 views

Finding and disabling 'rogue' stylesheet from header: Source Sans Pro

I just recently set up a local WordPress development environment and imported the content from the live site into it using WordPress' built-in export and import functionality. Unfortunately, this ...
1
vote
2answers
117 views

Debug errors on sidebar

I'm uising a child theme of twentyfourteen on wordpress 3.8. When in debug mode, I get the following errors regarding a widget. Notice: Trying to get property of non-object in ...
1
vote
2answers
196 views

Getting notices on fresh 3.6.1 install

I'm a relative newcomer to WP. I've been playing around for the past 3 months or so trying out themes, plugins etc. About a month ago I got to the point where I turned debug on and I started seeing ...
0
votes
1answer
3k 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 ...
0
votes
0answers
54 views

Strange behaviour using 3.8.1

I have upgraded some of my blogs into 3.8.1 and I am experiencing a strange behaviour. I have created in the past two types of themes that use mostly the same mechanism, assigning page templates. The ...
0
votes
1answer
66 views

Fatal error after changes to functions.php, even with original file

Getting Fatal Error: Cannot redeclare theme_feature_setup() message after code changing in the functions.php file. I've tried deleting functions.php file and uploading the previous version but I still ...
0
votes
0answers
34 views

WP Debug set to true but still wsod

I'm trying to do my first wordpress plugin, and I've added this on my wp-config.php define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); but i still have ...
0
votes
1answer
27 views

What tool are available in the wordpress API for debugging a plugin?

I am very new to plugin development. I have created my first plugin but when I activated it, it caused the majority of every page on the site to stop being generated. I have echoed something from ...
1
vote
3answers
929 views

Why is admin ajax reloading my page

As far as I know I haven't used Ajax anywhere in my code. Yet, while debugging, I have breakpoints being hit with 'admin-ajax.php' at the root of the call stack. This second hit of my breakpoint ...
1
vote
1answer
70 views

Always keep a parameter in URL?

Is there any way that WordPress always keeps a custom parameter in every link it generates? Here's what I want to do. I want to create a debug mode by entering ?debug as a URL parameter; and display ...