After days of struggle to enable debugging, I switched to MAMP free version which was a cakewalk.
For Step by step guide please follow this blog by Josh Buchea. Has a detailed walkthrough.
Hope this helps someone stuck on Mac with Xampp-VM like i did. Switch to MAMP free version. Happy coding WordPress PHP
Related Posts:
- error_log is not working as expected in functions.php file
- Same log message keeps on printing to debug.log file thousand of times
- “Undefined index” error when saving empty array with checkboxes
- How to display only specific Error types in debug.log? No notices, warnings, etc
- Notice: Undefined index: post_title error
- How to fix the admin menu margin-top bug in WordPress 5.5?
- error_log() output for print_r() appearing on page
- WordPress Warning: preg_replace(): JIT compilation failed: no more memory
- Hide php Notices in Dashboard
- PHP function showing wrong time in WordPress
- Does the debug.log do log rotation?
- Debugging an error: wp_enqueue_style was called incorrectly
- Where exactly do I write define( ‘WP_DEBUG’, true ) in wp-config file
- Utilize WP-CLI from inside WordPress, not SSH
- Using FirePHP with WordPress
- Debugging PHP object during Ajax call in WordPress
- “Notice: Undefined variable: content” is showing [closed]
- mysqli_real_connect() – authentication method unknown to the client Warnings
- 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
- Preferred Method of debugging a wordpress SQL calls?
- Huge debug.log because of “undefined offset in media.php”
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- How to find error in my code when the error message is pointing to WP core file?
- Mute Debug Messages from Plugins
- How to debug my custom login form looping intermittently
- Site throws 500 error after upgrading from PHP 5.6 to 7.X
- Getting a WordPress Debug Strategy
- How to display SQL query that ran in WC_Order_Query?
- How can I find the cause of a 500 server error?
- Fatal error: Uncaught Error: Call to undefined function get_header() [closed]
- Hooks for post saving make a post-new.php to load latest post’s data
- add button to specific post
- I installed WordPress locally now how do I login?
- How to prevent a function from running based on host (ie web vs local)?
- Publish button now showing content after saving
- Trying to copy linux blog locally with XAMPP – php fatal error
- call to undefined function mysql_connect
- var_dump() and print_r() display null in php
- File is executed twice if plugin is activating
- Fatal error: wp-settings.php on line 199
- How to identify which php file a plugin is using on page load?
- Unexpected behavior when trying to manually install WordPress on macOS Sierra
- Notice : Array to string conversion on array_intersect user meta
- (Xdebug Profiler) Why are there two cachegrind files generated for one page?
- Stripe button is not working in a template page
- I’m writing my first plugin and my echo output is showing up on every page of my wordpress installation
- How to find the function which is outputting Array
- Accessing Variables Used In a Plugin Using PHPStorm + XDebug
- WordPress won’t display errors at all
- Warning: Cannot modify header information (with a twist)
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- which php or css file has generated an inline style in WordPress that overwrites my css
- WordPress White Screen Error
- Internal server error when enabling Multisite in WordPress
- How can I fetch loop of post titles via AJAX?
- How to exclude pages from the search results
- How can I limit the length of the previous/next posts in my WordPress Theme?
- how to put the logo in the center of other items in the navigation bar
- Using PHP to toggle stylesheet and header image, set in cookie
- Crop image from get_theme_mod Customizer field
- Putting PHP variables into javascript [duplicate]
- Insert a button on a page with random number generation
- Change the site tagline (or similar) based on current page
- hover image appears below placeholder instead of overlayed
- Pass variable from one function to another
- Issues getting PHP to display in category pages
- Add to cart function not working for first product when cart is empty [closed]
- Get the date of the className or classID
- Add class to group inner container
- Databases – Submitting data from inputs to database [closed]
- Resize image to specific dimension (X to Y ratio)
- How to keep track of when a vote is cast?
- AJAX wp_insert_user WORKS but responds with “The site is not enabled”
- Redirection after submitting duplicate comment
- blank white page when post/update/change option etc
- WordPress PHP syntax doesn’t seem to be working correctly
- Where should I copy a PHP file from wp-includes to, in order to override it in my child theme?
- How to edit wordpress pages through cpanel? [closed]
- Is it possible to restrict files from your wordpress uploads (not logged-in users or guest)?
- Adding attribute to the post.php form tag in wp-admin
- limit number of post for achive page
- How to get movies by date
- Is there way to toggle the publish date display?
- How to use wp_ajax_set_post_thumbnail?
- Best way to use variables in multiple functions?
- Get product price in a different currency using WooCommerce Currency Switcher
- Cannot fetch posts with certain ‘product_cat’. WP_Query is empty
- Detect what link user clicks and Redirect to a specific page for logged in users only
- Displaying logged in user name
- Create a hierarchical loop at predefined markup requirements
- Setting ‘post_format’
- Custom Meta Boxes and Fields Multicheck Issue
- nested divs, classes for a grid in loop [duplicate]
- Why can’t I include echo inside a variable? [closed]
- WP_Query not returning results
- Are WordPress & PHP objectively and based on evidence going to die because the future is made of frontend rendering instead of server side rendering? [closed]
- Not able to see the error [closed]
- How do I link the side images?
- How to change wp-admin and wp-login urls