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}} {{lastname}}'s Network | Smart Money Match\n {% elseif metatitletag=='publictag' %}\n {{firstname}} {{lastname}}'s Public Network | Smart Money Match\n {% elseif metatitletag=='sharedtag' %}\n {{firstname}} {{lastname}}'s Shared Network | Smart Money Match\n {% elseif metatitletag=='recenttag' %}\n {{firstname}} {{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}} {{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">×</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 """ }
{% set alttag = net['alt'] %}
{% endif %}
{% if net.photo is defined and net.photo != "" %}
<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>
{% else %}
<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>
{% endif %}
</div>
<div class="col-xs-12 mtop10">
<div class="row tagcls">
<a href="{{ path('frontend_offerIndividualProfile', {'firstname':net.first_name,'dot': '.','lastname':multiProfileEnabled22}) }}"> <h4 class="nomargin">{{net.first_name}} {{net.last_name}} </h4></a>
";
// line 365
$this->displayBlock('header', $context, $blocks);
// line 548
echo " ";
$this->displayBlock('body', $context, $blocks);
echo "
<!-- wrapper content -->
";
// line 550
$this->displayBlock('footer', $context, $blocks);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Message/publicnetwork.html.twig"));
$this->parent = $this->loadTemplate("baserfp.html.twig", "Message/publicnetwork.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
$this->template = $template;
}
public function render(array $context = []): string
{
return $this->template->render($context);
}
public function display(array $context = [])
{
// using func_get_args() allows to not expose the blocks argument
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = []): string
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
if ($v instanceof FormInterface) {
$parameters[$k] = $v->createView();
}
}
return $this->container->get('twig')->render($view, $parameters);
}
/**
* Renders a view.
*
* If an invalid form is found in the list of parameters, a 422 status code is returned.
* Forms found in parameters are auto-cast to form views.
*/
protected function render(string $view, array $parameters = [], ?Response $response = null): Response
{
$content = $this->renderView($view, $parameters);
$response ??= new Response();
if (200 === $response->getStatusCode()) {
foreach ($parameters as $v) {
if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
endforeach;
$serviceInfo = $this->getServiceInfo($connection,'',$comb_name,$teamInfo);
$investmentInfo = $this->getInvestmentInfo($connection,'',$comb_name,$teamInfo);
$interestInfo = $this->getInvestorInfo($connection,'',$comb_name);
}
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']]);
}
}
private function sendMailCommon2($msgid,$mailids,$receiverfname,$receiverlname,$mailID,$mailfromid,$mailfrom,$mailfromfname,$mailfromlname,$subject,$content){
$request = Request::createFromGlobals();
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response, $event);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
$response = null;
try {
return $response = $this->handleRaw($request, $type);
} catch (\Throwable $e) {
if ($e instanceof \Error && !$this->handleAllThrowables) {
throw $e;
}
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
) {
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
if (Kernel::VERSION_ID >= 60400) {
$response->send(false);
if (\function_exists('fastcgi_finish_request') && !$this->debug) {
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
<?php
umask(0000);
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
if (!$optional || $important || !\array_key_exists($varName, $defaults) || (null !== $mergedParams[$varName] && (string) $mergedParams[$varName] !== (string) $defaults[$varName])) {
// check requirement (while ignoring look-around patterns)
if (null !== $this->strictRequirements && !preg_match('#^'.preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/', '', $token[2]).'$#i'.(empty($token[4]) ? '' : 'u'), $mergedParams[$token[3]] ?? '')) {
if ($this->strictRequirements) {
throw new InvalidParameterException(strtr($message, ['{parameter}' => $varName, '{route}' => $name, '{expected}' => $token[2], '{given}' => $mergedParams[$varName]]));
}
$this->logger?->error($message, ['parameter' => $varName, 'route' => $name, 'expected' => $token[2], 'given' => $mergedParams[$varName]]);
return '';
} elseif (!isset($parameters['_locale'])) {
$parameters['_locale'] = $defaults['_locale'];
}
}
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
}
}
$this->configCacheFactory = $configCacheFactory;
}
public function generate(string $name, array $parameters = [], int $referenceType = self::ABSOLUTE_PATH): string
{
return $this->getGenerator()->generate($name, $parameters, $referenceType);
}
public function match(string $pathinfo): array
{
return $this->getMatcher()->match($pathinfo);
];
}
public function getPath(string $name, array $parameters = [], bool $relative = false): string
{
return $this->generator->generate($name, $parameters, $relative ? UrlGeneratorInterface::RELATIVE_PATH : UrlGeneratorInterface::ABSOLUTE_PATH);
}
public function getUrl(string $name, array $parameters = [], bool $schemeRelative = false): string
{
return $this->generator->generate($name, $parameters, $schemeRelative ? UrlGeneratorInterface::NETWORK_PATH : UrlGeneratorInterface::ABSOLUTE_URL);
} else {
// line 220
echo "
<a href=\"";
// line 221
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", false, false, false, 221), "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", null, true);
echo "\"><img alt=\"";
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", null, true);
echo "\" style=\"width:250px;height:241px\" class=\"img-responsive\" src=\"";
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", null, true);
echo "/images/prof-img.jpg\" loading=\"lazy\"></a>
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
";
// line 365
$this->displayBlock('header', $context, $blocks);
// line 548
echo " ";
$this->displayBlock('body', $context, $blocks);
echo "
<!-- wrapper content -->
";
// line 550
$this->displayBlock('footer', $context, $blocks);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Message/publicnetwork.html.twig"));
$this->parent = $this->loadTemplate("baserfp.html.twig", "Message/publicnetwork.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
$this->template = $template;
}
public function render(array $context = []): string
{
return $this->template->render($context);
}
public function display(array $context = [])
{
// using func_get_args() allows to not expose the blocks argument
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = []): string
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
if ($v instanceof FormInterface) {
$parameters[$k] = $v->createView();
}
}
return $this->container->get('twig')->render($view, $parameters);
}
/**
* Renders a view.
*
* If an invalid form is found in the list of parameters, a 422 status code is returned.
* Forms found in parameters are auto-cast to form views.
*/
protected function render(string $view, array $parameters = [], ?Response $response = null): Response
{
$content = $this->renderView($view, $parameters);
$response ??= new Response();
if (200 === $response->getStatusCode()) {
foreach ($parameters as $v) {
if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
endforeach;
$serviceInfo = $this->getServiceInfo($connection,'',$comb_name,$teamInfo);
$investmentInfo = $this->getInvestmentInfo($connection,'',$comb_name,$teamInfo);
$interestInfo = $this->getInvestorInfo($connection,'',$comb_name);
}
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']]);
}
}
private function sendMailCommon2($msgid,$mailids,$receiverfname,$receiverlname,$mailID,$mailfromid,$mailfrom,$mailfromfname,$mailfromlname,$subject,$content){
$request = Request::createFromGlobals();
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response, $event);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
$response = null;
try {
return $response = $this->handleRaw($request, $type);
} catch (\Throwable $e) {
if ($e instanceof \Error && !$this->handleAllThrowables) {
throw $e;
}
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
) {
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
if (Kernel::VERSION_ID >= 60400) {
$response->send(false);
if (\function_exists('fastcgi_finish_request') && !$this->debug) {
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
<?php
umask(0000);
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
[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) |