Turn on define( 'WP_DEBUG', true );
and define( 'SAVEQUERIES', true );
.
I prefer the format of the debug bar, http://wordpress.org/extend/plugins/debug-bar/ , which can be combined with the console, http://wordpress.org/extend/plugins/debug-bar-console/ .
This script is great for profiling, Best Collection of Code for your functions.php file
There are some other plugins that might help, like Debug Queries, but you probably going to have to use a debugger like xdebug to get more fine grained details.
Related Posts:
- Does the debug.log do log rotation?
- Same log message keeps on printing to debug.log file thousand of times
- How to fix the admin menu margin-top bug in WordPress 5.5?
- error_log() output for print_r() appearing on page
- Transaction when using WP functions rather than vanilla SQL?
- $wpdb->get_results(…) returns empty array despite correct query
- How to get the list of WooCommerce product image of a certain category from database?
- How to make WordPress plugin check for database changes and then do something?
- Debugging an error: wp_enqueue_style was called incorrectly
- Alter query on edit.php
- How to auto login user again after change user_login
- How to display multiple Post meta_key/meta_values by SQL query
- How to Join two tables from separate databases within WordPress
- count number of user comments with a specific comment meta value
- Where exactly do I write define( ‘WP_DEBUG’, true ) in wp-config file
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- Utilize WP-CLI from inside WordPress, not SSH
- error_log is not working as expected in functions.php file
- WPDB: how to get the value of a field in a custom database table
- Database “Migration” for Plugins?
- Using FirePHP with WordPress
- Debugging PHP object during Ajax call in WordPress
- my function doesn’t return my post from today
- “Notice: Undefined variable: content” is showing [closed]
- Enhanced WordPress Search
- Automatically generate Post/Page from searched Database item?
- List of posts by day of the week
- register_activation_hook isn’t adding table to DB
- mysqli_real_connect() – authentication method unknown to the client Warnings
- How to display posts of specific category using a custom Query in WordPress?
- How to debug php code in hostgator cPanel
- how to trace notice warning on core function is_page() & is_singular in class-wp-query.php
- What SQL / WordPress queries would need a nonce?
- Renaming post IDs – Okay to do?
- How to generate page content from database the right way?
- phpMyAdmin displays error when importing database
- Huge debug.log because of “undefined offset in media.php”
- Get Current User Id Inside a Loop Returns 0 For a Shortcode
- Get stock by custom meta field on all Woocommerce variable products
- Transferring working local PHP site to wordpress – with database (MySQL)
- how to delete 30 day old data using PHP [closed]
- Display fields as values in array from external SQL DB
- How to find error in my code when the error message is pointing to WP core file?
- Importing Geo data into wordpress database
- Detect session/cookie variable in wordpress to prevent access to documents
- Querying wpdb using PHP
- Mute Debug Messages from Plugins
- WP_Query adds “(wp_posts.ID = ‘0’)” so no results are returned
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- How to debug my custom login form looping intermittently
- Archive post by meta value + 24hours
- Genesis framework comments broken?
- $wpdb->insert() does not Insert record in a table
- Databases – Submitting data from inputs to database [closed]
- “Undefined index” error when saving empty array with checkboxes
- I restricted wordpress by logged users. It’s possible exclude a page?
- Site throws 500 error after upgrading from PHP 5.6 to 7.X
- Is it best to avoid using $wpdb for security issues?
- dynamic page using php from sql database
- Use $wpdb or other PHP script method to find/replace in WP database
- How to Update post_modified of all wordpress post
- Correct PHP to output a single result of a Function with SQL Query
- How can I add a new row in a separate database when someone registers via WordPress?
- How to display SQL query that ran in WC_Order_Query?
- How can I find the cause of a 500 server error?
- PHP -> SQL Query with Summing
- Lost in trying to create user database system
- Pull MySQL data from multiple tables and merge into 1 PHP array
- Hooks for post saving make a post-new.php to load latest post’s data
- Filter results from a serialized string to use on statistics
- wordpress site – using custom database and PHP
- Searching Posts Programmatically in a WordPress Plugin
- add button to specific post
- Use variable in SQL statement
- Why my query does not run with prepare
- wpdb getting avatars and author url
- mySQL queries are executed twice on wordpress website
- making php value numeric
- Using color schemes with Color Picker
- WordPress SQL JOIN query
- Fetching review value using wpdb class
- Remove password protection from all posts
- quotes problem in very simple sql
- wordpress sql posts query won’t display the latest post in a specific category
- Display latest post from WordPress Featured Category that is also in X,Y,or Z categories
- WP_Query: How to get results from both meta_key options?
- Publish button now showing content after saving
- get_terms with specific id order
- Database SQL query error
- get different meta-data of a complicated query at the same time
- WordPress SQL Prepare
- Build A Custom SQL Query for WordPress Search
- How to run complex query using PHP
- Storing huge number of users in wordpress
- add role on WordPress in PHP on a second database
- Trying to create a shortcode to display categories with a specific product tag
- Fetch Data from an external MSSQL Database in a Managed WP hosting
- Run a sql (update) after 12 hours after the user login. Woocommerce users
- Creating multiple tables with Plugin
- var_dump() and print_r() display null in php