Closed userjack6880 closed 1 year ago
This is a Version-1 Bug that's carried over to Version-2 as well
It's a bug that's related to the phpwhois dependency. The documentation will be updated to resolve this. There is an updated package that supports PHP8, as the original package is no longer maintained.
Documentation updated.
FYI Just got this working under Rocky9.1 PHP 8.0.27 Fixed the following syntax errors
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/UnicodeTranscoder.php on line 87 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/UnicodeTranscoder.php on line 208 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/UnicodeTranscoder.php on line 230 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/UnicodeTranscoder.php on line 338 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/Punycode.php on line 122 PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/mso/idna-convert/src/Punycode.php on line 136
Getting the following Warnings PHP Warning: Array to string conversion in includes/functions.php on line 191 PHP Warning: Undefined array key "regrinfo" in includes/template.php on line 477 PHP Warning: Trying to access array offset on value of type null in includes/template.php on line 477
If have defined define('GEO_ENABLE', 0); print_r($geo_data) gives Array ( [rawdata] => Array ( ) [regyinfo] => Array ( [servers] => Array ( [0] => Array ( [server] => whois.arin.net [args] => n 203.34.58.14 [port] => 43 ) ) ) ) Array key is regyinfo (y) not (r) Looks like the issue is with phpwhois
Cheers Rick
Originally posted by @TheRickster365 in https://github.com/userjack6880/Open-DMARC-Analyzer/issues/72#issuecomment-1547493023