Hello there @amibe,
hope you’re doing good today! 🙂
There isn’t any specific debugger with Appointments plugin, you should be able to log only in file by using the following snippet just above the /* That’s all, stop editing! Happy blogging. */ comment in wp-config.php file:
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
@ini_set( 'log_errors', 1 );
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
Let me know how that goes!
Warm regards,
Dimitris
Hello there @amibe,
we haven’t heard back from you for a while, so I’m marking this topic as resolved. Feel free to post back here any update and we can re-open it and carry on troubleshooting. 🙂
Take care,
Dimitris
Hi Dimitris, it’s not really resolved for me but I understand what you are saying.
The settings you gave are the settings I use as I constantly review the log files for PHP errors and warnings across the whole installation so I can address them.
But I don’t always want debugging information in there – especially when its large outputs such as are generated by Appointments. Only if there’s a problem and I need to debug something specific.
Perhaps this is a bigger issue with WordPress? How to distinguish between PHP errors and debugging output?
What I could imagine (perhaps it is too much work?) is a hook (or setting) for Appointments where I can add some code in my functions.php that would disable debug output for Appointments. This is how it is done in some other plugins I make use of.
Thank you.