Quote:
Originally Posted by Raptor
Updated to PHP 7.0 and it has broken completely
Code:
Call to undefined function split() on line 50 in /home/*******/public_html/forums/inlinemod.php(372) : eval()'d code
#0 /home/*******/public_html/forums/inlinemod.php(372): eval()
#1 {main}
Update: this update fixed the PHP7 issues https://vborg.vbsupport.ru/showpost....&postcount=154
|
Quote:
Originally Posted by Kirauni
I updated my board from 4.2.4 to 4.2.5 yesterday and set the PHP version from 5.6 to 7.1. However, I got the same error as Raptor when I tried to change a post's owner. Thanks to Masterross's attached file it works perfectly now.  And thanks to Raptor for linking to it!
|
In PHP 7, split() was removed. Changing split to explode should suffice. Alternatively, you can use the preg_split and using what the link above has.
On line 199 of the addon, setting split to explode will make it function once more.
You can also edit the plugin's hook at inlinemod_start titled "Change Thread/Post owner (inline)", and changing the above.