Is there anywhere to test if the code for a hook has errors?
I'm trying to create a hook which will enter the same value in a field in one table based on the field in another table being updated.
I've created a hook in Custom_functions.php - $hooks['check_stock']['insert']['after'] =...