View Single Post
Old 02-15-2021, 10:49 AM   #1807
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 726
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@minime

1 - go with docker! COPS works and keeps working.

2 - fix the errors that hold back php 8 ourselves.

The (1st?) error is a deprecated function in php 8 "create_function" on line 94 of doT.php.

The fix should be something like this:
old:
Code:
return @create_function ('$it', $func);
new
Code:
return @function ($it) use ($func) {
        eval($func);
        };
However on php 7 (don't have 8 yet) this does not work (it should?) and there is no error (in my setup), so I do not know what goes wrong (not much of a programmer myself ).

Anyone with php knowledge who can fix this for us?
mariosipad is offline   Reply With Quote