XF 2.3 Error: Call to a member function getVariationValue() on null in src/XF/Repository/StylePropertyRepository.php at line 110

KensonPlays

Well-known member
I'm trying to go into the Page settings to add a custom background to an imported style, but I keep getting this, no matter if I change the style same to something else.

Code:
Error: Call to a member function getVariationValue() on null in src/XF/Repository/StylePropertyRepository.php at line 110

    XF\Repository\StylePropertyRepository->getStyleColorData() in src/XF/Admin/Controller/StyleController.php at line 377
    XF\Admin\Controller\StyleController->actionStylePropertiesGroup() in src/XF/Mvc/Dispatcher.php at line 362
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
    XF\App->run() in src/XF.php at line 802
    XF::runApp() in admin.php at line 15

I've tried 3 different names, and 2 or 3 separate imports, but every time it is doing this. The style I exported was a 2.3 updated style.

I have even tried creating from scratch without an import, still does the same thing.

Stack Trace
Code:
#0 src/XF/Admin/Controller/StyleController.php(377): XF\Repository\StylePropertyRepository->getStyleColorData(Object(XF\Entity\Style))
#1 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\StyleController->actionStylePropertiesGroup(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Style', 'StyleProperties...', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\StyleController), NULL)
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\StyleController), NULL)
#4 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2813): XF\Mvc\Dispatcher->run()
#6 src/XF.php(802): XF\App->run()
#7 admin.php(15): XF::runApp('XF\\Admin\\App')
#8 {main}

Req. State:
Code:
array(4) {
  ["url"] => string(75) "/admin.php?styles/monster-hunter-world.42/style-properties/group&group=page"
  ["referrer"] => string(90) "https://forums.mesozoichaven.com/admin.php?styles/monster-hunter-world.42/style-properties"
  ["_GET"] => array(2) {
    ["styles/monster-hunter-world_42/style-properties/group"] => string(0) ""
    ["group"] => string(4) "page"
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Back
Top Bottom