MyBB Community Forums

Full Version: (this will throw an Error in a future version of PHP)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I installed a few plugins and had no problems. I downloaded like 2 plugins and I get this RIGHT ABOVE my Admin CP:

https://imgur.com/mtr212n

Someone help? Perhaps @Wires or @Serpius
Please paste the contents of../inc/plugins/viewgroups.php
look around line 36 of the plugin file viewgroups.php
if(THIS_SCRIPT == 'index.php')
change it like below & check if it fixes referred issue
if(defined("THIS_SCRIPT") && THIS_SCRIPT == 'index.php')

Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.
(08-23-2018, 01:44 AM)Wires Wrote: [ -> ]Please paste the contents of../inc/plugins/viewgroups.php

sorry if i sound stupid, but what do you mean by that?
(08-23-2018, 04:29 AM)Spooking Wrote: [ -> ]
(08-23-2018, 01:44 AM)Wires Wrote: [ -> ]Please paste the contents of../inc/plugins/viewgroups.php

sorry if i sound stupid, but what do you mean by that?

I meant paste the code. No worries though, try .m.'s fix first Smile
(08-23-2018, 04:36 AM)Wires Wrote: [ -> ]
(08-23-2018, 04:29 AM)Spooking Wrote: [ -> ]
(08-23-2018, 01:44 AM)Wires Wrote: [ -> ]Please paste the contents of../inc/plugins/viewgroups.php

sorry if i sound stupid, but what do you mean by that?

I meant paste the code. No worries though, try .m.'s fix first Smile

ok i am about to screenshare you on discord, may you run me through it? i also need assistance on how to upgrade my forum, again, im sorry if i cant do simply work.

(08-23-2018, 04:36 AM)Wires Wrote: [ -> ]
(08-23-2018, 04:29 AM)Spooking Wrote: [ -> ]
(08-23-2018, 01:44 AM)Wires Wrote: [ -> ]Please paste the contents of../inc/plugins/viewgroups.php

sorry if i sound stupid, but what do you mean by that?

I meant paste the code. No worries though, try .m.'s fix first Smile

Wait I got it! Apparently I was running MyBB v1.8.15, so all i did was update my MyBB version and it worked. thank you so much, however!