All I want to do is print a view out so I can check the variables and see the structure of what's being created but it results in an internal server error.
I'm using Acquia Dev Desktop. I've checked the .htaccess file and it has the rewritebase uncommented. I've tried updating max_execution_time, and memory_limit. Nothing helps.
I have Drupal 8 installed fine and haven't had any issues except when trying to inspect variables.
BTW here is my function in theme file:
function theme_preprocess_views_view(&$variables) {
$view = $variables['view'];
print_r($view);
}
What am I doing wrong?