PhpIpam plugin is not working on foreman 3.11 in OS of almalinux9

**Problem:cannot get IPs through phpipam plugin when creating VM

**Expected outcome:successfully get IP from ipam plugin

**Foreman and Proxy versions:3.11

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
Previous discussion:

I built foreman 3.11 on AlmaLinux9 and restore backup data from almalinux8’s foreman3.11 to the almalinux9’s foreman3.11. An issue is happening to external IPAM plugin. Please see below error from foreman proxy warning. It cannot fetch IP from IPAM. It seems some issue with the decode function in the module.