when a page displays blank, it means a php error is occurring but error reporting is turned. To fix the issue, we will need to know the error.
Add the following code at line 1 of the page that displays blank"
<?php
error_reporting(E_ALL);
ini_set('display_errors','all');
?>
Once we know the error, we can fix the issue.