MyBB Community Forums

Full Version: IP Ghost Fatal Errors *SOLVED*
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Fatal error: Uncaught Error: [] operator not supported for strings in 
inc\plugins\ipghost.php:306 Stack trace: #0 
inc\class_plugins.php(142): ipghost_admin('') #1 
\admin\index.php(819): pluginSystem->run_hooks(Array) #2 {main} thrown in \inc\plugins\ipghost.php on line 306

also

Fatal error: Uncaught Error: [] operator not supported for strings in 
\inc\plugins\ipghost.php:322 Stack trace: #0 
\inc\class_plugins.php(142): ipghost_admin('') #1 
\admin\index.php(819): pluginSystem->run_hooks(Array) #2 {main} thrown in \inc\plugins\ipghost.php on line 322

This is the plugin i am using (click here)

Can anyone here tell me if there is any way to fix these errors if possible? I would be really appreciated.

Thanks
open the plugin file using editor like notepad++ or editor at web host panel

find below code in lines 306 & 322
$buttons = "";
after that code, in a new line add
$buttons = [];

save the file & try using it.
(2019-05-12, 04:39 AM).m. Wrote: [ -> ]open the plugin file using editor like notepad++ or editor at web host panel

find below code in lines 306 & 322
$buttons = "";
after that code, in a new line add
$buttons = [];

save the file & try using it.


@.m.
After following your instructions using notepad++ it's working great with no errors.
Thanks so much for your help!