Closed linuxman closed 6 years ago
Around line 4698 of the file: /home/linuxman/public_html/paste/application/libraries/geshi/geshi.php
Replace:
$callback_2 = create_function( '$matches' , 'return "[" . str_replace("|", "", $matches[1]) . "]";' );
with
$callback_2 = function($matches) { return "[" . str_replace("|", "", $matches[1]) . "]"; };
It is untested, but it is logically equivalent, I believe.
At first I tried to update geshi, but it didn't work.
Your advice has been very helpful and no longer shows the errors.
Thank you very much @DudleyKelso :)
Hi, there, I'm updating my version of Stikked (0.12.0). I'm using PHP 7.2 and LiteSpeed Webserver.
I'm having some problems. For example, I get a series of messages when I show information about a paste. ( https://linuxmanr4.com/paste/view/c63d128d )
Any suggestions?
Greetings