-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View pdf & sent mail not working after update to V5.1.43 #5419
Comments
logs of the app only show [2021-04-11 10:45:02] production.INFO: latest version = 5.1.43 |
when saving a new invoice main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:70316 POST https://finance.gregit.help/api/v1/invoices?include=history 500 |
Did you mean to tag me? I don't think the AP logs in the browser console are related to the error. |
dear, |
dear, |
Did you run |
yes, |
also not possible to see payment in pdf |
there are no logs, only error is from the chrome console, |
I would suggest upgrading to 5.1.44, we have better error messaging in this version which may help diagnose. |
dear, [2021-04-14 04:24:36] production.ERROR: Undefined property: stdClass::$page_layout {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined property: stdClass::$page_layout at /usr/www/users/gregit/FINANCE/app/Utils/HtmlEngine.php:378) |
The $page_layout bug is fixed here: #5432 You'll want to update to 5.1.45 and retest. |
dear, when viewing a pdf i now receive 500:
|
error logs: [2021-04-14 04:55:02] production.INFO: latest version = 5.1.44 |
Your PDFs are not generating, this is the root cause. This is either because the webuser doesn't have write permissions or the PDF service configuration is incorrect. https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues |
i will, but i used the same config for more then a month and always worked, after the upgrade to v5.1.43 it was not working anymore, NINJA_ENVIRONMENT=selfhost PHANTOMJS_PDF_GENERATION=false |
what are the permissions required to do so, i have now 775 configured |
What is most important is that the directories are owned by the webuser, so if www-data is your webuser you'll want to
|
error from log file [2021-04-14 06:40:02] production.INFO: latest version = 5.1.46 |
**What version of Invoice Ninja are you running? 5.1.43
What environment are you running? Dedicated hosting
Have you checked log files (storage/logs/) Please provide redacted output no, it only shows the version output
Have you searched existing issues? yes, no result/solution
Have you reported this to Slack/forum before posting? no
Describe the bug
after the update to latest version, the application is not able to generate the pdf anymore, this means that no mails can be sent to request payments nor can i view the pdf after creation of an invoice to save it.
Before the update all was working fine
Steps To Reproduce
save or view invoice and view the pdf, it never shows
sent an invoice, it trigger error 500
Expected behavior
working fine like in previous versions
Screenshots
Additional context
POST: https://finance.gregit.help/api/v1/refresh?updated_at=1618137157&first_load=true
main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:3351 Uncaught PlatformException(Unregistered factory, No factory registered for viewtype 'null', null, null)
at Object.e (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:3351:3)
at bEu.U0 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:106326:14)
at https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:106372:98
at cNg.a (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:4890:71)
at cNg.$2 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:66030:23)
at ctm.$1 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:66022:30)
at aML.v8 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:67330:42)
at c3B.$0 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:66519:11)
at Object.a05 (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:5015:40)
at aH.tP (https://finance.gregit.help/main.foss.dart.js,qv=5.1.43.pagespeed.ce.yZgtDbNu_0.js:66424:3)
Note: Before posting don't forget to check our "Troubleshooting" category in the docs (https://invoiceninja.github.io/docs/self-host-troubleshooting/).
yes no solution found,
(v5) Can you replicate the issue on our demo site? https://demo.invoiceninja.com no
The text was updated successfully, but these errors were encountered: