Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
15 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
10 views

Pinterest: pin not found [on hold]

I need some help to start debug an error on a Wordpress site: christianbari.16mb.com If I try to pin (pinterest) a post clicking on the pinterest icon (sharehoaolic plug-in at the moment, but it ...
-2
votes
0answers
18 views

Can't access the (admin role) profile page in wp-admin backend

I have been working on creating a WordPress website. I installed a plugin and when I activated it suddenly my website went down. I brought it back up and I am able to log in to it but I am unable to ...
0
votes
0answers
24 views

Admin buttons, tags, custom fields won't work [closed]

Starting today, without me changing or installing anything, nothing seems to work properly in admin area. When I try to add tags, nothing happens. When I try to add a custom field, it refreshes the ...
-1
votes
0answers
29 views

How can I debug a Wordpress site that uses sessions? [closed]

I am to debug a Wordpress site where some php session handling does not work. I was advised to use https://wordpress.org/plugins/what-the-file/ and https://wordpress.org/plugins/debug-bar/ to ...
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 ...
0
votes
1answer
15 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
39 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 ...
0
votes
1answer
36 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
28 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
44 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 ...
0
votes
1answer
26 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
30 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
29 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
60 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
45 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
52 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, ...
1
vote
0answers
57 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__) )) ...
3
votes
1answer
85 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 ...
1
vote
0answers
131 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
70 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
19 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
95 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
125 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
51 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
1answer
486 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 ...
0
votes
0answers
59 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
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
4answers
109 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
1answer
145 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 ...
0
votes
1answer
58 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
24 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
1answer
62 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 ...
0
votes
2answers
348 views

Why does WP_DEBUG only work after wp_debug_mode() is called? [closed]

With debugging set to on, define('WP_DEBUG', true); my instance of WordPress doesn't show any debugging info. After a lot of searching I figured that after I call wp_debug_mode() debug info shows ...
0
votes
0answers
20 views

Queries gone haywire since update to 3.8.1 [duplicate]

I have a WordPress install on a dedicated server with decent memory (upwards of 8GB) Since upgrading to 3.8, I started getting mysql disconnects/timeouts, better known as MySQL server has gone ...
1
vote
1answer
155 views

if(!is_user_logged_in()) returns true when 404

I'm running a closed website for registered users only. For doing so I check in if user is logged in // no non-authenticated users allowed if( !is_user_logged_in() ) { ...
0
votes
1answer
74 views

The plugin generated xx characters of unexpected output. How to solve?

I get the following message when I activate the plugin `The plugin generated 655 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with ...
0
votes
1answer
75 views

Debug output during filter execution doesn't work

I'm working on my first Wordpress plugin and am working on my first Custom Post Type. I'm looking to provide some debug output so I can see what kind of data I have to work with. I have the following ...
0
votes
1answer
144 views

Notice: Undefined index [closed]

Got this great contact us page to use on in my theme. It works great, but the problem is, in debug mode I get undefined index errors on the following line of code: $name = $_POST['name']; ...
1
vote
1answer
169 views

how to find and correct plugin query performance issues

I have recently uploaded a new site I've been working on for a while - which is working and performing very well on the localhost - there is no notable sluggishness to the load-times. Once uploaded ...
1
vote
2answers
92 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
1answer
731 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 ( ...
0
votes
0answers
97 views

Console shows ReferenceError: jQuery is not defined, no clue why!

I just installed FirePHP to help with debugging in WP, but for some reason all it shows is ReferenceError: jQuery is not defined. I have some jquery stuff on the page that seems to be working just ...
0
votes
1answer
170 views

add_sub_menu page() to be replaced by add_theme_page()

While checking my theme with theme-check plugin, i found few errors which are listed below along with the line of codes where it displays those errors(REQUIRED:) to be fixed. REQUIRED: ...
0
votes
2answers
32 views

Debug Performance Issues

I've had a WordPress blog I've hosted on Dream Host for several years now. Recently (the past year) my site is going down often. Via Dream Host I found that I'm using up my CPU limit and they are ...
0
votes
1answer
93 views

TGM plugin error in Theme Check Plugin

Errors generated by theme-check plugin and with the code REQUIRED: plugin-activation.php. Themes should use add_theme_page() for adding admin pages. Line 335: add_submenu_page( add_submenu_page( ...
0
votes
2answers
19 views

How do you get the docroot directory?

I'm trying to include a file in the docroot when I'm in the admin area. (Yes, I know this is bad form: I'm only doing it for debugging purposes.) How do I get the fully qualified docroot directory?
1
vote
0answers
224 views

Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work

I've got the proper debugging constants defined in wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', true); define('WP_DEBUG_LOG', true); But they're not doing a darn thing. When ...
0
votes
2answers
61 views

Some ways to debug code

I have a BuddyPress installation with many custom code. I had everything ready for production until I moved my database to shared hosting. The problem is that in strange ocasions, all the activities ...