1. Check your PHP log to start with and make sure you do not have an error listed.
2. Disable the plugin and see if the "white" screen is resolved.
If the above two checks are okay, then enable the plugin and load the page on the default style. If the page loads, then most likely you have a coding issue in your modified template. At least that is where I would start.
I do not see anything wrong with what @Kh99 presented (as I would have expected), I am not saying your routine will work as I would have to review the team speak code.
Resolve the white screen problem and then you can go from there. There is no method we can resolve the white screen issue from here, all we can do is give you suggestions.
|