LaravelDaily / laravel-invoices

Laravel package to generate PDF invoices from various customizable parameters
GNU General Public License v3.0
1.4k stars 304 forks source link

Could not generate invoice #129

Closed butrintmetaj closed 2 years ago

butrintmetaj commented 2 years ago

When I try to generate an invoice with the package version 2.2 this error is generated.

message: """

Method Illuminate\View\View::__toString() must not throw an exception, caught Facade\Ignition\Exceptions\ViewException: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed (View: /Users/user1/Sites/site-api/resources/views/vendor/invoices/templates/default.blade.php)
"""

code: 0

file: "/Users/user1/Sites/site-api/vendor/laraveldaily/laravel-invoices/src/Invoice.php"

line: 258


mc0de commented 2 years ago

@butrintmetaj could you please provide a snippet?

it looks like you're trying to fetch some remote resource using this package, you should pass local path

mc0de commented 2 years ago

no reply, closing.