View Full Version : PHP Warning: Illegal string offset functions.php
oldengine
08-27-2019, 02:31 PM
vBulletin 3.8.11 PHP 7.1
PHP Warning: Illegal string offset 'userid' functions.php on line 448
PHP Warning: Illegal string offset 'userid' functions.php on line 439
Also 'usergroupid' line 382 and 448
The chase goes on.
Recently done an update to php 7.x?
I think one of your hacks/addon's needs to be updated.
You have to disable them one by one until you aren't seeing the error. After that search for this addon here in this forum. There should be the solution.
Typicaly a string which is used as array. Then you should inititialize it as $xxxx = [];
lange
08-31-2019, 02:54 PM
vBulletin 3.8.11 PHP 7.1
PHP Warning: Illegal string offset 'userid' functions.php on line 448
PHP Warning: Illegal string offset 'userid' functions.php on line 439
It's only a PHP warning so you can insert the following code in config.php:
define('SKIP_ALL_ERRORS', true);
Recently done an update to php 7.x?
I think one of your hacks/addon's needs to be updated.
You have to disable them one by one until you aren't seeing the error. After that search for this addon here in this forum. There should be the solution.
Typicaly a string which is used as array. Then you should inititialize it as $xxxx = [];
Another solution is to use the following mod to fix PHP errors like this one. I use it to fix PHP errors of my mods with PHP 7.2+. The mod works fine on vb3.8.11.
https://vborg.vbsupport.ru/showthread.php?p=2214603#post2214603
.
.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.