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
Return value error on template? #211
Comments
The version that you have quoted there is the branch number that I committed on this last week and isn't released? Is this correct? |
Hi @HeartlandTechie, I am unable to reproduce this error. Would it be possible to supply a log from the |
Yes, I put in the branch to try to fix the error . . . I get an Axios 500 error when creating a new template, so I suspect it's a permissions issue? |
|
The error you are getting is a permission issue, I see that it is possibly running on an actual webserver? or is it inside an image? The package does write to a json file under The other thing is that if you are running this on a server you would need to push / sync changes locally as any git method of deploying will loose changes made on a server |
Yes, this is running on a server, I could see how the issues would be with permissions . . any hints that you could add for users like setting the right permissions for editing the file? I haven't dived too far into the code, but I'd wait until the file was written before you update the json file. . . . to avoid weird things like this. |
Qoraiche\MailEclipse\MailEclipse::getTemplate(): Return value must be of type ?Illuminate\Support\Collection, none returned
Reproduction steps
Steps to reproduce the behavior:
Laravel Version:
Laravel 9.17.0
PHP
PHP 8.1.6
MailEclipse package version:
source : [git] https://github.com/Qoraiche/laravel-mail-editor.git 085d431
Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: