Anyone who has fixed this issue?
On 9/11/2019 at 9:12 AM, sanctusmob said:[Thu Sep 05 12:43:44.364250 2019] [proxy_fcgi:error] [pid 9908] [client 79.129.43.209:56810] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 3 passed to PrestaChamps\MailchimpPro\Hooks\Action\Customer\AccountUpdate::run() must be an instance of Customer, null given, called in /var/www/vhosts/example.com/httpdocs/modules/mailchimppro/mailchimppro.php on line 789 and defined in /var/www/vhosts/example.com/httpdocs/modules/mailchimppro/src/PrestaChamps/MailchimpPro/Hooks/Action/Customer/AccountUpdate.php:57nStack trace:n#0 /var/www/vhosts/example.com/httpdocs/modules/mailchimppro/mailchimppro.php(789): PrestaChamps\MailchimpPro\Hooks\Action\Customer\AccountUpdate::run(Object(Context), Object(DrewM\MailChimp\MailChimp), NULL)n#1 /var/www/vhosts/example.com/httpdocs/classes/Hook.php(966): Mailchimppro->hookActionCustomerAccountUpdate(Array)n#2 /var/www/vhosts/example.com/httpdocs/classes/Hook.php(351): HookCore::coreCallHook(Object(Mailchimppro), 'hookactionCusto...', Array)n#3 /var/www/vhosts/example.com/httpdocs/classes/Hook.php(903): HookCore::callHookOn(Object(Mailchimppro), 'act...n', referer: https://www.example.com/el/order
Whenever i try to implement the fix, i can not activate the module from backoffice.
We have been in dialog with mailchimp support, but they are not capable of helping us out.
Our error look something like this:
[30-Oct-2019 18:27:52 Europe/Copenhagen] PHP Fatal error: Uncaught TypeError: Argument 3 passed to PrestaChamps\MailchimpPro\Hooks\Action\Customer\AccountUpdate::run() must be an instance of Customer, null given, called in /var/www/vhosts/eksempel.dk/modules/mailchimppro/mailchimppro.php on line 789 and defined in /var/www/vhosts/eksempel.dk/modules/mailchimppro/src/PrestaChamps/MailchimpPro/Hooks/Action/Customer/AccountUpdate.php:57
Stack trace:
#0 /var/www/vhosts/eksempel.dk/modules/mailchimppro/mailchimppro.php(789): PrestaChamps\MailchimpPro\Hooks\Action\Customer\AccountUpdate::run(Object(Context), Object(DrewM\MailChimp\MailChimp), NULL)#1 /var/www/vhosts/eksempel.dk/classes/Hook.php(970): Mailchimppro->hookActionCustomerAccountUpdate(Array)#2 /var/www/vhosts/eksempel.dk/classes/Hook.php(355): HookCore::coreCallHook(Object(Mailchimppro), 'hookactionCusto...', Array)#3 /var/www/vhosts/eksempel.dk/classes/Hook.php(907): HookCore::callHookOn(Object(Mailchimppro), 'actionCustomerA...', in /var/www/vhosts/eksempel.dk/modules/mailchimppro/src/PrestaChamps/MailchimpPro/Hooks/Action/Customer/AccountUpdate.php on line 57
Happens when information in checkout is filled out, and people go to payment. Then go back to change whatever. now payment is unavailable.
prestashop 1.7.6.1