Solved Syntax error

Bastty

Licensed
Licensed
Credit System
SEO Optimization
Joined
Sep 27, 2022
Messages
4
Reaction score
1
Server error log
Code:
    ParseError: syntax error, unexpected ')' src/addons/XenSoluce/CreditSystem/Repository/Credit.php(218) : eval()'d code:1

    Generated by: eL_ Sep 27, 2022 at 7:13 PM

Stack trace​

Code:
#1 src/XF/Mvc/Entity/Entity.php(1272): XenSoluce\CreditSystem\Entity\CreditModified->_postSave()
#2 src/XF/Mvc/FormAction.php(71): XF\Mvc\Entity\Entity->save(true, false)
#3 src/XF/Mvc/FormAction.php(189): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#4 src/addons/XenSoluce/CreditSystem/Admin/Controller/Credit.php(730): XF\Mvc\FormAction->run()
#5 src/XF/Mvc/Dispatcher.php(352): XenSoluce\CreditSystem\Admin\Controller\Credit->actionUsersView(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XenSoluce\\Credi...', 'UsersView', Object(XF\Mvc\RouteMatch), Object(XenSoluce\CreditSystem\Admin\Controller\Credit), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenSoluce\CreditSystem\Admin\Controller\Credit), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}

Request state​

Code:
array(4) {
  ["url"] => string(37) "/admin.php?credit/users/portal-bot.2/"
  ["referrer"] => string(56) "https://we-play.pro/admin.php?credit/users/portal-bot.2/"
  ["_GET"] => array(1) {
    ["credit/users/portal-bot_2/"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["value"] => string(2) "25"
    ["reason"] => string(0) ""
    ["_xfRequestUri"] => string(37) "/admin.php?credit/users/portal-bot.2/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Hello

Server error log
Code:
    ParseError: syntax error, unexpected ')' src/addons/XenSoluce/CreditSystem/Repository/Credit.php(218) : eval()'d code:1

    Generated by: eL_ Sep 27, 2022 at 7:13 PM

Stack trace​

Code:
#1 src/XF/Mvc/Entity/Entity.php(1272): XenSoluce\CreditSystem\Entity\CreditModified->_postSave()
#2 src/XF/Mvc/FormAction.php(71): XF\Mvc\Entity\Entity->save(true, false)
#3 src/XF/Mvc/FormAction.php(189): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#4 src/addons/XenSoluce/CreditSystem/Admin/Controller/Credit.php(730): XF\Mvc\FormAction->run()
#5 src/XF/Mvc/Dispatcher.php(352): XenSoluce\CreditSystem\Admin\Controller\Credit->actionUsersView(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XenSoluce\\Credi...', 'UsersView', Object(XF\Mvc\RouteMatch), Object(XenSoluce\CreditSystem\Admin\Controller\Credit), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenSoluce\CreditSystem\Admin\Controller\Credit), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}

Request state​

Code:
array(4) {
  ["url"] => string(37) "/admin.php?credit/users/portal-bot.2/"
  ["referrer"] => string(56) "https://we-play.pro/admin.php?credit/users/portal-bot.2/"
  ["_GET"] => array(1) {
    ["credit/users/portal-bot_2/"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["value"] => string(2) "25"
    ["reason"] => string(0) ""
    ["_xfRequestUri"] => string(37) "/admin.php?credit/users/portal-bot.2/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Can you give me the formula you put in the option
 
Hello,

This is fixed in the 2.1.3 version !

Regards, SyTry
 
Solution
Back
Top Bottom