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 to return number of found rows from SELECT query
- WP API V2 returning Invalid User ID
- Why does $_SESSION only work when I am logged in?
- How to make an meta_query optional?
- How to use copy() function and paste file in /wp-content/themes directory
- Sanitize get_query_var() url parameters
- How to safely remove the footer (twentytwenty)
- How do I fetch all comments per post via WP REST API?
- When using the_author hook, how can I determine the PHP file that generates each call to `the_author()`?
- Custom theme: Alternatives to long list of ‘include’ in functions.php
- Reordering Buddy Press profile navigation [closed]
- PHP file won’t work in wordpress folder, but works in another virtual host
- Use URL Rewrite as well as $_GET parameters in URL?
- I want to add custom add to cart link [closed]
- wordpress wp_enqueue_script() not working
- Custom plugin settings link doesn’t append current class to menu item when visited? Why?
- WordPress admin-ajax.php 400 bad request
- What is the proper way to include a PHP framework into my theme?
- Help with page nav?
- Design with Elementor and code the rest?
- How to use mysql LIKE with wpdb?
- Get all posts as an array ID => Name
- How to store multiple custom meta box
- cURL error 6 on news area, and also won’t auto update
- How to manually trigger a redirect to another page without changing the url address?
- How to use title attributes in sidebar widget?
- How to get my [shortcode] rendered on the home page, other pages are fine
- Wp favorites posts by specific category? [closed]
- How to add JS script in specific pages in WordPress?
- Fatal error login WordPress [duplicate]
- Pagination contents not changing in Front page WordPress
- How to select post ID for given parent name with nested prepared queries?
- Running a PHP SQL script on a wordpress page
- Can I disable auto increment of WordPress Posts Database to utilize previously deleted records?
- How to apply ‘add two more posts’ to media content?
- How to disable sub menu items from being created?
- Access to “My Site” is missing from the admin bar
- Unable to insert current username into custom table through html form
- add ‘publish metabox’ to Gravity forms edit page/form area
- How do I modify the Previous and Next Page posts on blog pages to include “previous” and “next” before the links?
- How can i iterate through this shortcode array?
- On selecting shortcode generate selected shortcode table inside page editor worrdpress
- Pagenav Not appearing on custom Template
- how to create twitter card without plugin in wordpress website?
- How to use phpspreadsheet reader with $wpdb