evekb / evedev-kb

EVE Killboard
www.evekb.org
41 stars 22 forks source link

php 7.4, 8.0 compatability #119

Open BlockLobber opened 3 years ago

BlockLobber commented 3 years ago

In order to stay up to date with supported php versions tested the latest edk board version against php7.4 and 8.0 and received the following errors in my log (for 7.4 fastcgi):

mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Cannot pass parameter 2 by reference in /home/<USER>/<DOMAIN>/common/xajax/xajax.php:48 mod_fcgid: stderr: Stack trace: mod_fcgid: stderr: #0 /home/<USER>/<DOMAIN>/common/includes/class.event.php(71): edk_xajax::lateProcess('') mod_fcgid: stderr: #1 /home/<USER>/<DOMAIN>/common/index.php(237): event::call('mods_initialise...', '') mod_fcgid: stderr: #2 /home/<USER>/<DOMAIN>/index.php(26): include('/home/<USER>/...') mod_fcgid: stderr: #3 {main} mod_fcgid: stderr: thrown in /home/<USER>/<DOMAIN>/common/xajax/xajax.php on line 48