Finding which functions were called

The plugin called Query Monitor(https://srd.wordpress.org/plugins/query-monitor/) will help you.Also if you write your own theme,you should know which functions are called depends on the page you are viewing.

WordPress seems broken when logged of

So the first thing I would do (in case you have not already) is look at the page source when you are logged out – see if it’s just those “gibberish characters” or if there’s a beginning of html being sent to the browser. Note that the “gibberish” likely means something – so it might … Read more

debug.log is not created

Change your line 3 and 4’s quotes and give a try. * * @link https://codex.wordpress.org/Debugging_in_WordPress */ define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true ); define( ‘SCRIPT_DEBUG’, true );