statamic-rad-pack / mailchimp

Mailchimp integration for Statamic
https://statamic.com/addons/rad-pack/mailchimp
MIT License
18 stars 12 forks source link

Package won't install #43

Closed dustinleblanc closed 3 years ago

dustinleblanc commented 3 years ago

Just purchased this tonight and getting this error on install:

Symfony\Component\ErrorHandler\Error\FatalError thrown with message "Access level to Edalzell\Mailchimp\ServiceProvider::bootConfig() must be protected (as in class Statamic\Providers\AddonServiceProvider) or weaker"

Stacktrace:
#0 Symfony\Component\ErrorHandler\Error\FatalError in /Users/dustinleblanc/Sites/unrealist/vendor/edalzell/mailchimp/src/ServiceProvider.php:9

PHP Version:

PHP 7.3.23 (cli) (built: Oct  5 2020 15:56:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.23, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.23, Copyright (c) 1999-2018, by Zend Technologies

My composer require section:

    "require": {
        "php": "^7.3.0",
        "edalzell/mailchimp": "^2.0",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "^8.0",
        "laravel/tinker": "^2.0",
        "statamic/cms": "3.0.20",
        "wildbit/swiftmailer-postmark": "^3.3"
    },
dustinleblanc commented 3 years ago

Just saw 7.4+ is required, I'll check to see if I can safely upgrade

dustinleblanc commented 3 years ago

Updating PHP fixed it. I am now going to cry in a corner because I am finally that guy who wasn't running the latest bleeding edge version of PHP, but will wipe my tears away as I can now sign folks up for mailing lists!