Hi everybody !
I have torrent tracker based on mybb forums
am upgrade to php 7.4.33
after upgrade i cant upload torrents i have error
Decoder encountered unknown char ':' at offset 2."
pls help me fix this error
Need more information:
1. This is neither plugin, nor standalone MyBB root php files, but some additional functions to include. How do you call those? How the additional files / class / functions are included in MyBB and from where?
2. Exactly which file is throwing error and from which line?
when am upload torrent i see this error
error from class_torrent.php line 393
return new BEncode_Error( "Decoder encountered unknown char '$char' at offset $offset." );
p.s in php 5.6.40 i dont have errors, sorry 4 bad english
when am try download torrent
06-04-2024 16:48:16
[8192] Methods with the same name as their class will not be constructors in a future version of PHP; BEncode_Error has a deprecated constructor
PHP Error on line 406 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------
------------------------------------------
06-04-2024 16:48:16
[8192] Methods with the same name as their class will not be constructors in a future version of PHP; BEncode_Int has a deprecated constructor
PHP Error on line 426 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------
------------------------------------------
06-04-2024 16:48:16
[8192] Methods with the same name as their class will not be constructors in a future version of PHP; BEncode_String has a deprecated constructor
PHP Error on line 609 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------
------------------------------------------
06-04-2024 16:48:16
[8] Only variables should be passed by reference
PHP Error on line 473 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------
------------------------------------------
06-04-2024 16:48:16
[8] Only variables should be passed by reference
PHP Error on line 488 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------
------------------------------------------
06-04-2024 16:48:16
[8] Only variable references should be returned by reference
PHP Error on line 393 in file D:\web\include\class_torrent.php
7.4.33 WINNT
------------------------------------------