Bug forumid in src/addons/DBTech/Shop/ItemType/CreateForum.php at line 127

Status
Not open for further replies.

neoblizz

Customer
Upon configuring a create a forum item, I get the following:

Code:
ErrorException: [E_NOTICE] Undefined index: forumid in src/addons/DBTech/Shop/ItemType/CreateForum.php at line 127
XF::handlePhpError() in src/addons/DBTech/Shop/ItemType/CreateForum.php at line 127
DBTech\Shop\ItemType\CreateForum->validateUserConfig() in src/addons/DBTech/Shop/Pub/Controller/Inventory.php at line 315
DBTech\Shop\Pub\Controller\Inventory->actionConfigure() in src/XF/Mvc/Dispatcher.php at line 321
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
XF\App->run() in src/XF.php at line 390
XF::runApp() in index.php at line 20

I am guessing it's due to the fact that forumid is null. I think.

Code:
 if ($this->purchase->configured)
                {
                        // Carry over existing forum ID so we don't lose data
                        $configuration['forumid'] = $this->purchase->configuration['forumid'];
                }

                $stringFormatter = $this->app()->stringFormatter();
                $configuration['title'] = $stringFormatter->censorText($configuration['title']);
                $configuration['description'] = $stringFormatter->censorText($configuration['description']);

                $node = null;
                if ($configuration['forumid'])
                {
                        /** @var \XF\Entity\Node $node */
                        $node = $this->em()->find('XF:Node', $configuration['forumid']);
                }
 
Can you please upgrade to v6.1.0rc4 and let me know if the issue still occurs? Even though it is flagged as "Unstable" due to the fact that it's a Release Candidate, it is the recommended version at this time :)
 
Hello @neoblizz,

We hope your ticket regarding DragonByte Shop has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @neoblizz,

As we have not heard back from you, your ticket regarding DragonByte Shop has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,173
Customer rating
5.00 star(s) 3 ratings
Back
Top