tawk / tawk-magento-2

Tawk.to live chat plugin for Magento 2
12 stars 22 forks source link

Prevent to install on php >= 8.1 #37

Closed tuyennn closed 3 days ago

tuyennn commented 1 month ago

The property require from composer.json is not updated to prevent it would be installed on php >= 8.1 "require": { "php": ">=5.6.0", "tawk/url-utils": "^2.0" }

It would caused the error since this module was not support php >= 8.1 yet.

So kindly disable or prevent by constraint from composer.json to confirmed it works for php under 7.4 only

tuyennn commented 4 weeks ago

The tag https://github.com/tawk/tawk-magento-2/releases/tag/v1.6.0 supported, this could be closed

tuyennn commented 4 weeks ago

Apparently, this was not completely support Magento >= 2.4.4 as https://github.com/tawk/tawk-magento-2/blob/v1.6.0/Setup/UpgradeData.php#L97 Zend_Uri_Http was removed, in this case to make thing compatibility support Magento >= 2.4.4 and Magento < 2.4.4 consider to use: parse_url()

Or use Laminas\Uri\Http for support Magento >= 2.4.4 only