Fatal error with switching themes in vanilla 1.3.6

Forum
Last Post
Threads / Messages

Kesstryl

Member
Member
Joined
Feb 22, 2012
Messages
206
Points
28
Mysidian Dollar
11,706
I wanted to see what the Green theme looked like, and when I switched the theme on the main page from the sidebar, I got this error. I tried looking for the undefined function in the rest of the code with my editor, and it does seem to not exist.

#​
Time​
Memory​
Function​
Location​
Call Stack​
( ! ) Error: Call to undefined method Model\DomainModel\Member::getUserGroupID() in D:\wamp64\www\Mysidia1.3.6\model\domainmodel\theme.php on line 60
( ! ) Fatal error: Uncaught Error: Call to undefined method Model\DomainModel\Member::getUserGroupID() in D:\wamp64\www\Mysidia1.3.6\model\domainmodel\theme.php on line 60
1​
0.0001​
370368​
{main}( )...\index.php:0
2​
0.0002​
373024​
IndexController::main( )...\index.php:88
3​
0.0401​
1130160​
IndexController->run( )...\index.php:84
4​
0.0406​
1135792​
Resource\Core\FrontController->handleRequest( )...\index.php:75
5​
0.0406​
1135792​
Controller\Main\IndexController->triggerAction( )...\frontcontroller.php:142
6​
0.0406​
1135792​
Resource\Core\FrontController->triggerAction( )...\indexcontroller.php:13
7​
0.0416​
1142432​
invokeArgs( $object = class Controller\Main\ChangeStyleController { protected $access = 'member'; protected $fields = class Resource\Collection\HashMap { protected $entries = class Resource\Native\MysArray { ... }; protected $entrySet = NULL; protected $loadFactor = 0.75; protected $size = NULL; protected $threshold = 12; protected $keySet = NULL; protected $valueSet = NULL }; protected $frontController = class Controller\Main\IndexController { protected $appController = ...; protected $metaController = NULL; protected $action = 'index'; protected $flags = NULL; protected $model = 'Model'; protected $name = class Resource\Native\MysString { ... }; protected $view = NULL }; protected $subController = NULL; protected $action = 'index'; protected $flags = NULL; protected $model = 'Model'; protected $name = class Resource\Native\MysString { private $hash = 0; private $_string = 'changestyle'; private $_encoding = NULL; private $_length = NULL; private $_index = 0 }; protected $view = NULL }, $args = [] )...\frontcontroller.php:196
8​
0.0416​
1142496​
Controller\Main\ChangeStyleController->index( $theme = ??? )...\frontcontroller.php:196
9​
0.0429​
1182064​
Model\DomainModel\Theme->isDisplayble( )...\changestylecontroller.php:29
 
Nevermind, it was because I assigned it to a usergroup in the admin panel. I reset it back to zero, but this means there is a conflict between the ACP and the basic site in how to switch themes using user groups.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top