Bug XF2: Importer from Audentio to Dragonbyte

Status
Not open for further replies.
I see, that's very strange. I'll need a bit more time to investigate that as I have another vB4 to XF2 conversion to prepare for and complete today, so I'm not 100% sure when exactly I'll get to this issue but I'll keep the ticket open so I won't forget :)
 
I've applied a potential hotfix for this, can you re-download and re-upload then re-try the Stripe donation and see if that works?
 
I just did rebuild (assume it does caches and the addon data) and removed the 'update lock'. Tested it with another donation and received this in the modal screen:

Code:
ErrorException: [E_WARNING] in_array() expects parameter 2 to be array, null given in src/addons/DBTech/Donate/XF/Purchasable/Donation.php at line 127

    XF::handlePhpError()
    in_array() in src/addons/DBTech/Donate/XF/Purchasable/Donation.php at line 127
    DBTech\Donate\XF\Purchasable\Donation->getPurchaseFromExtraData() in src/XF/Pub/Controller/Purchase.php at line 53
    XF\Pub\Controller\Purchase->actionProcess() in src/XF/Mvc/Dispatcher.php at line 249
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
    XF\App->run() in src/XF.php at line 328
    XF::runApp() in index.php at line 13
 
The plugin seems to be doing its work, processing seems to take place as well. However from time to time (about once a day) I get this error:

Code:
Server error log

    LogicException: Cannot instantiate XF:User (XFRM\XF\Entity\User) without primary key values src/XF/Mvc/Entity/Manager.php:690

    Generated by: Unknown account May 2, 2018 at 8:15 PM

Stack trace

#0 src/addons/DBTech/Donate/Action/Drive.php(136): XF\Mvc\Entity\Manager->instantiateEntity('XF:User', Array)
#1 src/addons/DBTech/Donate/Application/Core.php(173): DBTech\Donate\Action\Drive->actionIndex()
#2 src/addons/DBTech/Donate/Pub/Controller/Route.php(36): DBTech\Donate\Application\Core->runAction('DBTech\\Donate\\A...')
#3 src/XF/Mvc/Dispatcher.php(249): DBTech\Donate\Pub\Controller\Route->actionIndex(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Donate:R...', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'dbtechDonate', Object(DBTech\Donate\Pub\Controller\Route), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1894): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(39) "/donate/community-costs.1/drive?page=24"
  ["referrer"] => bool(false)
  ["_GET"] => array(2) {
    ["q"] => string(31) "/donate/community-costs.1/drive"
    ["page"] => string(2) "24"
  }
  ["_POST"] => array(0) {
  }
}
 
Hello @Nicky Vermeersch,

We hope your ticket regarding DragonByte Donate has been addressed to your satisfaction. This ticket has now been 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.
 
Status
Not open for further replies.

DragonByte Donate

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