Bug Donate Error

Status
Not open for further replies.
Tried to create PM Threshold, got error.

ErrorException: [E_WARNING] Illegal offset type in isset or empty src/addons/DBTech/Donate/Application/AbstractCache.php:158
Generated by: Hobby Mac Dec 31, 2017 at 10:58 AM
Stack trace
#0 src/addons/DBTech/Donate/Application/AbstractCache.php(158): XF::handlePhpError(2, 'Illegal offset ...', '/home/hobbymac/...', 158, Array)
#1 src/addons/DBTech/Donate/Application/EntityManager.php(88): DBTech\Donate\Application\AbstractCache->get('threshold', Array)
#2 src/addons/DBTech/Donate/ActionAbstract.php(169): DBTech\Donate\Application\EntityManager->findOne('DBTech\\Donate:T...', Array, NULL)
#3 src/addons/DBTech/Donate/ActionAdmin/Threshold.php(263): DBTech\Donate\ActionAbstract->assertRecordExists('DBTech\\Donate:T...', Array, NULL, NULL)
#4 src/addons/DBTech/Donate/ActionAdmin/Threshold.php(161): DBTech\Donate\ActionAdmin\Threshold->assertThresholdExists(Array)
#5 src/addons/DBTech/Donate/Application/Core.php(173): DBTech\Donate\ActionAdmin\Threshold->actionUpdate()
#6 src/addons/DBTech/Donate/Admin/Controller/Route.php(39): DBTech\Donate\Application\Core->runAction('threshold')
#7 src/XF/Mvc/Dispatcher.php(249): DBTech\Donate\Admin\Controller\Route->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Donate:R...', 'index', 'json', Object(XF\Mvc\ParameterBag), 'dbtech_donate', Object(DBTech\Donate\Admin\Controller\Route), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}
Request state
array(4) {
["url"] => string(34) "/admin.php?dbtech-donate/threshold"
["referrer"] => string(79) "https://www.hobby-machinist.com/admin.php?dbtech-donate/threshold&action=modify"
["_GET"] => array(1) {
["dbtech-donate/threshold"] => string(0) ""
}
["_POST"] => array(6) {
["action"] => string(6) "update"
["threshold"] => array(6) {
["title"] => string(17) "Example Threshold"
["description"] => string(20) "Example description."
["active"] => string(1) "1"
["minimum_amount"] => string(2) "25"
["pm_title"] => string(70) "Thank you for your donation of {amount_primary] to The Hobby-Machinist"
["pm_message"] => string(365) "Dear {username},
 
This may be related to a problem with the pm title: {amount_primary] notice the mismatching braces? Curly vs. non-curly.

Could you please correct that to {amount_primary} and try saving it again?

The error shouldn't occur, but I just wanna make sure whether it works if the text is correct.
 
Hello hobbymachinist,

This ticket has now been closed with the status No Response.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
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,929
Customer rating
5.00 star(s) 1 ratings
Back
Top