Just upgraded to 4.5.48 and checked all sailing club invoices to go out. Anyone familiar with new error I got? A real pain, as I am stuck with my yearly billing cycle, unless I’ll mail 1 by 1.
https://facturatie.hofstadezeilclub.be/public/invoices/bulk
syntax error, unexpected ‘User’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
(1/1) ParseError
syntax error, unexpected ‘User’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
in SendNotificationEmail.php line 26
at Composer\Autoload\includeFile(’/home/hofsta1q/facturatie.hofstadezeilclub.be/vendor/composer/…/…/app/Jobs/SendNotificationEmail.php’)
in ClassLoader.php line 428
at ClassLoader->loadClass(‘App\Jobs\SendNotificationEmail’)
at spl_autoload_call(‘App\Jobs\SendNotificationEmail’)
in NotificationListener.php line 60
at NotificationListener->sendNotifications(object(Invoice), ‘sent’, null, false)
in NotificationListener.php line 74
at NotificationListener->emailedInvoice(object(InvoiceWasEmailed))
in Dispatcher.php line 389
at Dispatcher->Illuminate\Events{closure}(‘App\Events\InvoiceWasEmailed’, array(object(InvoiceWasEmailed)))
in Dispatcher.php line 218
at Dispatcher->dispatch(‘App\Events\InvoiceWasEmailed’)
in helpers.php line 477
at event(object(InvoiceWasEmailed))
in ContactMailer.php line 122
at ContactMailer->sendInvoice(object(Invoice))
in InvoiceRepository.php line 995
at InvoiceRepository->emailInvoice(object(Invoice))
in BaseService.php line 39
at BaseService->bulk(array(‘618’), ‘emailInvoice’)
in InvoiceService.php line 71
at InvoiceService->bulk(ar