You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The agent throws errors when attempting to run. I run on PHP 8.2.x branch. I was using 8.2.24 and it ran fine, I updated to 8.2.26 from the remi repo and it broke.
The text was updated successfully, but these errors were encountered:
FWIW I don't know how to do a pull request, but I was able to fix this by changing line 1663 in functions/classes/class.Subnets.php to $pwr = gmp_pow2(128-$x);
And then copied the function in global-functions from the previously linked issue into functions/global-functions.php function gmp_pow2(int $exp) : GMP { $result = gmp_init(0); gmp_setbit($result, $exp); return $result; }
skikd636
pushed a commit
to skikd636/phpipam-agent
that referenced
this issue
Dec 16, 2024
This is the same issue that was fixed in phpipam 7.1.3 phpipam/phpipam#4339
The agent throws errors when attempting to run. I run on PHP 8.2.x branch. I was using 8.2.24 and it ran fine, I updated to 8.2.26 from the remi repo and it broke.
The text was updated successfully, but these errors were encountered: