This is a very annoying bug in mailster. Though you have set a a custom…
How to Debug and Log to the Browser Console in PHP
![](https://www.knowboard.de/wp-content/uploads/2018/02/editor_1518085339.png)
JuralMin / Pixabay
Just create this simple function and use the console for debugging and logging PHP.
function debug_to_console( $data ) { $output = $data; if ( is_array( $output ) ) { $output = implode( ',', $output); } echo "<script>console.log( 'Debug Objects: " . $output . "' );</script>"; } debug_to_console( "Test" );
Dieser Beitrag hat 0 Kommentare