Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 30 Mar 2020, 13:27
Skyrider Skyrider is offline
Join Date: Feb 2006
PHP 7.1 "[] operator not supported for strings on line" errors.

Okay, so. I've noticed that on PHP 7.1, I'm getting a lot of errors as of lately. If this is the wrong section to post this, please move it. Recently I noticed when using PHP 7.1, I'm getting:

[] operator not supported for strings on line 7 in /includes/class_bootstrap.php(433) : eval()'d code
#0 sourceop/includes/class_bootstrap.php(433): eval()
#1 sourceop/includes/class_core.php(4391): vB_Bootstrap->process_templates()
#2 sourceop/includes/class_core.php(4349): vB_Template->__construct('memberaction_dr...')
#3 sourceop/includes/functions.php(3275): vB_Template::create('memberaction_dr...')
#4 sourceop/includes/functions_forumlist.php(314): construct_memberaction_dropdown(Array)
#5 sourceop/includes/functions_forumlist.php(230): construct_forum_bit('4', 2, 0)
#6 sourceop/forum.php(611): construct_forum_bit(-1)
#7 {main}

Fatal User Error: [] operator not supported for strings on line 7 in ..../includes/class_bootstrap.php(433) : eval()'d code in ..../vb/vb.php on line 286
When I disable the plug-ins through the config.php file, it works like a charm. So, I know this is plug-in related. But whenever I disable plug-ins one by one, or uninstall them all. Oddly enough, the error is the same.

I know vB4 supports up to PHP 7.1, but that doesn't mean the plugins will as well. But the only thing I noticed when removing/disabling the plug-ins on my test board is that the "on line" number changes.

Any advice is appreciated.

Reply With Quote
Old 30 Mar 2020, 13:52
Dave Dave is offline
Join Date: Jun 2010
Real name: Dave
Maybe you have a custom hook installed that is causing this error? (which is not part of any plugin but was manually added)

You can find this under Plugins & Products > Plugin Manager.
__________________ - security, development, exploits, vBulletin

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Old 30 Mar 2020, 15:43
Skyrider Skyrider is offline
Join Date: Feb 2006
Wow, why didn't I think of that? Thanks. I found the Hook that was causing it.

Appreciate it!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:34.

Layout Options | Width: Wide Color: