HM666 |
02-17-2016 02:48 AM |
Quote:
Originally Posted by nhawk
(Post 2565048)
Reinstalling the add-on should fix the problem. Or it could be just as simple as setting the 'Can Administer Raffles' permission for the admin (though I doubt it).
|
I tried to give the permissions before I posted it did not work. I'll give reinstalling a try. Thanks.
EDIT: Did not help at all. I even uninstalled the old one and installed the new one and I still get the errors:
Code:
PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50
PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50
PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50
PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50
The other warnings from the post above were due to another mod I found out. Here is the PHP code for lines 44-57 on adminfunctions.php...
PHP Code:
switch(VB_AREA) { case 'AdminCP': $pagetitle = $vbphrase['admin_control_panel']; $getcssoptions = fetch_cpcss_options(); $cssoptions = array(); foreach ($getcssoptions AS $folder => $foldername) { $key = iif($folder == $vbulletin->options['cpstylefolder'], '', $folder); $cssoptions["$key"] = $foldername; } $showoptions = true; $logintype = 'cplogin'; break;
Possibly the mod is not compatible with our PHP version? We are running PHP 5.6.17.
|