27. TypeError
…home…noncoupa…public_html_beta…src…Twig…Template.php390
26. Twig_Template getAttribute
…home…noncoupa…public_html_beta…tmp…cache…view…d0…40…8f54ffc9a1d5117b24b9625335b9.php28
25. __TwigTemplate_d0408f54ffc9a1d5117b24b9625335b9 doDisplay
…home…noncoupa…public_html_beta…src…Twig…Template.php264
24. Twig_Template displayWithErrorHandling
…home…noncoupa…public_html_beta…src…Twig…Template.php238
23. Twig_Template display
…home…noncoupa…public_html_beta…tmp…cache…view…96…28…adce6b3f14ee6a2dbf624c94acab.php86
22. __TwigTemplate_9628adce6b3f14ee6a2dbf624c94acab block_content
…home…noncoupa…public_html_beta…src…Twig…Template.php133
21. Twig_Template displayBlock
…home…noncoupa…public_html_beta…tmp…cache…view…74…58…eb73c5c96c69132d4cba9050656d.php411
20. __TwigTemplate_7458eb73c5c96c69132d4cba9050656d doDisplay
…home…noncoupa…public_html_beta…src…Twig…Template.php264
19. Twig_Template displayWithErrorHandling
…home…noncoupa…public_html_beta…src…Twig…Template.php238
18. Twig_Template display
…home…noncoupa…public_html_beta…tmp…cache…view…96…28…adce6b3f14ee6a2dbf624c94acab.php38
17. __TwigTemplate_9628adce6b3f14ee6a2dbf624c94acab doDisplay
…home…noncoupa…public_html_beta…src…Twig…Template.php264
16. Twig_Template displayWithErrorHandling
…home…noncoupa…public_html_beta…src…Twig…Template.php238
15. Twig_Template display
…home…noncoupa…public_html_beta…src…Twig…Template.php249
14. Twig_Template render
…home…noncoupa…public_html_beta…src…Twig…Environment.php288
13. Twig_Environment render
…home…noncoupa…public_html_beta…src…Anekdotes…View…View.php170
12. Anekdotes\View\View render
…home…noncoupa…public_html_beta…src…Anekdotes…Http…Response.php140
11. Anekdotes\Http\Response setContent
…home…noncoupa…public_html_beta…src…Anekdotes…Http…ViewResponse.php28
10. Anekdotes\Http\ViewResponse setContent
…home…noncoupa…public_html_beta…src…Anekdotes…Http…Response.php82
9. Anekdotes\Http\Response __construct
…home…noncoupa…public_html_beta…src…Anekdotes…Http…ViewResponse.php16
8. Anekdotes\Http\ViewResponse __construct
…home…noncoupa…public_html_beta…src…Anekdotes…View…View.php98
7. Anekdotes\View\View make
…home…noncoupa…public_html_beta…src…Anekdotes…Support…Facades…ServiceFacade.php35
6. Anekdotes\Support\Facades\ServiceFacade __callStatic
…home…noncoupa…public_html_beta…app…controllers…frontend…BaseController.php178
5. frontend\BaseController showNotreExpertise_CrimeSexuel
<#unknown>0
4. call_user_func_array
…home…noncoupa…public_html_beta…src…Anekdotes…Router…Route.php228
3. Anekdotes\Router\Route executeControllerAction
…home…noncoupa…public_html_beta…src…Anekdotes…Router…Route.php208
2. Anekdotes\Router\Route execute
…home…noncoupa…public_html_beta…src…Anekdotes…Router…Router.php174
1. Anekdotes\Router\Router run
…home…noncoupa…public_html_beta…src…Anekdotes…Application…Application.php99
0. Anekdotes\Application\Application run
…home…noncoupa…public_html_beta…index.php7

TypeError

array_key_exists(): Argument #2 ($array) must be of type array, Services\ServiceCategory given

/home/noncoupa/public_html_beta/src/Twig/Template.php
            throw new Twig_Error_Runtime(sprintf('Impossible to invoke a method ("%s") on a %s variable ("%s")', $item, gettype($object), $object), -1, $this->getTemplateName());
        }
 
        $class = get_class($object);
 
        // object property
        if (Twig_TemplateInterface::METHOD_CALL !== $type) {
            if (isset($object->$item) || array_key_exists((string) $item, $object)) {
                if ($isDefinedTest) {
                    return true;
/home/noncoupa/public_html_beta/tmp/cache/view/d0/40/8f54ffc9a1d5117b24b9625335b9.php
 
    <div class=\"expertise-links\">
      <h3 class=\"title\">Aussi défendu</h3>
      <ul>
        ";
        // line 7
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["category"]) ? $context["category"] : null), "servicest"), "get"));
        foreach ($context['_seq'] as $context["_key"] => $context["sideMenuService"]) {
            // line 8
/home/noncoupa/public_html_beta/src/Twig/Template.php
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getTemplateFile()) {
/home/noncoupa/public_html_beta/src/Twig/Template.php
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
    }
 
/home/noncoupa/public_html_beta/tmp/cache/view/96/28/adce6b3f14ee6a2dbf624c94acab.php
            <p>L’assistance d’un avocat de chez <i>Marcoux Elayoubi Raymond</i> fera nécessairement une différence dans votre dossier que vous vouliez contester vigoureusement ce que l’on vous reproche dans le cadre d’un procès ou que vous vouliez obtenir la sentence la plus clémente possible.</p>
            <p>Voici quelques repères pour vous guider dans ce large spectre d’infractions à caractère sexuel.</p>
          </div>
        </div>
        <div class=\"col-4 col-xs-12 pull-left\">
          ";
        // line 39
        $this->env->loadTemplate("@frontend/shared/layout/side-nav")->display($context);
        // line 40
        echo "        </div>
/home/noncoupa/public_html_beta/src/Twig/Template.php
    public function displayBlock($name, array $context, array $blocks = array())
    {
        $name = (string) $name;
 
        if (isset($blocks[$name])) {
            $b = $blocks;
            unset($b[$name]);
            call_user_func($blocks[$name], $context, $b);
        } elseif (isset($this->blocks[$name])) {
            call_user_func($this->blocks[$name], $context, $blocks);
/home/noncoupa/public_html_beta/tmp/cache/view/74/58/eb73c5c96c69132d4cba9050656d.php
        </div>
      </div>
    </header>
 
    <main id=\"main-content\">
      ";
        // line 157
        $this->displayBlock('content', $context, $blocks);
        // line 158
        echo "    </main>
/home/noncoupa/public_html_beta/src/Twig/Template.php
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getTemplateFile()) {
/home/noncoupa/public_html_beta/src/Twig/Template.php
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
    }
 
/home/noncoupa/public_html_beta/tmp/cache/view/96/28/adce6b3f14ee6a2dbf624c94acab.php
        $context["toptitle"] = t("Notre expertise", "Notre expertise");
        // line 5
        $context["topicon"] = t("/assets/img/frontend/pages/icone-stage-crime-sexuel@2x.png", "/assets/img/frontend/pages/icone-stage-crime-sexuel@2x.png");
        // line 6
        $context["title"] = t("Crime sexuel", "Crime sexuel");
        // line 8
        $context["head_img"] = "/assets/img/frontend/pages/services-avocats-criminalistes-montreal-sexuel.jpg";
        $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
    }
 
/home/noncoupa/public_html_beta/src/Twig/Template.php
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = array())
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Twig_Error $e) {
            if (!$e->getTemplateFile()) {
/home/noncoupa/public_html_beta/src/Twig/Template.php
    }
 
    /**
     * {@inheritdoc}
     */
    public function display(array $context, array $blocks = array())
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
    }
 
/home/noncoupa/public_html_beta/src/Twig/Template.php
     * {@inheritdoc}
     */
    public function render(array $context)
    {
        $level = ob_get_level();
        ob_start();
        try {
            $this->display($context);
        } catch (Exception $e) {
            while (ob_get_level() > $level) {
/home/noncoupa/public_html_beta/src/Twig/Environment.php
     * @param string $name    The template name
     * @param array  $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     */
    public function render($name, array $context = array())
    {
        return $this->loadTemplate($name)->render($context);
    }
 
/home/noncoupa/public_html_beta/src/Anekdotes/View/View.php
      $vars = $this->values;
      $defaultlayoutPath = Config::get('app.default_layout', null);
      if ($this->layout != '' && $this->loader->exists($this->layout)) {
        $vars['layout'] = $this->twig->loadTemplate($this->layout);
      } else if ($defaultlayoutPath != null && $this->loader->exists($defaultlayoutPath)) {
        $vars['layout'] = $this->twig->loadTemplate($defaultlayoutPath);
      }
      return $this->twig->render($fullPath, $vars);
    } else {
      throw new HttpException('Template file not found ('.$fullPath.')', 500);
/home/noncoupa/public_html_beta/src/Anekdotes/Http/Response.php
  public function setContent($content) {
    $this->original = $content;
 
    if ($this->shouldBeJson($content)) {
      $this->headers->set('Content-Type', 'application/json');
      $content = $this->morphToJson($content);
    } elseif ($content instanceof RenderableInterface){
      $content = $content->render();
    }
 
/home/noncoupa/public_html_beta/src/Anekdotes/Http/ViewResponse.php
  }
 
  public function setContent($view) {
    if (!$view instanceof \Anekdotes\View\View) {
      throw new ArgumentException('Response view must be an instance of \Anekdotes\View\View.');
    }
 
    return parent::setContent($view);
  }
 
/home/noncoupa/public_html_beta/src/Anekdotes/Http/Response.php
        510 => 'Not Extended',                                                // RFC2774
        511 => 'Network Authentication Required',                             // RFC6585
    );
 
  public function __construct($content = '', $status = 200, $headers = array()) {
    $this->headers = new Registry();
    $this->cookies = array();
    $this->setContent($content);
    $this->setStatusCode($status);
  }
/home/noncoupa/public_html_beta/src/Anekdotes/Http/ViewResponse.php
  handles well objects that implements Renderable interface but we might want to do some
  special voodo magic in the Router if the response is a View, having a class name to do
  some "instanceof" check's will be useful.
*/
class ViewResponse extends Response {
 
  public function __construct($view, $status = 200, $headers = array()) {
    parent::__construct($view, $status, $headers);
  }
 
/home/noncoupa/public_html_beta/src/Anekdotes/View/View.php
  public function make($path, $data = array(), $fromRoot = false, $status = 200) {
    $view = new self($path, $data, $fromRoot);
    $view->setLoader($this->getLoader());
    $view->setTwig($this->getTwig());
    $view->setExtensionContainer($this->getExtensionContainer());
    $view->setPrefix($this->getPrefix());
    $view->setLayout($this->getLayout());
    $response = new ViewResponse($view, $status);
    return $response;
  }
/home/noncoupa/public_html_beta/src/Anekdotes/Support/Facades/ServiceFacade.php
      case 0:
        return $instance->$method();
 
      case 1:
        return $instance->$method($args[0]);
 
      case 2:
        return $instance->$method($args[0], $args[1]);
 
      case 3:
/home/noncoupa/public_html_beta/app/controllers/frontend/BaseController.php
    return View::make('@frontend/../pages/notre-expertise/alcool-au-volant/index', array(
      'category' => $this->getCategory('alcool-au-volant')
    ));
  }
 
  public function showNotreExpertise_CrimeSexuel() {
    return View::make('@frontend/../pages/notre-expertise/crime-sexuel/index', array(
      'category' => $this->getCategory('crime-sexuel')
    ));
  }
<#unknown>
/home/noncoupa/public_html_beta/src/Anekdotes/Router/Route.php
    if ($beforeResult instanceof \Anekdotes\View\View || $beforeResult instanceof \Anekdotes\Router\Redirector || gettype($beforeResult) == 'string') {
      return $beforeResult;
    }
 
    // Call method
    if (method_exists($controller, $action)) {
      $result = call_user_func_array(
          array($controller, $action),
          $params
        );
/home/noncoupa/public_html_beta/src/Anekdotes/Router/Route.php
        );
    }
    elseif ($this->actiontype == static::A_CONTROLLER_ACTION) {
      $controllerAndAction = explode('@', $this->action);
      $controllerName = '\\'.ltrim($controllerAndAction[0], '\\');
      $controller = new $controllerName($app);
      return $this->executeControllerAction(
          $controller,
          $controllerAndAction[1],
          $routeParamsValues
/home/noncoupa/public_html_beta/src/Anekdotes/Router/Router.php
    $currentUri = Request::uri(); // More speedy to not request each time
    foreach (static::$routes as $route) {
      if ($route->match($currentUri)) {
        $matchFound = true;
        static::$currentRoute = $route;
 
        // Execute the route action
        $routeResult = $route->execute($app, $currentUri);
        if ($routeResult instanceof \Anekdotes\Http\Response) {
          $app->response = $routeResult;
/home/noncoupa/public_html_beta/src/Anekdotes/Application/Application.php
      $app->response->setContent('An error occured during the execution of your request! (500)');
    });
 
    // Execute request
    ob_start();
    try {
      $this->runFilters('before');
      Router::run($this);
      $this->runFilters('after');
    } catch(HttpException $e) {
/home/noncoupa/public_html_beta/index.php
<?php
 
require __DIR__.'/app/autoload.php';
 
$app = require __DIR__.'/app/start.php';
 
$app->run();
$app->shutdown();
 
Key Value
HTTP_HOST beta.noncoupable.ca
DOCUMENT_ROOT /home/noncoupa/public_html_beta
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_COOKIE PHPSESSID=ibac7k3obncb2cqpkvjpi0mo82
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_HOST beta.noncoupable.ca
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER beta.noncoupable.ca
HTTP_X_REAL_IP 216.73.216.141
REDIRECT_UNIQUE_ID aX9541o1Bl8zvOr5e-XtZAAAAQM
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI beta.noncoupable.ca
REDIRECT_STATUS 200
UNIQUE_ID aX9541o1Bl8zvOr5e-XtZAAAAQM
HTTPS on
SSL_TLS_SNI beta.noncoupable.ca
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME beta.noncoupable.ca
SERVER_ADDR 104.254.183.92
SERVER_PORT 443
REMOTE_ADDR 216.73.216.141
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/noncoupa/public_html_beta
SERVER_ADMIN webmaster@beta.noncoupable.ca
SCRIPT_FILENAME /home/noncoupa/public_html_beta/index.php
REMOTE_PORT 55384
REDIRECT_URL /notre-expertise/crime-sexuel
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /notre-expertise/crime-sexuel
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1769961955.0701
REQUEST_TIME 1769961955
empty
empty
empty
Key Value
PHPSESSID ibac7k3obncb2cqpkvjpi0mo82
Key Value
_token eTzoxhT9ShZy5yg6Y9YI7Da84MUsYsBJXUqwpBhA
Key Value
DB_DRIVER mysql
DB_HOST localhost
DB_NAME noncoupa_papa_beta
DB_USERNAME noncoupa_papa
DB_PASSWORD ?L(Nn7Z[g?_0
DB_PORT 3306
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler