mikehaertl / phpwkhtmltopdf

A slim PHP wrapper around wkhtmltopdf with an easy to use and clean OOP interface
MIT License
1.6k stars 238 forks source link

Undefined index: HTTP_USER_AGENT #346

Closed ahmadasjad closed 4 years ago

ahmadasjad commented 4 years ago
PHP Notice Undefined index: HTTP_USER_AGENT 
    /home/tony/live/vendor/mikehaertl/php-tmpfile/src/File.php:79 mikehaertl\tmp\File::send
    /home/tony/live/vendor/mikehaertl/phpwkhtmltopdf/src/Pdf.php:199 mikehaertl\wkhtmlto\Pdf::send
    /home/tony/live/site/protected/components/Pdf.php:43 Pdf::send
ahmadasjad commented 4 years ago

created issue in the relevant repo: https://github.com/mikehaertl/php-tmpfile/issues/11