FPA - HTTP Error 500 in PHP 8.0

This Forum board is about discussions about the FPA tool.
Post Reply
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 13115
Joined: Thu Feb 15, 2007 5:48 am
Location: Zagreb, Croatia

FPA - HTTP Error 500 in PHP 8.0

Post by toivo » Mon Nov 30, 2020 10:26 am

The script works all right in PHP 7.4.13 but fails in PHP 8.0 unless the argument is removed from two calls to the function mysqli_connect_errno() in line 2365. Raised https://github.com/ForumPostAssistant/FPA/issues/109.

[30-Nov-2020 09:48:31 UTC] PHP Fatal error: Uncaught ArgumentCountError: mysqli_connect_errno() expects exactly 0 arguments, 1 given in C:\www\joomla4\fpa-en.php:2365
Stack trace:
#0 C:\www\joomla4\fpa-en.php(2365): mysqli_connect_errno(Object(mysqli))
#1 {main}
thrown in C:\www\joomla4\fpa-en.php on line 2365
[30-Nov-2020 09:48:58 UTC] PHP Fatal error: Uncaught ArgumentCountError: mysqli_connect_errno() expects exactly 0 arguments, 1 given in C:\www\joomlatest\fpa-en.php:2365
Stack trace:
#0 C:\www\joomlatest\fpa-en.php(2365): mysqli_connect_errno(Object(mysqli))
#1 {main}
thrown in C:\www\joomlatest\fpa-en.php on line 2365
Toivo Talikka, Global Moderator

Post Reply

Return to “Forum Post Assistant (FPA)”