You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2021. It is now read-only.
at /var/www/vhosts/xxxxxx/yyyyyy/mailcoach/vendor/spatie/laravel-mailcoach/src/MailcoachServiceProvider.php:61
57| public function register()
58| {
59| $this->mergeConfigFrom(DIR . '/../config/mailcoach.php', 'mailcoach');
60|
61| $this->app->singleton(QueryString::class, fn () => new QueryString(urldecode($this->app->request->getRequestUri())));
62|
63| $this->app->singleton(Version::class, function () {
64| $httpClient = new HttpClient();
65|
Thank you both for your fast response.
Yes, it was plesk that was misreporting the version. changed it to 7.3 and back to 7.4 restarted nginx and all is fine now. Apologies and thanks.
I have done a clean install using php 7.4 and am getting this error in the browser.
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')'
vendor/spatie/laravel-mailcoach/src/MailcoachServiceProvider.php:61
On the command line when running
php artisan migrate
I get this error.
Symfony\Component\Debug\Exception\FatalThrowableError : syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')'
at /var/www/vhosts/xxxxxx/yyyyyy/mailcoach/vendor/spatie/laravel-mailcoach/src/MailcoachServiceProvider.php:61
57| public function register()
58| {
59| $this->mergeConfigFrom(DIR . '/../config/mailcoach.php', 'mailcoach');
60|
Exception trace:
1 Composer\Autoload\includeFile("/var/www/vhosts/gray.me.uk/mailcoach.gray.me.uk/mailcoach/vendor/composer/../spatie/laravel-mailcoach/src/MailcoachServiceProvider.php")
/var/www/vhosts/gray.me.uk/mailcoach.gray.me.uk/mailcoach/vendor/composer/ClassLoader.php:322
2 Composer\Autoload\ClassLoader::loadClass("Spatie\Mailcoach\MailcoachServiceProvider")
[internal]:0
I am not a laravel developer just a normal user who wants to evaluate Mailcoach.
The text was updated successfully, but these errors were encountered: