Bug TypeError: Macro public:dbtech_shop_transaction_macros

Status
Not open for further replies.
Next one...
Code:
     TypeError: Macro public:dbtech_shop_transaction_macros :: info() error: Argument 1 passed to DBTech\Shop\Entity\Currency::getFormattedValue() must be of the type float, null given src/addons/DBTech/Shop/Entity/Currency.php:150
Code:
#0 [internal function]: DBTech\Shop\Entity\Currency->getFormattedValue()
#1 src/XF/Template/Templater.php(1166): call_user_func_array()
#2 internal_data/code_cache/templates/l2/s0/public/dbtech_shop_transaction_macros.php(131): XF\Template\Templater->method()
#3 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}()
#4 internal_data/code_cache/templates/l2/s0/admin/dbtech_shop_log_transaction_view.php(55): XF\Template\Templater->callMacro()
#5 src/XF/Template/Templater.php(1609): XF\Template\Templater->{closure}()
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate()
#7 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#8 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback()
#9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Json->renderView()
#10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView()
#11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply()
#12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render()
#13 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#14 src/XF.php(465): XF\App->run()
#15 admin.php(13): XF::runApp()
#16 {main}

Code:
array(4) {
  ["url"] => string(200) "/admin.php?dbtech-shop/logs/transactions/21/&_xfRequestUri=%2Fadmin.php%3Fdbtech-shop%2Flogs%2Ftransactions%2F&_xfWithData=1&_xfToken=1603399741%2C870fa1aff643fadec5d224ba1155c56f&_xfResponseType=json"
  ["referrer"] => string(57) "***/admin.php?dbtech-shop/logs/transactions/"
  ["_GET"] => array(5) {
    ["dbtech-shop/logs/transactions/21/"] => string(0) ""
    ["_xfRequestUri"] => string(41) "/admin.php?dbtech-shop/logs/transactions/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1603399741,870fa1aff643fadec5d224ba1155c56f"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Can you run this query on the database:
SQL:
SELECT info
FROM xf_dbtech_shop_transaction_log
WHERE transaction_log_id = 21
and let me know the result?

The correct fix depends on the outcome of that query :)
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future release (6.4.2).

Change log:
Fix: (Potentially) resolve an error that could occur when viewing older transaction log entries

 
v6.4.2 will have a fix for this, if it doesn't end up resolving the issue please post back and I'll investigate on site :)
 
Hello @DimitryMarvel,

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.
 
Status
Not open for further replies.

DragonByte Shop

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
3,640
Customer rating
5.00 star(s) 3 ratings
Back
Top