Page 1 of 1

Parse error

Posted: Thu Sep 12, 2024 6:49 pm
by Martable
I have problem with paypal !

Parse error: syntax error, unexpected '|', expecting ';' or '{' in /home/alibover/glenma.com/admin/controller/payment/paypal.php on line 3204

Code: Select all

private function validate(): array|bool {
		if (!$this->user->hasPermission('modify', 'extension/paypal/payment/paypal')) {
			$this->error['warning'] = $this->language->get('error_permission');
		}

Re: Parse error

Posted: Thu Sep 12, 2024 7:16 pm
by OSWorX
We do have also a problem here ..
Unless you can provide some details, nobody will be able to help you here.
Please read the Forum Rules before proceeding.