Deprecation errors when trying to install the module on PHP 8