Xammie / mailbook

✉️ Laravel Mail Explorer
https://mailbook.dev
MIT License
443 stars 17 forks source link

Undefined variable $mailables #76

Closed alanmolnar closed 7 months ago

alanmolnar commented 7 months ago

Hi, thanks for this great plugin, it really helps a lot.

I have issue when I moved everything to the server from my xampp, I'm getting error "Undefined variable $mailables" in [resources / views / vendor / mailbook / list.blade.php : 3].

PHP 8.2.16 Laravel 10.48.3

Mailbook routes file is same on my xampp and server, but on server there is no $mailables from some reason.

Can you please advice?

Thanks, Alan

Xammie commented 7 months ago

Hello! Glad you like mailbook.

composer create-project laravel/laravel mailbook-issue-76
cd mailbook-issue-76
composer require xammie/mailbook
php artisan mailbook:install
php artisan serve
alanmolnar commented 7 months ago

I manage to fix the issue when I downgraded from version 1.8 to 1.7. Before that I tried to clear view cache and all other caches as well. Will try to install on empty laravel and let you know.

Xammie commented 7 months ago

Have you been able to reproduce this issue on a clean install? I'm closing this issue for now.