1. Leonardo Dicaprio

    Leonardo Dicaprio - Jan 31, 2019 New Member VIP Member

    I really don't know why i got this error, i install and add event and then add product which is user name style, i tried to purchase and server error log appears in ACP

    Here is the log

    Error Info
    ErrorException: Array to string conversion - library/Brivium/StoreProduct/UserNameStyle/Model/ProductPurchase.php:57
    Generated By: xxx
    Stack Trace
    #0 /home/xxx.com/public_html/library/Brivium/StoreProduct/UserNameStyle/Model/ProductPurchase.php(57): XenForo_Application::handlePhpError(8, 'Array to string...', '/home/xxx.co...', 57, Array)
    #1 /home/xxx.com/public_html/library/Brivium/Store/Model/ProductPurchase.php(940): Brivium_StoreProduct_UserNameStyle_Model_ProductPurchase->_processPurchaseCache(Array, Array)
    #2 /home/xxx.com/public_html/library/Brivium/Store/ControllerPublic/Product.php(46): Brivium_Store_Model_ProductPurchase->rebuildProductPurchaseCache('UserNameStyle')
    #3 /home/xxx.com/public_html/library/XenForo/FrontController.php(351): Brivium_Store_ControllerPublic_Product->actionPurchase()
    #4 /home/xxx.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #5 /home/xxx.com/public_html/index.php(13): XenForo_FrontController->run()
    #6 {main}
    Request State
    array(3) {
      ["url"] => string(47) "https://xxx.com/brs-products/test.3/purchase"
      ["_GET"] => array(0) {
      ["_POST"] => array(3) {
        ["redirect"] => string(0) ""
        ["_xfToken"] => string(8) "********"
        ["_xfConfirm"] => string(1) "1"

    I just bought this addon for $20 and now i can't even use it for a hour, please fix this bug
    I'm using Credit premium 2.0.14 and php 7.1