nightflyza / Ubilling

Ubilling is opensource ISP billing system based on stargazer
https://ubilling.net.ua
GNU General Public License v2.0
134 stars 105 forks source link

Fix decbin funtion on php 8.2 #843

Closed pautiina closed 4 months ago

pautiina commented 4 months ago
[Mon Jul 08 21:30:07.279999 2024] [proxy_fcgi:error] [pid 22000:tid 35443122176] [client 127.0.0.1:49989] AH01071: Got error '; PHP message: PHP Fatal error:  Uncaught TypeError: decbin(): Argument #1 ($num) must be of type int, string given in /var/www/billing/api/libs/api.ponzte.php:975\nStack trace:\n#0 /var/www/billing/api/libs/api.ponzte.php(975): decbin('')\n#1 /var/www/billing/api/libs/api.ponzte.php(1232): PonZte->fdbParseGpon()\n#2 /var/www/billing/api/libs/api.ponztegpon.php(14): PonZte->pollGpon()\n#3 /var/www/billing/api/libs/api.ponizer.php(903): PONZteGpon->collect()\n#4 /var/www/billing/modules/remoteapi/herd.php(30): PONizer->pollOltSignal('1')\n#5 /var/www/billing/modules/general/remoteapi/index.php(37): require_once('/var/www/billin...')\n#6 /var/www/billing/index.php(133): include_once('/var/www/billin...')\n#7 {main}\n  thrown in /var/www/billing/api/libs/api.ponzte.php on line 975'

Description

Describe the problem or feature

nightflyza commented 4 months ago

Померджено як є. Заповни будь ласка документацію. Дякую.

nightflyza commented 4 months ago

doc

pautiina commented 4 months ago

Та заповнив вже