What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed Call to a member function canSellChildResource() on null

frybread

Member
Not a big deal, but fairly often unregistered bots will hit the /add URL for resources and create a server error.

Code:
#0 src/XF/Mvc/Dispatcher.php(352): XFA\RMMarketplace\XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(XFA\RMMarketplace\XFRM\Pub\Controller\Category), NULL)
#2 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\RMMarketplace\XFRM\Pub\Controller\Category), NULL)
#3 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#5 src/XF.php(524): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state​

PHP:
array(4) {
  ["url"] => string(53) "/community/resources/categories/public-plugins.12/add"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/community/resources/categories/public-plugins_12/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Thanks for letting me know I'll provide a fix in a later version that needs a bit of work as you are very well aware of.
 
Top