Warning: Invalid argument supplied for foreach() in /create-pdf-spec.php on line 15