So I am using xampp as my server hosting, and haven't got a problem in years. But I found something strange happening.
I have this code:
require "init.php";
require_once('vendor/autoload.php');
$pdf = new TCPDF("P", "mm", 'A4', true, 'UTF-8', false);
var_dump($pdf);
If I execute this code. My page is fully blank? And sometimes it isn't. Like so:
But when I execute my page in a command line, like so:
c:\xampp\php\php.exe C:\xampp\htdocs\websites\Traject-Parket\index.php
I get the var_dump I wrote.
So I have no errors whats so ever? How come my page is blank and sometimes isn't? Because in this project nothing seems to work but in other projects it does.