Quote:
Not work on 4.2.5 and PHP 7.1.x
[] operator not supported for strings 106 in .../includes/functions_sc_thumbs.php
|
Fix:
File ../includes/functions_sc_thumbs.php
string 106
Find:
Replace:
String 109
Find:
PHP Code:
$thumbs = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "sc_thumbs_". $contenttype ." WHERE $data_id IN (" . implode(',', $ids) . ") ORDER BY username ASC");
Replace:
PHP Code:
$thumbs = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "sc_thumbs_". $contenttype ." WHERE $data_id IN (" . implode(',', (array)$ids) . ") ORDER BY username ASC");