Unable to apply data patch for module Amasty_Shiprestriction

Unable to apply data patch for module Amasty_Shiprestriction

Hello,

I hope you're doing well. I am currently using the Amasty_Shiprestriction extension, which had been working perfectly until I upgraded my Magento version from 2.4.2 to 2.4.7-p3. After the upgrade, I installed the new version of the Amasty_Shiprestriction module (version 2.11.0) using the composer command.

However, when I tried to execute the bin/magento upgrade command, I encountered the following error:

Unable to apply data patch Amasty\Shiprestriction\Setup\Patch\Data\ChangeMethodsFormat for module Amasty_Shiprestriction. Original exception message: Warning: Array to string conversion in amasty\shiprestriction\Setup\ChangeMethodsFormat.php on line 44.

It seems that due to the upgrade, the module is unable to apply the necessary data patches. I would appreciate any assistance in resolving this issue.

I am also investigating the problem on my end, and any help would be greatly appreciated.

Thank you in advance for your support.