Symfony Exception

InvalidParameterException RuntimeError

HTTP 500 Internal Server Error

An exception has been thrown during the rendering of a template ("Parameter "firstname" for route "frontend_offerIndividualProfile" must match "[A-Za-z.0-9- ]+" ("Hervé-Jean" given) to generate a corresponding URL.").

Exceptions 2

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#802
  -lineno: 221
  -name: "Message/publicnetwork.html.twig"
  -rawMessage: "An exception has been thrown during the rendering of a template ("Parameter "firstname" for route "frontend_offerIndividualProfile" must match "[A-Za-z.0-9- ]+" ("Hervé-Jean" given) to generate a corresponding URL.")."
  -sourcePath: "/usr/www/users/smartm/templates/Message/publicnetwork.html.twig"
  -sourceCode: """
    {% extends "baserfp.html.twig" %}\n
    {% block head %}\n
    <title>\n
        {% if metatitletag is not defined %}\n
            {{firstname}}&nbsp;{{lastname}}'s Network | Smart Money Match\n
            {% elseif metatitletag=='publictag' %}\n
                {{firstname}}&nbsp;{{lastname}}'s Public Network | Smart Money Match\n
                {% elseif metatitletag=='sharedtag' %}\n
                {{firstname}}&nbsp;{{lastname}}'s Shared Network | Smart Money Match\n
                 {% elseif metatitletag=='recenttag' %}\n
                {{firstname}}&nbsp;{{lastname}}'s Recently Added Network | Smart Money Match\n
                {% endif %}</title>\n
            {% set desscc = "See the professional contacts of "~firstname~" "~lastname %} \n
         <meta name="description" content="{{desscc}}">\n
         {% set currentPath = path(app.request.attributes.get('_route'),\n
          app.request.attributes.get('_route_params')) %}\n
          {% set currentPath2 = "https://www.smartmoneymatch.com"~currentPath %}\n
    \t   {% set ttstr = [] %}\n
    \t\t  {% set ttstr = currentPath|split("/") %}\n
          \n
         <link rel="canonical" href="https://www.smartmoneymatch.com/{{firstname}}.{{lastname}}/network" />\n
         {% set saluation = '' %}\n
            {% if location[0]['saluation'] is defined and location[0]['saluation']=="ms" %}\n
                {% set saluation = 'Female' %}\n
                {% elseif location[0]['saluation'] is defined %} {% set saluation = 'Male' %}\n
                    {% endif %}\n
    \t\t\t\t\t{% set ddcomp = '' %}{% set ddcompos = '' %}\n
    \t\t\t\t\t{% if defaultCompany[0] is defined and defaultCompany[0]['company_name']!="" %}\n
    \t\t\t\t\t\t{% set ddcomp = defaultCompany[0]['company_name'] %}\n
    \t\t\t\t\t\t\t{% endif %}\n
    \t\t\t\t\t\t\t{% if defaultCompany[0] is defined and defaultCompany[0]['position']!="" %}\n
    \t\t\t\t\t\t\t\t{% set ddcompos = defaultCompany[0]['position'] %}\n
    \t\t\t\t\t\t\t{% endif %}\n
       <script type="application/ld+json">\n
                                {\n
                  "@context": "https://schema.org",\n
                  "@type": "Person",\n
                  "address": {\n
                    "@type": "PostalAddress",\n
                    "addressLocality": "{{location[0]['city']}}",\n
                    "addressRegion": "{{country_of_domicile}}",\n
                    "postalCode": "{{location[0]['zipcode']}}",\n
                    "streetAddress": "{{location[0]['locations']}}",\n
    \t\t"ContactType": "{{location[0]['contact_number']}}"\n
                  },\n
                  "itemReviewed": {\n
                    "@type": "Article",\n
                    "name": "{{firstname}}",\n
                     "image": "https://www.smartmoneymatch.com/var/uploads/files/{{lang_results[0]['photo']}}",\n
                     "url": "https://www.smartmoneymatch.com/{{firstname}}.{{lastname}}",\n
                     "author": {\n
                     "@type": "Person",\n
                     "name": "{{firstname}}",\n
                     "url": "https://www.smartmoneymatch.com/{{firstname}}.{{lastname}}"\n
                      },\n
                     "headline": "{{location[0]['tagline']}}"\n
                  },\n
                  "email": "mailto:{{usernames}}",\n
                  "faxNumber": "{{location[0]['fax']}}",\n
                  "image": "{{lang_results[0]['photo']}}",\n
                  "knowsLanguage": "{{lang_results[0]['language_known']}}",\n
                  "description": "{{location[0]['tagline']}}",\n
                  "jobTitle": "{{ddcompos}}",\n
                  "name": "{{firstname}}",\n
                  "givenName": "{{firstname}}",\n
                  "familyName": "{{lastname}}",\n
                  "gender": "{{saluation}}",\n
                  "worksFor": "{{ddcomp}}",\n
                  "telephone": "{{location[0]['contact_number']}}",\n
                  "url": "http://www.smartmoneymatch.com/{{firstname}}{{'.'}}{{lastname}}{{'/network'}}"\n
                }\n
        </script>\n
    {{parent()}}\n
    \t\t{% endblock %}\n
    {% block body %}\n
        <!DOCTYPE html>\n
    \n
           <style>\n
               .tagcls ul li:nth-child(n+3) {\n
                   display:none;\n
               }\n
               li {\n
                   list-style-type : none;\n
               }\n
           </style>\n
    {% if loggedinuser_id != "" %}       \n
        {% if user_comp_associate is defined %} \n
            {% if user_comp_associate != 0 %}\n
    \t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': 'Profile','profile':'0','company_id':companyid,'user_comp_associate': user_comp_associate})) }}\n
            {% else %}\n
                \n
    \t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': 'Profile','profile':'1','company_id':companyid,'allcompanyuserAssoc': allcompanyuserAssoc})) }}\n
            {% endif %}\n
        {% elseif profile_view == "own" %}  \n
                \n
    \t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': 'Profile','profile':'0','user_id': user_id})) }}\n
                {% else %}  \n
                \n
    \t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': 'Profile','profile':'1','user_id': user_id,'allcompanyuserAssoc': allcompanyuserAssoc})) }}\n
            {% endif %}\n
    {% endif %}\n
    <!--breadcrumb-main Closed-->\n
    <div class="white-bg">\n
      <div class="container">\n
          {% if(companyid is defined )%}\n
              \n
    \t\t    {{ render(controller('App\\Controller\\CompanyController::profileHeaderAction', {'companyname': comp_results[0]['company_name'],'user_comp_associate': user_comp_associate})) }}\n
          {% else %} \n
              \n
    \t\t  {{ render(controller('App\\Controller\\OfferinvestmentController::profileHeaderIndividualAction', {'userId': user_id,'profileType':profile_view,'url_last_name' : url_last_name})) }}\n
          {% endif %}\n
          <!--Navigarion tab section mobile view start-->\n
        <div class="col-xs-12 visible-xs mbottom20">\n
          <select class="selectpicker">\n
              {% if user_id!="" %}\n
            <option>Profile</option>\n
            {% endif %}\n
            <option>People</option>\n
            <option>Investment Interests </option>\n
            <option>Offered Investment</option>\n
            <option>Services</option>\n
          </select>\n
        </div>\n
        <!--Navigarion tab section mobile view start-->\n
        <!--Navigarion tab section desktop/iPad view start-->\n
        <div class="hidden-xs tab-2">\n
          <ul class="content-menu"> \n
                {% if profile_view is not defined %}\n
                    <li {% if profile is defined and profile == 'Profile' %} class="active" {% endif %}><a href="{{ path('frontend_companyprofilepage', {'companyname':company_name}) }}">Profile</a></li>\n
                {% else %}\n
                    <li {% if profile is defined and profile == 'Profile' %} class="active" {% endif %}><a href="{{ path('frontend_offerIndividualProfile', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Profile</a></li>\n
                {% endif %}\n
            {% if profile_view is not defined %}\n
                <li {% if profile is defined and profile == 'People' %} class="active" {% endif %}><a href="{{ path('frontend_companyname_people', {'companyname':company_name}) }}">People</a></li>\n
            {% else %}\n
                <li {% if profile is defined and profile == 'Network' %} class="active" {% endif %}><a href="{{ path('frontend_publicnetwork', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Network</a></li>\n
            {% endif %}\n
            {% if profile_view is not defined %}\n
            <li {% if profile is defined and profile == 'Investment Interests' %} class="active" {% endif %}><a href="{{ path('frontend_investorinterestpublicorg', {'compnamess':company_name}) }}">Investment Interests</a></li>\n
            {% else %}\n
                <li {% if profile is defined and profile == 'Investment Interests' %} class="active" {% endif %}><a href="{{ path('frontend_investorinterestpublicindividual', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Investment Interests</a></li>\n
            {% endif %}\n
            {% if profile_view is not defined %}\n
            <li {% if profile is defined and profile == 'Investments' %} class="active" {% endif %}><a href="{{ path('investor_interest_public_or', {'compnamess':company_name}) }}">Offered Investments </a></li>\n
            {% else %}\n
                <li {% if profile is defined and profile == 'Investments' %} class="active" {% endif %}><a href="{{ path('frontend_offerIndividualProfileInvestments', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Offered Investments</a></li>\n
            {% endif %}\n
                {% if profile_view is not defined %}\n
            <li {% if profile is defined and profile == 'Services' %} class="active" {% endif %}><a href="{{ path('frontend_companyname_services', {'companyname':company_name}) }}">Services</a></li>\n
            {% else %}\n
                <li {% if profile is defined and profile == 'Services' %} class="active" {% endif %}><a href="{{ path('frontend_offerIndividualProfileServices', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Services</a></li>\n
            {% endif %}\n
          </ul>\n
        </div>\n
        <!--Navigarion tab section desktop/iPad view end-->\n
      </div>\n
    </div>\n
    <!--white-bg Closed-->\n
    <!--Content part start-->\n
    <div class="container">\n
      <div class="col-xs-12">\n
        <div class="row">\n
          <div class="mtop20 white-background padd20">\n
            <ul class="social-share pull-right">\n
              <li><a href="{{ path('frontend_publicnetwork', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" >All ({{ mynetwork|length }})</a></li>\n
              {% if app.user.id is defined and app.user.id is not empty %} <li><a href="{{ path('frontend_sharednetwork', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Shared contacts ({{ shareUser|length }})</a></li> {% endif %}\n
              <li><a href="{{ path('frontend_recentlyadded', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}">Recently added ({{ recentlyAdd|length }})</a></li>\n
            </ul>\n
            <div class="clearfix"></div>\n
            <div class="col-xs-12 col-sm-5 col-md-4 pull-right mtop10">\n
              <div class="row">\n
                <div class="input-group stylish-input-group">\n
                  <input type="text" placeholder="Search" class="form-control" id="searchuser">\n
                  <span class="input-group-addon">\n
                  <button type="button"  onClick="searchuserdata()"> <span class="glyphicon glyphicon-search text-green"></span> </button>\n
                  </span> </div>\n
              </div>\n
            </div>\n
            <!--Shorting with alphabet section start-->\n
            <div class="col-xs-12 col-sm-12 col-md-8 mtop10">\n
              <div class="row alphabet-sort">\n
                <ul class="pagination">\n
                  <li id="all_ids" class="active"><a href="javascript:void(0);" onclick="getnetwork('all')">All</a></li>\n
                    {% for letter in 'A'..'Z' %}\n
                        {% if letter in boldChar %}\n
                            <li id="{{ letter }}_ids" >\n
                                    <a href="javascript:void(0);" onclick="getnetwork('{{ letter }}')">{{ letter }}</a></li>\n
                         {% else %}\n
                            <li id="{{ letter }}_ids" class="disabled">\n
                                    <a href="javascript:void(0);" >{{ letter }}</a></li>\n
                         {%  endif %}\n
                    {% endfor %}\n
                </ul>\n
              </div>\n
            </div>\n
            <!--Shorting with alphabet section start-->\n
            <hr class="border-dark mtop20">\n
            <div  class="col-xs-12">\n
              <div class="row"> \n
                <!-- scroll section starts here -->\n
                            <!--repeat section for loop start-->\n
                    {% if mynetwork|length %}\n
                        <div id="inner-content-div-lg"> \n
                          {% for key,net in mynetwork %}\n
                              {% if net.duplicate_tag=="yes" %}\n
                             {% set multiProfileEnabled22 = net.last_name~'.'~net.userid %}\n
                             {% else %}\n
                                 {% set multiProfileEnabled22 = net.last_name %}\n
                                 {% endif %}\n
                              <div class="col-md-3 col-sm-4 col-xs-12 mtop20">\n
                                <div class="img-fix">\n
                                    {% set alttag = '' %}\n
                                    {% if publicuseraltarr[net['userid']] is defined and publicuseraltarr[net['userid']]!="" %}\n
                                        {% set alttag = publicuseraltarr[net['userid']] %}\n
                                        {% elseif net['alt'] is defined and net['alt']!="" %}\n
                                            {% set alttag = net['alt'] %}\n
                                            {% endif %}\n
                                      {% if net.photo is defined and net.photo  != "" %}\n
                                          <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"><img alt="{{alttag}}" style="width:250px;height:241px" class="img-responsive netupic" id="{{net.userid}}" src="{{baseurlss}}/images/prof-img.jpg" loading="lazy" width="250px" height="241px" /></a>                              \n
                                      {% else %} \n
                                      <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"><img alt="{{alttag}}" style="width:250px;height:241px" class="img-responsive" src="{{baseurlss}}/images/prof-img.jpg" loading="lazy"></a>\n
                                      {% endif %}\n
                                </div>\n
                                <div class="col-xs-12 mtop10">\n
                                  <div class="row tagcls">\n
                                      <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"> <h4 class="nomargin">{{net.first_name}}&nbsp;{{net.last_name}} </h4></a>\n
                                        <p class="mtop10 nobottom-margin p-height">\n
                                            {% if net.companyname is defined and net.companyname!= "" %}\n
                                                {% if net.position is defined and net.position!="" %}{{ net.position }}{% else %} Working {% endif %} at <a href="{{ path('frontend_companyprofilepage', {'companyname':net.companyname}) }}">{{net.companyname}}</a>\n
                                          {% endif %}\n
                                       </p>\n
                                  </div>\n
                                  <div class="row text-center">\n
                                 {% if net.userid is defined and net.userid is not empty %}\n
                                                  \n
    \t\t\t\t\t\t\t\t\t\t\t\t   {{ render(controller(\n
            'App\\Controller\\MessageController::connectionsetAction',\n
            {'uid':net.userid }\n
    \t\t\t\t  )) }} \n
                                                       {% endif %}\n
                                  </div>\n
                                </div>\n
                              </div>\n
                           {% endfor %}\n
                     </div>\n
                    {% else %}\n
                       <div id="iner-content-div-lg"> \n
                        <div class="col-md-3 col-sm-4 col-xs-12 mtop20">\n
                            No contacts in network\n
                        </div> </div>\n
                    {% endif %}\n
                <!-- scroll section Ends here --> \n
              </div>\n
            </div>\n
          </div>\n
        </div>\n
      </div>\n
    </div>\n
    <div class="row">\n
      <div class="col-sm-12">\n
        <div class="row"> \n
          <!-- new message modal starts here -->\n
     <form method="post" name="createform" id="createform">      \n
            <div class="modal fade" id="message1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">\n
              <div class="modal-dialog" role="document">\n
                <div class="modal-content padd20">\n
                  <div class="modal-header">\n
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\n
                    <h2 class="modal-title text-green">New Message</h2>\n
                  </div>\n
                  <hr class="border-dark">\n
                  <div class="clearfix"></div>\n
                          <div class="modal-body">\n
                           <div class="form-group">       \n
                                <div class="col-xs-12"><div class="row"> <label> To:  </label></div></div>\n
                                <div class="col-xs-12"><div class="row" id="toname"> </div>  </div>     \n
                           </div>\n
                           <input id="receiverid" type="hidden" name="receiverid">\n
                           <div class="form-group">\n
                           <div class="col-xs-12"><div class="row"> <label> Subject:  </label></div></div>\n
                           <div class="col-xs-12"><div class="row"><input  name="subject" class="form-control" placeholder="New topic" type="text"> </div>  </div>     \n
                           </div>\n
                           <hr class="border-dark">\n
                            <div class="form-group">\n
                           <div class="col-xs-12"><div class="row"><label> Message: </label></div></div>\n
                           <div class="col-xs-12"><div class="row"> <textarea class="form-control" rows="6" name="message"></textarea> </div>  </div>     \n
                           </div>\n
                          </div>\n
                    </form>\n
                  <div class="clearfix"></div>\n
                  <hr class="border-dark">\n
                  <div class="col-xs-12 mtop10"><div class="row">\n
                    <a href="javascript:void(0)" class="pull-left" data-dismiss="modal">Cancel</a>\n
                    <button type="submit" class="btn padd-btn-all btn-variation pull-right text-wrap">Send</button>\n
                  </div></div>\n
                  <div class="clearfix"></div>\n
                </div>\n
              </div>\n
            </div>\n
     </form>\n
    <!-- new message modal Ends here -->\n
        </div>\n
      </div>\n
    </div>                            \n
    {% if comp_results is defined %}                                \n
    <script> \n
    $(function(){\n
        $('.selectpicker').selectpicker();\n
    });\n
    </script>\n
    {% elseif profile_view is defined %}\n
        <script>\n
           function callnetuids(netuids){\n
              $.ajax({\n
                            type: "POST",\n
                            async: true,\n
                            url: '{{ path("frontend_getmynetpics") }}',\n
                            data: {"netuid": netuids},                \n
                            beforeSend: function () {\n
                            },\n
                            success: function (data) { \n
                                var srcc = "/var/uploads/profile_pics/"+data;\n
                                var htmll = '<img style="width:250px;height:241px" class="img-responsive" src="'+srcc+'" loading="lazy" width="250px" height="241px" />';\n
                                $("#"+netuids).parent().html(htmll);\n
                            }\n
                        }); \n
           } \n
    $(function(){ \n
        var firstnamess = "{{firstname}}";\n
                var lastnamess = "{{lastname}}";\n
                var verticalindus = "{{verticalindus}}";\n
        if(verticalindus=="yes"){  \n
                               //window.location.href= "https://www.educationstake.com/"+firstnamess+"."+lastnamess+"/network";\n
                           }\n
                  $(".netupic").each(function(){\n
                      var netuid = $(this).attr("id");\n
                      if(netuid!=""){\n
                          callnetuids(netuid);\n
                      }\n
                  });\n
        if($(".switch-div").is(":visible")){ \n
            }\n
            else {\n
               var serviceInfo =  "{{serviceInfo}}";\n
               var investmentInfo = "{{investmentInfo}}";\n
               var interestInfo = "{{interestInfo}}";\n
                                        if(serviceInfo==""){ \n
                                            $(".content-menu li").each(function(){\n
                                            if($.trim($(this).text())=="Services"){ $(this).hide(); \n
                                            }     \n
                                            });\n
                                        }\n
                                    if(investmentInfo==""){ \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Offered Investments"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
                                    if(interestInfo==""){  \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Investment Interests"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
            }\n
            $("#switch-profile").on('change', function(){ \n
           var profileselected = $(this).val();\n
           if(profileselected == "public"){\n
              var serviceInfo = "{{serviceInfo}}"; \n
              var investmentInfo = "{{investmentInfo}}";\n
              var interestInfo = "{{interestInfo}}";\n
                                    if(serviceInfo==""){ \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Services"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
                                    if(investmentInfo==""){ \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Offered Investments"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
                                    if(interestInfo==""){  \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Investment Interests"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
           } else {\n
              $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Services" || $.trim($(this).text())=="Offered Investments" || $.trim($(this).text())=="Investment Interests"){ $(this).show(); }     \n
                                        });\n
           }\n
         });\n
        $('.selectpicker').selectpicker();\n
        $("#switch-profile").on('change', function(){\n
           var profileselected = $(this).val();  \n
           $("#something-in-mind").show();\n
           $("#public_profile").hide();\n
           if(profileselected == "public"){\n
               $("#something-in-mind").hide();\n
               $("#public_profile").show();\n
           $("#own_profile").hide();\n
             var serviceInfo = "{{serviceInfo}}"; \n
              var investmentInfo = "{{investmentInfo}}";\n
              var interestInfo = "{{interestInfo}}";\n
                                    if(serviceInfo==""){ \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Services"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
                                    if(investmentInfo==""){ \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Offered Investments"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }\n
                                    if(interestInfo==""){  \n
                                        $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Investment Interests"){ $(this).hide(); \n
                                        }     \n
                                        });\n
                                    }            \n
           }   else {\n
              $(".content-menu li").each(function(){\n
                                        if($.trim($(this).text())=="Services" || $.trim($(this).text())=="Offered Investments" || $.trim($(this).text())=="Investment Interests"){ $(this).show(); }     \n
                                        });\n
           }\n
           $.ajax\n
            ({\n
                url: "{{ path('frontend_switchIndividualProfile')}}",\n
                data: {"profileview": profileselected,"user_id": "{{user_id}}","profileType": "{{profile_view}}"},\n
                type: 'post',\n
                beforeSend: function ()\n
                {\n
                },\n
                success: function (result)\n
                {\n
                    $("#switch_profile").html(result);\n
                }\n
            });\n
        });\n
    });\n
    function openmodel(id,name) {\n
        $('#receiverid').val(id);\n
        $('#toname').html(name);\n
        $('#message1').modal('toggle');\n
    }\n
    function getnetwork(char){   \n
        $.ajax\n
        ({\n
            url: "{{ path('getuserbychar')}}",\n
            data: {"char": char,"user_id":{{user_id}}},\n
            type: 'post',\n
            beforeSend: function ()\n
            {\n
            },\n
            success: function (result)\n
            {\n
                $("#inner-content-div-lg").html(result);\n
                    $("#all_ids").removeClass("active");            \n
                {% for letter in 'A'..'Z' %}\n
                    $("#{{letter}}_ids").removeClass("active");\n
                {% endfor %}\n
                $("#"+char+"_ids").addClass("active");\n
            }\n
        });    \n
    }\n
    function searchuserdata() {\n
        var search = $('#searchuser').val();\n
        $.ajax\n
        ({\n
            url: "{{ path('getuserbychar')}}",\n
            data: {"search": search,"user_id":{{user_id}}},\n
            type: 'post',\n
            beforeSend: function ()\n
            {\n
            },\n
            success: function (result)\n
            {\n
                $("#inner-content-div-lg").html(result);\n
    \n
                $("#all_ids").removeClass("active");\n
                {% for letter in 'A'..'Z' %}\n
                $("#{{letter}}_ids").removeClass("active");\n
                {% endfor %}\n
            }\n
        });\n
    }\n
    function showmore(cal,key) {\n
        $('#'+cal+' li:hidden').slice(0, 2).show();\n
        if ($('#'+cal+' li').length == $('#'+cal+' li:visible').length) {\n
            $('#loadMore'+key).hide();\n
        }\n
    }\n
    </script>\n
    {% endif %}\n
    {% endblock %}\n
    """
}
  1.                                         {% set alttag = net['alt'] %}
  2.                                         {% endif %}
  3.                                   {% if net.photo is defined and net.photo  != "" %}
  4.                                       <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"><img alt="{{alttag}}" style="width:250px;height:241px" class="img-responsive netupic" id="{{net.userid}}" src="{{baseurlss}}/images/prof-img.jpg" loading="lazy" width="250px" height="241px" /></a>                              
  5.                                   {% else %} 
  6.                                   <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"><img alt="{{alttag}}" style="width:250px;height:241px" class="img-responsive" src="{{baseurlss}}/images/prof-img.jpg" loading="lazy"></a>
  7.                                   {% endif %}
  8.                             </div>
  9.                             <div class="col-xs-12 mtop10">
  10.                               <div class="row tagcls">
  11.                                   <a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"> <h4 class="nomargin">{{net.first_name}}&nbsp;{{net.last_name}} </h4></a>
  1.      ";
  2.         // line 365
  3.         $this->displayBlock('header'$context$blocks);
  4.         // line 548
  5.         echo "        ";
  6.         $this->displayBlock('body'$context$blocks);
  7.         echo 
  8. <!-- wrapper content --> 
  9. ";
  10.         // line 550
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Message/publicnetwork.html.twig"));
  3.         $this->parent $this->loadTemplate("baserfp.html.twig""Message/publicnetwork.html.twig"1);
  4.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  7.         
  8.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 379)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.         $this->template $template;
  2.     }
  3.     public function render(array $context = []): string
  4.     {
  5.         return $this->template->render($context);
  6.     }
  7.     public function display(array $context = [])
  8.     {
  9.         // using func_get_args() allows to not expose the blocks argument
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = []): string
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             if ($v instanceof FormInterface) {
  2.                 $parameters[$k] = $v->createView();
  3.             }
  4.         }
  5.         return $this->container->get('twig')->render($view$parameters);
  6.     }
  7.     /**
  8.      * Renders a view.
  9.      *
  1.      * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2.      * Forms found in parameters are auto-cast to form views.
  3.      */
  4.     protected function render(string $view, array $parameters = [], ?Response $response null): Response
  5.     {
  6.         $content $this->renderView($view$parameters);
  7.         $response ??= new Response();
  8.         if (200 === $response->getStatusCode()) {
  9.             foreach ($parameters as $v) {
  10.                 if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
AbstractController->render() in src/Controller/MessageController.php (line 2652)
  1.                     endforeach;
  2.                     $serviceInfo $this->getServiceInfo($connection,'',$comb_name,$teamInfo);
  3.                     $investmentInfo $this->getInvestmentInfo($connection,'',$comb_name,$teamInfo);
  4.                     $interestInfo $this->getInvestorInfo($connection,'',$comb_name);
  5.                 }
  6.                 return $this->render('Message/publicnetwork.html.twig', ['baseurlss' => $baseurls,'verticalindus'=>$verticalindus,'defaultCompany' => $defaultCompany,'country_of_domicile' => $breadcrumbData['country_of_domicile'],'lang_results' => $breadcrumbData['lang_results'],'serviceInfo' => $serviceInfo,'investmentInfo' => $investmentInfo,'interestInfo' => $interestInfo,'location' => $locations,'loggedinuser_id' => $loggedinuser_id,'recentlyAdd' => $newlyadded'shareUser' => $shareUser'mynetwork' => $mynetwork['results'], 'boldChar' => $mynetwork['boldChar'], 'user_id' => $user_id'firstname' => $firstname'lastname' => $lastname'company_name' => 'ERSTE'"profile_view" => "public""allcompanyuserAssoc" => $allcompanyuserAssoc,'user_id' => $breadcrumbData['user_id'], 'firstname' => $breadcrumbData['firstname'], 'lastname' => $breadcrumbData['lastname'],'country' => $breadcrumbData['country'],'usernames' => $breadcrumbData['usernames'],'company_name' => $breadcrumbData['company_name'], "allcompanyuserAssoc" => $allcompanyuserAssoc"url_last_name" => $breadcrumbData['url_last_name'],'id' => $breadcrumbData['id'],'profile' => "Network",'profile_view' => $breadcrumbData['profile_view']]);
  7.             }    
  8.         }
  9.         
  10.     private function sendMailCommon2($msgid,$mailids,$receiverfname,$receiverlname,$mailID,$mailfromid,$mailfrom,$mailfromfname,$mailfromlname,$subject,$content){
  11.         $request Request::createFromGlobals(); 
in vendor/symfony/http-kernel/HttpKernel.php -> publicnetworkProfile (line 181)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.     ) {
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         if (Kernel::VERSION_ID >= 60400) {
  7.             $response->send(false);
  8.             if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/usr/www/users/smartm/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. umask(0000);
  3. use App\Kernel;
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  7. };

Symfony\Component\Routing\Exception\ InvalidParameterException

Parameter "firstname" for route "frontend_offerIndividualProfile" must match "[A-Za-z.0-9- ]+" ("Hervé-Jean" given) to generate a corresponding URL.

  1.                 if (!$optional || $important || !\array_key_exists($varName$defaults) || (null !== $mergedParams[$varName] && (string) $mergedParams[$varName] !== (string) $defaults[$varName])) {
  2.                     // check requirement (while ignoring look-around patterns)
  3.                     if (null !== $this->strictRequirements && !preg_match('#^'.preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/'''$token[2]).'$#i'.(empty($token[4]) ? '' 'u'), $mergedParams[$token[3]] ?? '')) {
  4.                         if ($this->strictRequirements) {
  5.                             throw new InvalidParameterException(strtr($message, ['{parameter}' => $varName'{route}' => $name'{expected}' => $token[2], '{given}' => $mergedParams[$varName]]));
  6.                         }
  7.                         $this->logger?->error($message, ['parameter' => $varName'route' => $name'expected' => $token[2], 'given' => $mergedParams[$varName]]);
  8.                         return '';
  1.             } elseif (!isset($parameters['_locale'])) {
  2.                 $parameters['_locale'] = $defaults['_locale'];
  3.             }
  4.         }
  5.         return $this->doGenerate($variables$defaults$requirements$tokens$parameters$name$referenceType$hostTokens$requiredSchemes);
  6.     }
  7. }
in vendor/symfony/routing/Router.php -> generate (line 221)
  1.         $this->configCacheFactory $configCacheFactory;
  2.     }
  3.     public function generate(string $name, array $parameters = [], int $referenceType self::ABSOLUTE_PATH): string
  4.     {
  5.         return $this->getGenerator()->generate($name$parameters$referenceType);
  6.     }
  7.     public function match(string $pathinfo): array
  8.     {
  9.         return $this->getMatcher()->match($pathinfo);
  1.         ];
  2.     }
  3.     public function getPath(string $name, array $parameters = [], bool $relative false): string
  4.     {
  5.         return $this->generator->generate($name$parameters$relative UrlGeneratorInterface::RELATIVE_PATH UrlGeneratorInterface::ABSOLUTE_PATH);
  6.     }
  7.     public function getUrl(string $name, array $parameters = [], bool $schemeRelative false): string
  8.     {
  9.         return $this->generator->generate($name$parameters$schemeRelative UrlGeneratorInterface::NETWORK_PATH UrlGeneratorInterface::ABSOLUTE_URL);
  1.                 } else {
  2.                     // line 220
  3.                     echo 
  4.                                   <a href=\"";
  5.                     // line 221
  6.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_offerIndividualProfile", ["firstname" => twig_get_attribute($this->env$this->source$context["net"], "first_name", [], "any"falsefalsefalse221), "dot" => ".""lastname" => (isset($context["multiProfileEnabled22"]) || array_key_exists("multiProfileEnabled22"$context) ? $context["multiProfileEnabled22"] : (function () { throw new RuntimeError('Variable "multiProfileEnabled22" does not exist.'221$this->source); })())]), "html"nulltrue);
  7.                     echo "\"><img alt=\"";
  8.                     echo twig_escape_filter($this->env, (isset($context["alttag"]) || array_key_exists("alttag"$context) ? $context["alttag"] : (function () { throw new RuntimeError('Variable "alttag" does not exist.'221$this->source); })()), "html"nulltrue);
  9.                     echo "\" style=\"width:250px;height:241px\" class=\"img-responsive\" src=\"";
  10.                     echo twig_escape_filter($this->env, (isset($context["baseurlss"]) || array_key_exists("baseurlss"$context) ? $context["baseurlss"] : (function () { throw new RuntimeError('Variable "baseurlss" does not exist.'221$this->source); })()), "html"nulltrue);
  11.                     echo "/images/prof-img.jpg\" loading=\"lazy\"></a>
in vendor/twig/twig/src/Template.php -> block_body (line 171)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.      ";
  2.         // line 365
  3.         $this->displayBlock('header'$context$blocks);
  4.         // line 548
  5.         echo "        ";
  6.         $this->displayBlock('body'$context$blocks);
  7.         echo 
  8. <!-- wrapper content --> 
  9. ";
  10.         // line 550
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Message/publicnetwork.html.twig"));
  3.         $this->parent $this->loadTemplate("baserfp.html.twig""Message/publicnetwork.html.twig"1);
  4.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  7.         
  8.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 394)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 367)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 379)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.         $this->template $template;
  2.     }
  3.     public function render(array $context = []): string
  4.     {
  5.         return $this->template->render($context);
  6.     }
  7.     public function display(array $context = [])
  8.     {
  9.         // using func_get_args() allows to not expose the blocks argument
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = []): string
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.             if ($v instanceof FormInterface) {
  2.                 $parameters[$k] = $v->createView();
  3.             }
  4.         }
  5.         return $this->container->get('twig')->render($view$parameters);
  6.     }
  7.     /**
  8.      * Renders a view.
  9.      *
  1.      * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2.      * Forms found in parameters are auto-cast to form views.
  3.      */
  4.     protected function render(string $view, array $parameters = [], ?Response $response null): Response
  5.     {
  6.         $content $this->renderView($view$parameters);
  7.         $response ??= new Response();
  8.         if (200 === $response->getStatusCode()) {
  9.             foreach ($parameters as $v) {
  10.                 if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
AbstractController->render() in src/Controller/MessageController.php (line 2652)
  1.                     endforeach;
  2.                     $serviceInfo $this->getServiceInfo($connection,'',$comb_name,$teamInfo);
  3.                     $investmentInfo $this->getInvestmentInfo($connection,'',$comb_name,$teamInfo);
  4.                     $interestInfo $this->getInvestorInfo($connection,'',$comb_name);
  5.                 }
  6.                 return $this->render('Message/publicnetwork.html.twig', ['baseurlss' => $baseurls,'verticalindus'=>$verticalindus,'defaultCompany' => $defaultCompany,'country_of_domicile' => $breadcrumbData['country_of_domicile'],'lang_results' => $breadcrumbData['lang_results'],'serviceInfo' => $serviceInfo,'investmentInfo' => $investmentInfo,'interestInfo' => $interestInfo,'location' => $locations,'loggedinuser_id' => $loggedinuser_id,'recentlyAdd' => $newlyadded'shareUser' => $shareUser'mynetwork' => $mynetwork['results'], 'boldChar' => $mynetwork['boldChar'], 'user_id' => $user_id'firstname' => $firstname'lastname' => $lastname'company_name' => 'ERSTE'"profile_view" => "public""allcompanyuserAssoc" => $allcompanyuserAssoc,'user_id' => $breadcrumbData['user_id'], 'firstname' => $breadcrumbData['firstname'], 'lastname' => $breadcrumbData['lastname'],'country' => $breadcrumbData['country'],'usernames' => $breadcrumbData['usernames'],'company_name' => $breadcrumbData['company_name'], "allcompanyuserAssoc" => $allcompanyuserAssoc"url_last_name" => $breadcrumbData['url_last_name'],'id' => $breadcrumbData['id'],'profile' => "Network",'profile_view' => $breadcrumbData['profile_view']]);
  7.             }    
  8.         }
  9.         
  10.     private function sendMailCommon2($msgid,$mailids,$receiverfname,$receiverlname,$mailID,$mailfromid,$mailfrom,$mailfromfname,$mailfromlname,$subject,$content){
  11.         $request Request::createFromGlobals(); 
in vendor/symfony/http-kernel/HttpKernel.php -> publicnetworkProfile (line 181)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.     ) {
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         if (Kernel::VERSION_ID >= 60400) {
  7.             $response->send(false);
  8.             if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/usr/www/users/smartm/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. umask(0000);
  3. use App\Kernel;
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  7. };

Stack Traces 2

[2/2] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Parameter "firstname" for route "frontend_offerIndividualProfile" must match "[A-Za-z.0-9- ]+" ("Hervé-Jean" given) to generate a corresponding URL.").

  at templates/Message/publicnetwork.html.twig:221
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/2b/2bff03775e9f219a288cb1eaa38a7230.php:180)
  at __TwigTemplate_e9b20df47f7b9744e081c6ef864bccf0->doDisplay()
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display()
     (var/cache/dev/twig/f1/f1432d2c3a3c7871089c85263c9d9ea5.php:49)
  at __TwigTemplate_77d7dc34901fa492164a53af462f9a8b->doDisplay()
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:379)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:38)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:280)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:243)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:254)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/MessageController.php:2652)
  at App\Controller\MessageController->publicnetworkProfile()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/usr/www/users/smartm/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] InvalidParameterException
Symfony\Component\Routing\Exception\InvalidParameterException:
Parameter "firstname" for route "frontend_offerIndividualProfile" must match "[A-Za-z.0-9- ]+" ("Hervé-Jean" given) to generate a corresponding URL.

  at vendor/symfony/routing/Generator/UrlGenerator.php:182
  at Symfony\Component\Routing\Generator\UrlGenerator->doGenerate()
     (vendor/symfony/routing/Generator/CompiledUrlGenerator.php:67)
  at Symfony\Component\Routing\Generator\CompiledUrlGenerator->generate()
     (vendor/symfony/routing/Router.php:221)
  at Symfony\Component\Routing\Router->generate()
     (vendor/symfony/twig-bridge/Extension/RoutingExtension.php:45)
  at Symfony\Bridge\Twig\Extension\RoutingExtension->getPath()
     (var/cache/dev/twig/f1/f1432d2c3a3c7871089c85263c9d9ea5.php:699)
  at __TwigTemplate_77d7dc34901fa492164a53af462f9a8b->block_body()
     (vendor/twig/twig/src/Template.php:171)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/2b/2bff03775e9f219a288cb1eaa38a7230.php:180)
  at __TwigTemplate_e9b20df47f7b9744e081c6ef864bccf0->doDisplay()
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display()
     (var/cache/dev/twig/f1/f1432d2c3a3c7871089c85263c9d9ea5.php:49)
  at __TwigTemplate_77d7dc34901fa492164a53af462f9a8b->doDisplay()
     (vendor/twig/twig/src/Template.php:394)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:367)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:379)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:38)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:280)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:243)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:254)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/MessageController.php:2652)
  at App\Controller\MessageController->publicnetworkProfile()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/usr/www/users/smartm/vendor/autoload_runtime.php')
     (public/index.php:5)