Olá Lino,
Desculpe perturbar mas tem uma possessão demoniaca acontecendo numa instalacao minha.
um reles moodle 3.10.
baixei o badiunet, instalei, nao deu erro nenhum... abriu a primeira tela normalmente (https://ava.impulsiona.org.br/local/badiunet), caindo na https://ava.impulsiona.org.br/local/badiunet/fcservice/index.php
clicando em qualquer opção tenho a seguinte resposta.
Ele estágerando uma excessão, com o path maluco... não tenho a menor ideia de onde ele tirou isso "/home/service/src/Badiu/" ...
Sugestão para sanar isso?
trace ------------------
STACK TRACE
- in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php at line 154
$sql="SELECT DISTINCT itemmodule FROM {_pfx}grade_items WHERE itemtype !='course' ORDER BY itemmodule";
$result=$sqlservice->search($sql);
$list=array();
foreach ($result as $row) {
$itemmodule=$this->getUtildata()->getVaueOfArray($row,'itemmodule');
$list[$itemmodule]=$itemmodule;
}
- at ErrorHandler ->handle ('2', 'Invalid argument supplied for foreach()', '/home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php', '154', array('sqlservice' => object(BadiuSqlService), 'sql' => 'SELECT DISTINCT itemmodule FROM {_pfx}grade_items WHERE itemtype !='course' ORDER BY itemmodule', 'result' => '', 'list' => array()))
in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php at line 154 - at CoreFormDataOptions ->getPluginsWithGrade ()
in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormConfigChoice.php at line 61 - at FormConfigChoice ->getDefaultChoice (object(FormField))
in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormFactoryConfig.php at line 223 - at FormFactoryConfig ->getFormDefaultOptions (object(FormField))
in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormFactoryConfig.php at line 40 - at FormFactoryConfig ->get ('badiu.moodle.mreport.grade.grade.frontpage')
in /home/service/src/Badiu/System/CoreBundle/Model/Functionality/BadiuHtmlContentService.php at line 102 - at BadiuHtmlContentService ->init ()
in /home/service/src/Badiu/System/CoreBundle/Model/Functionality/BadiuHtmlContentService.php at line 190 - at BadiuHtmlContentService ->exec ()
in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Util/ManageRemoteRequest.php at line 56 - at ManageRemoteRequest ->processService ()
in /home/service/src/Badiu/System/CoreBundle/Controller/Functionality/BadiuController.php at line 1973 - at BadiuController ->serviceProcessAction (object(Request))
- at call_user_func_array (array(object(BadiuController), 'serviceProcessAction'), array(object(Request)))
in kernel.root_dir/bootstrap.php.cache at line 2947 - at HttpKernel ->handleRaw (object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2909 - at HttpKernel ->handle (object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 3058 - at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2308 - at Kernel ->handle (object(Request))
in /home/service/public_html/app_dev.php at line 30
- INFO - Matched route "badiu.system.core.service.process" (parameters: "_controller": "Badiu\System\CoreBundle\Controller\Functionality\BadiuController::serviceProcessAction", "_route": "badiu.system.core.service.process")
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Badiu\System\AccessBundle\Model\Auth\LoggedInUserListener::onKernelRequest".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
- CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Invalid argument supplied for foreach() in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php line 154" at /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php line 154
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Badiu\System\AccessBundle\Model\Auth\LoggedInUserListener::onKernelRequest".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".