Twig\Error\RuntimeError {#724 -lineno: 296 -name: "Company/companyprofile.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- ]+" ("Marc%20C" given) to generate a corresponding URL.")." -sourcePath: "/usr/www/users/smartm/templates/Company/companyprofile.html.twig" -sourceCode: """ {% extends "baserfp.html.twig" %}\n {% block head %}\n <title>\n {% set url_last_name22 = "" %}\n {% if comp_results[0] is defined %}\n {% if (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='' and companyjobtag=='') %}\n {{comp_results[0]['company_name']}}\n {% elseif (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='' and companyjobtag=='yes') %}\n Open Jobs at {{comp_results[0]['company_name']}}\n {% elseif (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='yes' and companyjobtag=='') %}\n Upcoming Events of {{comp_results[0]['company_name']}}\n {% elseif profile=="People" %}\n {{comp_results[0]['company_name']}} - Team \n {% else %}\n {% if profile=="Offered Investments" %}\n Offered Investments of {{comp_results[0]['company_name']}}\n {% elseif profile=="Investment Interests" %}\n Investment Interests of {{comp_results[0]['company_name']}}\n {% elseif profile=='Services' %}\n Offered Investment Services of {{comp_results[0]['company_name']}}\n {% elseif profile=='Articles' %}\n {{comp_results[0]['company_name']}} Articles\n {% else %}\n {{comp_results[0]['company_name']}} - {{profile}}\n {% endif %}\n {% endif %}\n {% else %}\n {% if url_last_name is defined and "." in url_last_name %} \n {% set url_last_name2 = url_last_name|split('.') %}\n {% set url_last_name22 = url_last_name2[0] %}\n {% elseif url_last_name is defined %} \n {% set url_last_name22 = url_last_name %}\n {% endif %}\n {% if usereventtag is defined and userjobtag is defined and companyeventtag is defined and companyjobtag is defined and (usereventtag=='yes' and userjobtag=='' and companyeventtag=='' and companyjobtag=='') %}\n Events organized by {{firstname}} {{url_last_name22}}\n {% elseif usereventtag is defined and userjobtag is defined and companyeventtag is defined and companyjobtag is defined and (usereventtag=='' and userjobtag=='yes' and companyeventtag=='' and companyjobtag=='') %}\n Jobs offered by {{firstname}} {{url_last_name22}}\n {% else %}\n {% if profile=="Offered Investments" %}\n Offered Investments of {{firstname}} {{url_last_name22}}\n {% elseif profile=="Investment Interests" %}\n Investment Interests of {{firstname}} {{url_last_name22}}\n {% elseif profile=='Services' %}\n Offered Investment Services of {{firstname}} {{url_last_name22}}\n {% else %}\n {{firstname}} {{url_last_name22}}\n {% endif %}\n {% endif %}\n {% endif %} \n | Smart Money Match\n </title>\n \n {% if comp_results[0] is defined %}\n <link rel="canonical" href="https://www.smartmoneymatch.com/{{comp_results[0]['company_name']}}" />\n {% set orgnameurl2 = '' %}\n {% set orgnameurl2 = orgnameurl2~comp_results[0]['company_name'] %}\n {% if (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='' and companyjobtag=='') %}\n <meta name="description" content="Find all the details about{{' '}}{{comp_results[0]['company_name']}} with investments, events, services, and articles.">\n \t\t\t\t {# <link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% elseif (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='' and companyjobtag=='yes') %}\n {% set orgnameurl2 = orgnameurl2~'/jobs' %}\n <meta name="description" content="Find all investment management jobs offered by{{' '}}{{comp_results[0]['company_name']}}. Smart Money Match helps you find investment industry jobs from around the world.">\n {# <link rel="canonical" href="{{ path('jobs_by_companyarea', {'company': comp_results[0]['company_name']|replace({' ': '-'})}) }}" />#}\n {% elseif (profile == 'Profile' and usereventtag=='' and userjobtag=='' and companyeventtag=='yes' and companyjobtag=='') %}\n {% set orgnameurl2 = orgnameurl2~'/events' %}\n <meta name="description" content="Find upcoming investor events from{{' '}}{{comp_results[0]['company_name']}} on Smart Money Match. Here, you will get all investment events globally. Visit the website for more details.">\n {# <link rel="canonical" href="{{ path('event_by_location', {'location': comp_results[0]['company_name']|replace({' ': '-'})}) }}" />#}\n {% elseif profile=="People" %}\n {% set orgnameurl2 = orgnameurl2~'/people' %}\n <meta name="description" content="See the professionals working for{{' '}}{{comp_results[0]['company_name']}}">\n {# <link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% else %}\n {% if profile=="Offered Investments" %}\n {% set orgnameurl2 = orgnameurl2~'/investments' %}\n <meta name="description" content="Search all investments offered by{{' '}}{{comp_results[0]['company_name']}} on Smart Money Match. Here you can browse for the right ones for you. Check out the website today!">\n {# <link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% elseif profile=="Investment Interests" %}\n {% set orgnameurl2 = orgnameurl2~'/investor' %}\n <meta name="description" content="Search the investment interests of{{' '}}{{comp_results[0]['company_name']}} on Smart Money Match. You can connect onthe website directly!">\n {#<link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% elseif profile=='Services' %}\n {% set orgnameurl2 = orgnameurl2~'/services' %}\n <meta name="description" content="See the professionals working for{{' '}}{{comp_results[0]['company_name']}}">\n {# <link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% elseif profile=='Articles' %}\n {% set orgnameurl2 = orgnameurl2~'/articles' %}\n <meta name="description" content="Find the published articles of{{' '}}{{comp_results[0]['company_name']}}. Check out the profile and also the offered investments, events, services, investment interests and connect with its key decision-makers. ">\n {#<link rel="canonical" href="{{ path('frontend_companyprofilepage', {'companyname':comp_results[0]['company_name']}) }}" />#}\n {% endif %}\n {% endif %}\n {% set orglogourl = '' %}\n {% if comp_results[0]['organization_logo']!="" %}\n \n {% set orglogourl = orglogourl~comp_results[0]['organization_logo'] %}\n {% endif %}\n {% set orgnameurl = '' %}\n {% set orgnameurl = 'https://www.smartmoneymatch.com/' %}\n {% set orgnameurl = orgnameurl~comp_results[0]['company_name'] %}\n {% set invoffering = '' %} {% set offeoffering = '' %} {% set servoffering = '' %}\n {% if comp_results[0]['investing']=="1" %}\n {% set invoffering = orgnameurl~'/investor' %}\n {% endif %}\n {% if comp_results[0]['offering_investments']=="1" %}\n {% set offeoffering = orgnameurl~'/investments' %}\n {% endif %}\n {% if comp_results[0]['service_provider']=="1" %}\n {% set servoffering = orgnameurl~'/services' %}\n {% endif %}\n \t\t\t\t {% if location[0] is defined %}\n <script type="application/ld+json">\n {\n "@context": "https://schema.org",\n "@type": "Organization",\n "additionalType": "{{comp_results[0]['organization_type']}}",\n "address": {\n "@type": "PostalAddress",\n "addressLocality": "{{location[0]['city']}}",\n "addressRegion": "{{location[0]['country']}}",\n "postalCode": "{{location[0]['zip_code']}}",\n "streetAddress": "{{location[0]['city']}}"\n },\n "faxNumber": "{{location[0]['fax']}}",\n "image": "https://www.smartmoneymatch.com/var/uploads/files/{{orglogourl}}",\n "knowsLanguage": "{{location[0]['language']}}",\n "description": "{{comp_results[0]['cdesc']}}",\n "legalName": "{{comp_results[0]['company_name']}}",\n \t "name": "{{comp_results[0]['company_name']}}",\n "telephone": "{{location[0]['phone']}}",\n "url": "https://www.smartmoneymatch.com/{{orgnameurl2}}",\n "sameAs":"{{comp_results[0]['website_url']}}",\n "numberOfEmployees": "{{comp_results[0]['organization_size']}}",\n "contactPoint": "{{comp_results[0]['contactus']}}",\n "hasOfferCatalog" : [\n { "@id": "{{invoffering}}" },\n { "@id": "{{offeoffering}}" },\n { "@id": "{{servoffering}}" }\n ]\n }\n </script>\n \t{% endif %}\n {% else %} {% set dposs = '' %}\n \t\t\t\t {% set dcompp = '' %}\n \t\t\t {% if defaultCompany[0] is defined %}\n \t\t\t\t {% set dposs = defaultCompany[0]['position'] %}\n \t\t\t\t {% set dcompp = defaultCompany[0]['company_name'] %}\n \t\t\t\t {% endif %}\n {% if "." in url_last_name %} \n {% set url_last_name2 = url_last_name|split('.') %}\n {% set url_last_name22 = url_last_name2[0] %}\n {% else %} \n {% set url_last_name22 = url_last_name %}\n {% endif %} \n {% set saluation = '' %}{% set urlw = firstname~'.'~url_last_name22 %}\n <link rel="canonical" href="https://www.smartmoneymatch.com/{{urlw}}" />\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 {% if (usereventtag=='yes' and userjobtag=='' and companyeventtag=='' and companyjobtag=='') %}\n {% set urlw = urlw~'/'~'events' %}\n <meta name="description" content="Find upcoming investor events produced by{{' '}}{{firstname}}{{' '}}{{url_last_name22}} on Smart Money Match. Here, you will get all investment events globally. Visit the website for more details.">\n {% elseif (usereventtag=='' and userjobtag=='yes' and companyeventtag=='' and companyjobtag=='') %}\n {% set urlw = urlw~'/'~'jobs' %}\n <meta name="description" content="Find all investment management jobs offered by{{' '}}{{firstname}}{{' '}}{{url_last_name22}}. Smart Money Match helps you find investment industry jobs from around the world.">\n {% else %}\n {% if profile=="Offered Investments" %}\n {% set urlw = urlw~'/'~'investments' %}\n <meta name="description" content="Search all investments offered by{{' '}}{{firstname}}{{' '}}{{url_last_name22}} on Smart Money Match. Here you can browse for the right ones for you. Check out the website today!">\n {% elseif profile=="Investment Interests" %}\n {% set urlw = urlw~'/'~'investor' %}\n <meta name="description" content="Search the investment interests of{{' '}}{{firstname}}{{' '}}{{url_last_name22}} on Smart Money Match. You can connect onthe website directly!">\n {% elseif profile=="Services" %}\n {% set urlw = urlw~'/'~'services' %}\n <meta name="description" content="Search all investments offered by{{' '}}{{firstname}}{{' '}}{{url_last_name22}} on Smart Money Match. Here you can browse for the right ones for you. Check out the website today!">\n {% else %}\n <meta name="description" content="Find the professional profile of{{' '}}{{firstname}}{{' '}}{{url_last_name22}} with the articles, network, and contact options.">\n \n {% endif %}\n {% endif %}\n \t\t\t\t\t{% if location[0] is defined %}\t\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]['street_address']}}",\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/{{location[0]['photo']}}",\n "url": "https://www.smartmoneymatch.com/{{firstname}}.{{url_last_name22}}",\n "author": {\n "@type": "Person",\n "name": "{{firstname}}",\n "url": "https://www.smartmoneymatch.com/{{firstname}}.{{url_last_name22}}"\n },\n "headline": "{{location[0]['tagline']}}"\n }, \n "email": "mailto:{{usernames}}",\n "faxNumber": "{{location[0]['fax']}}",\n "image": "{{location[0]['photo']}}",\n "knowsLanguage": "{{location[0]['language_known']}}",\n "description": "{{location[0]['tagline']}}",\n "jobTitle": "{{dposs}}",\n "name": "{{firstname}}",\n "givenName": "{{firstname}}",\n "familyName": "{{url_last_name22}}",\n "gender": "{{saluation}}",\n "worksFor": "{{dcompp}}",\n "telephone": "{{location[0]['contact_number']}}",\n "url": "http://www.smartmoneymatch.com/{{urlw}}"\n }\n </script> {% endif %}\n {% endif %}\n \n {{parent()}}\n \t\t{% endblock %}\n {% block body %}\n <!DOCTYPE html>\n \n {% set currhosts = app.request.getSchemeAndHttpHost() %}\n \n \n {% if loggedInUserId != 0 and loggedInUserId!="" %} \n {% if user_comp_associate is defined %}\n {% if user_comp_associate != 0 %} \n \n \t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': profile,'profile':'0','company_id':companyid,'user_comp_associate': user_comp_associate,'url_last_name' : last_name,'section_name' : section_name})) }}\n {% else %} \n \n \t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': profile,'profile':'1','company_id':companyid,'allcompanyuserAssoc': allcompanyuserAssoc,'url_last_name' : last_name,'section_name' : section_name})) }}\n {% endif %}\n {% elseif profile_view == "own" %} \n \n \t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': profile,'profile':'0','user_id': user_id,'url_last_name' : last_name,'section_name' : section_name})) }}\n {% else %} \n \n \t\t\t\t{{ render(controller('App\\Controller\\HomeController::breadAction', {'title': profile,'profile':'1','user_id': user_id,'allcompanyuserAssoc': allcompanyuserAssoc,'url_last_name' : last_name,'section_name' : section_name})) }}\n {% endif %}\n {% endif %} \n <!--breadcrumb-main Closed-->\n <div class="white-bg">\n <div class="container">\n {# employee confirmation message start #} \n <div class="clearfix"></div>\n {% include 'Default/errormessage.html.twig'%}\n {% if(empconfirmedstatus is defined or empdeclinedstatus is defined) %}\n {% if empconfirmedstatus=='1' %}\n <div class="alert alert-success mtop20" role="alert"> \n <span style="font-color:black">Your request for the approval of an employee has been approved.</span>\n </div>\n {% elseif empdeclinedstatus=='1' %}\n <div class="alert alert-success mtop20" role="alert"> \n <span style="font-color:black">Your request for the approval of an employee has been declined.</span>\n </div>\n {% endif %}\n {% endif %}\n <div style="display:none" class="blockedmsg alert alert-success mtop20" role="alert"> \n <span style="font-color:black">The user is successfully reported. Thanks!</span>\n </div>\n {% if companyid is defined %} \n {% if companyid!="" %} \n {% if(comp_results[0]['company_name'] is defined)%} \t\n {% set comp_name = comp_results[0]['company_name'] %}\n {%else%}\n {% set comp_name = '' %}\n {% endif %} \n \t\t {{ render(controller('App\\Controller\\CompanyController::profileHeaderAction', {'companyname': comp_name,'user_comp_associate': user_comp_associate,'profile' : profile})) }}\n {% else %} \n \t\t {{ render(controller('App\\Controller\\OfferinvestmentController::profileHeaderIndividualAction', {'userId': user_id,'profileType':profile_view,'url_last_name' : url_last_name,'profile' : profile})) }}\n {% endif %}\n {% else %}\n \t\t {{ render(controller('App\\Controller\\OfferinvestmentController::profileHeaderIndividualAction', {'userId': user_id,'profileType':profile_view,'url_last_name' : url_last_name,'profile' : profile})) }}\n {% endif %}\n \n {% set sidebars = '' %}\n {% if companyjobtag!="" or userjobtag!="" or usereventtag!="" or companyeventtag!="" or companyarticletag!="" or userarticletag!="" %}\n {% set sidebars = 'no' %}\n {% endif %}\n <!--Navigarion tab section mobile view start-->\n <div class="col-xs-12 visible-xs mbottom20">\n <select class="selectpicker" id="profileMainMenus"> \n {% if profile_view is not defined or profile_view=='' %}\n <option value="{{ path('frontend_companyprofilepage', {'companyname':company_name}) }}" {% if profile is defined and profile == 'Profile' %} selected="selected" {% endif %}>Profile</option>\n <option value="{{ path('frontend_companyname_people', {'companyname':company_name}) }}" {% if profile is defined and profile == 'People' %} selected="selected" {% endif %}>People</option>\n <option value="{{ path('frontend_investorinterestpublicorg', {'compnamess':company_name}) }}" {% if profile is defined and profile == 'Investment Interests' %} selected="selected" {% endif %}>Investment Interests </option>\n <option value="{{ path('investor_interest_public_or', {'compnamess':company_name}) }}" {% if profile is defined and profile == 'Offered Investments' %} selected="selected" {% endif %}>Offered Investment</option>\n <option value="{{ path('frontend_companyname_services', {'companyname':company_name}) }}" {% if profile is defined and profile == 'Services' %} selected="selected" {% endif %}>Services</option>\n {% else %}\n <option value="{{ path('frontend_offerIndividualProfile', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Profile' %} selected="selected" {% endif %}>Profile</option> \n <option value="{{ path('frontend_publicnetwork', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Network' %} selected="selected" {% endif %}>Network</option>\n <option value="{{ path('frontend_investorinterestpublicindividual', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Investment Interests' %} selected="selected" {% endif %}>Investment Interests </option>\n <option value="{{ path('frontend_offerIndividualProfileInvestments', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Offered Investments' %} selected="selected" {% endif %}>Offered Investment</option>\n <option value="{{ path('frontend_offerIndividualProfileServices', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Services' %} selected="selected" {% endif %}>Services</option>\n {% endif %}\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 or profile_view=='' %}\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 or profile_view=='' %}\n {% if userjobtag=='yes' or usereventtag=='yes' or userarticletag=='yes' %}\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 {% else %}\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 {% endif %}\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 or profile_view=='' %}\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 or profile_view=='' %}\n <li {% if profile is defined and profile == 'Offered 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 == 'Offered 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 or profile_view=='' %}\n <li {% if profile is defined and profile == 'Services' %} class="active" {% endif %}><a href="{{ path('frontend_companyname_services', {'companyname':company_name}) }}">Services</a>{#<a href="{{ path('frontend_servicecompanyprofile', {'companyname':company_name}) }}" style="padding-left:0px" class="text-green overview-icon editserviceicon"><i class="fa fa-pencil" aria-hidden="true"></i></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>{#<a href="{{ path('frontend_serviceprofile') }}" style="padding-left:0px" class="text-green overview-icon editserviceicon"><i class="fa fa-pencil" aria-hidden="true"></i></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 {% if tabType is not defined %}\n {% set tabType = '' %} \n {%endif%}\n {% if(company_details.description is defined)%} \n {{ render(controller('App\\Controller\\CompanyController::profileTabsAction', {'companyarticletag':companyarticletag,'userarticletag':'','loggedInUserId':loggedInUserId,'company_name': company_name , 'company_details': company_details, 'profile' : profile, 'tabType' : tabType,'sidebars':sidebars})) }} \n {% elseif((user_details.tagline is defined) or (user_details is not empty)) %} \n \t\t{{ render(controller('App\\Controller\\CompanyController::profileTabsAction', {'companyarticletag':'','userarticletag':userarticletag,'loggedInUserId':loggedInUserId,'company_name': company_name , 'user_details': user_details, 'profile' : profile,'url_last_name' : url_last_name, 'tabType' : tabType,'sidebars':sidebars})) }}\n {% endif %}\n {% if companyjobtag!="" %}\n \t\t\t {{ render(controller('App\\Controller\\JobController::searchbytagAction', {'inherit': 1,'company':company_name})) }} \n {% elseif userjobtag!="" %}\n \t\t\t {{ render(controller('App\\Controller\\JobController::searchbytagAction', {'inherit': 1,'company':company_name})) }} \n {% elseif usereventtag!="" %}\n \t\t\t {{ render(controller('App\\Controller\\EventController::searchbytagAction', {'inherit': 1,'company':company_name})) }} \n {% elseif companyeventtag!="" %}\n {{ render(controller('App\\Controller\\EventController::searchbytagAction', {'inherit': 1,'company':company_name})) }} \t\t\t\t \n {% endif %}\n <span class="companyjobtag" style="display:none">{{companyjobtag}}</span>\n <span class="userjobtag" style="display:none">{{userjobtag}}</span>\n <span class="usereventtag" style="display:none">{{usereventtag}}</span>\n <span class="companyeventtag" style="display:none">{{companyeventtag}}</span>\n <span class="userarticletag" style="display:none">{{userarticletag}}</span>\n <span class="companyarticletag" style="display:none">{{companyarticletag}}</span>\n </div>\n <script delay="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-57e8aaf6210514a2"></script> \n <script>\n $("#profileMainMenus").change(function(){\n window.location.href = $(this).val();\n }); \n $('#profileshare').click(function () { \n {% if profile_view is defined %}\n var type = "profile";\n {%else%}\n var type = "company";\n {% endif %}\n {# #}var profilecompany = $('#profilecompany').val();\n $.ajax({\n url: "{{ path('profilecompanyshare')}}",\n data: {"shareid": "{{id}}", "companyid": profilecompany, "type": type},\n type: 'post',\n success: function (result)\n {\n if (result == 'done') {\n \n alert(type+" has been added in your profile list.");\n }\n if (result == 'already') {\n alert("This "+type+" is already in your profile list.");\n }\n }\n });\n });\n </script>\n {% if comp_results[0] is defined %} \n <script>\n $(function(){ \n var companyjobtag = $(".companyjobtag").text();\n var companyeventtag = $(".companyeventtag").text();\n var companyarticletag = $(".companyarticletag").text();\n if(companyjobtag!=""){\n $(".activities .fa-briefcase").css("color","#008394");\n $(".activities .fa-calendar-o").css("color","");\n $(".activities .fa-repeat").css("color","");\n $(".activities .fa-file-text-o").css("color","");\n }\n else if(companyeventtag!=""){\n $(".activities .fa-calendar-o").css("color","#008394");\n $(".activities .fa-briefcase").css("color","");\n $(".activities .fa-repeat").css("color","");\n $(".activities .fa-file-text-o").css("color","");\n }\n else if(companyarticletag!=""){\n $(".activities .fa-file-text-o").css("color","#008394");\n $(".activities .fa-calendar-o").css("color","");\n $(".activities .fa-briefcase").css("color","");\n $(".activities .fa-repeat").css("color","");\n }\n \tif(companyarticletag==""){\n $('.selectpicker').selectpicker();\n \t}\n if($("#switch-profile").is(":visible")){\n $(".editserviceicon").show();\n }\n else {\n $(".editserviceicon").hide();\n }\n $("#switch-profile").on('change', function(){ \n var profileselected = $(this).val(); \n $("#something-in-mind").show();\n if(profileselected == "public"){\n $("#something-in-mind").hide();\n $(".overview-icon").hide();\n $(".editserviceicon").hide();\n }\n else {\n $(".overview-icon").show();\n $(".editserviceicon").show();\n }\n $.ajax\n ({\n url: "{{ path('frontend_switchCompanyProfile')}}",\n data: {"profileview": profileselected,"company_profile_switch": 1,"companyname":"{{comp_results[0]['company_name']}}","user_comp_associate":"{{user_comp_associate}}"},\n type: 'post',\n beforeSend: function ()\n {\n },\n success: function (result)\n {\n \n $("#switch_profile").html(result);\n }\n });\n });\n $('.follow_unfollow').on('click', '#follow', function() {\n $.post('{{ path('frontend_follow_company_user')}}', {"companyId":"{{companyid}}","user_id":"{{loggedInUserId}}","flag":"follow"},\n function(data){\n if(data.result == "ok"){\n var newHtml = '<a class="text-grey" id="unfollow" href="javascript:void(0);"><i class="fa fa-check text-green"></i> Following</a>';\n $(".follow_unfollow").html(newHtml);\n $("#follower_count").show().html(data.count+" followers");\n \n var newHtml2 = '<a class="text-grey" id="unfollow" href="javascript:void(0);"><i class="fa fa-check text-green"></i> </a>';\n $(".follow_unfollow2").html(newHtml2);\n $(".followtextt").text('Following');\n }\n }, 'json');\n \n });\n $('.follow_unfollow2').on('click', '#follow', function() {\n $.post('{{ path('frontend_follow_company_user')}}', {"companyId":"{{companyid}}","user_id":"{{loggedInUserId}}","flag":"follow"},\n function(data){\n if(data.result == "ok"){\n \n var newHtml2 = '<a class="text-grey" id="unfollow" href="javascript:void(0);"><i class="fa fa-check text-green"></i> Following</a>';\n $(".follow_unfollow").html(newHtml2);\n $("#follower_count").show().html(data.count+" followers");\n \n var newHtml = '<a class="text-grey" id="unfollow" href="javascript:void(0);"><i class="fa fa-check text-green"></i> </a>';\n $(".follow_unfollow2").html(newHtml);\n $("#follower_count").show().html(data.count+" followers");\n $(".followtextt").text('Following');\n //window.location.reload();\n }\n }, 'json');\n \n });\n $('.follow_unfollow').on('click', '#unfollow', function() {\n $(this).attr("href","#");\n $(this).attr("data-toggle","modal");\n $(this).attr("data-target","#confirm_modal");\n }); \n \n $('.follow_unfollow2').on('click', '#unfollow', function() {\n $(this).attr("href","#");\n $(this).attr("data-toggle","modal");\n $(this).attr("data-target","#confirm_modal");\n }); \n //var r = confirm("Do you want to unfollow?");\n $('#confirm_modal').on('click', '#confirmbtn', function() {\n $.post('{{ path('frontend_unfollow_company_user')}}', {"companyId":"{{companyid}}","user_id":"{{loggedInUserId}}","flag":"unfollow"},\n function(data){\n if(data.result == "ok"){\n $("#confirm_modal").modal("hide"); \n var newHtml = '<a class="text-grey" id="follow" href="javascript:void(0);"><i class="fa fa-plus text-green"></i> Follow</a>';\n $(".follow_unfollow").html(newHtml); \n $("#follower_count").html(data.count+" followers");\n var newHtml2 = '<a class="text-grey" id="follow" href="javascript:void(0);"><i class="fa fa-plus text-green"></i></a>';\n $(".follow_unfollow2").html(newHtml2); \n $(".followtextt").text('Follow');\n \n \n }\n }, 'json');\n });\n }); \n </script>\n {% elseif profile_view is defined %}\n <script>\n $(function(){ \n var userjobtag = $(".userjobtag").text();\n var usereventtag = $(".usereventtag").text();\n var userarticletag = $(".userarticletag").text();\n if(userjobtag!=""){\n $(".activities .fa-briefcase").css("color","#008394");\n $(".activities .fa-calendar-o").css("color","");\n $(".activities .fa-repeat").css("color","");\n $(".activities .fa-file-text-o").css("color","");\n }\n else if(usereventtag!=""){\n $(".activities .fa-calendar-o").css("color","#008394");\n $(".activities .fa-briefcase").css("color","");\n $(".activities .fa-repeat").css("color","");\n $(".activities .fa-file-text-o").css("color","");\n }\n else if(userarticletag!=""){\n $(".activities .fa-file-text-o").css("color","#008394");\n $(".activities .fa-calendar-o").css("color","");\n $(".activities .fa-briefcase").css("color","");\n $(".activities .fa-repeat").css("color","");\n }\n \tif(userarticletag==""){\n $('.selectpicker').selectpicker();\n \t}\n $("#switch-profile").on('change', function(){\n var profileselected = $(this).val(); \n $("#something-in-mind").show();\n $("#public_profile").hide();\n \n if(profileselected == "public"){\n $("#something-in-mind").hide();\n $("#public_profile").show();\n $("#own_profile").hide();\n }\n $.ajax\n ({\n url: "{{ path('frontend_switchIndividualProfile')}}",\n data: {"profileview": profileselected,"user_id": "{{user_id}}","profileType": "{{profile_view}}","url_last_name": "{{url_last_name}}"},\n type: 'post',\n beforeSend: function ()\n {\n },\n success: function (result)\n {\n $("#switch_profile").html(result);\n }\n }); \n });\n });\n </script>\n {% endif %}\n <script>\n $(this).attr("data-toggle","modal");\n $(this).attr("data-target","#loginmodal");\n </script>\n {% endblock %}\n """ }
<option value="{{ path('frontend_companyname_people', {'companyname':company_name}) }}" {% if profile is defined and profile == 'People' %} selected="selected" {% endif %}>People</option>
<option value="{{ path('frontend_investorinterestpublicorg', {'compnamess':company_name}) }}" {% if profile is defined and profile == 'Investment Interests' %} selected="selected" {% endif %}>Investment Interests </option>
<option value="{{ path('investor_interest_public_or', {'compnamess':company_name}) }}" {% if profile is defined and profile == 'Offered Investments' %} selected="selected" {% endif %}>Offered Investment</option>
<option value="{{ path('frontend_companyname_services', {'companyname':company_name}) }}" {% if profile is defined and profile == 'Services' %} selected="selected" {% endif %}>Services</option>
{% else %}
<option value="{{ path('frontend_offerIndividualProfile', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Profile' %} selected="selected" {% endif %}>Profile</option>
<option value="{{ path('frontend_publicnetwork', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Network' %} selected="selected" {% endif %}>Network</option>
<option value="{{ path('frontend_investorinterestpublicindividual', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Investment Interests' %} selected="selected" {% endif %}>Investment Interests </option>
<option value="{{ path('frontend_offerIndividualProfileInvestments', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Offered Investments' %} selected="selected" {% endif %}>Offered Investment</option>
<option value="{{ path('frontend_offerIndividualProfileServices', {'firstname':firstname, 'dot':'.', 'lastname':url_last_name}) }}" {% if profile is defined and profile == 'Services' %} selected="selected" {% endif %}>Services</option>
{% endif %}
";
// 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", "Company/companyprofile.html.twig"));
$this->parent = $this->loadTemplate("baserfp.html.twig", "Company/companyprofile.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()) {
}
if(empty($userdetails_result)){
$user_details['tagline'] = "";
}
if($user_idss=="") { $profile_view="public"; } else { $profile_view="own"; }
return $this->render('Company/companyprofile.html.twig',['defaultCompany' => $defaultCompany,'usernames' => $usernamee,'country_of_domicile' => $countrydom,'userarticletag' =>$userarticletag,'companyarticletag' => $companyarticletag,'usereventtag' =>$usereventtag,'companyeventtag' => $companyeventtag,'userjobtag' =>$userjobtag,'companyjobtag' => $companyjobtag,'location' => $locations,'empdeclinedstatus' => $empdeclinedstatus,'empconfirmedstatus' =>$empconfirmedstatus,'profile_view' => $profile_view,'user_id' => $user_id,'userjobtag' =>$userjobtag,'companyjobtag' => $companyjobtag,'usereventtag' =>$usereventtag,'companyeventtag' => $companyeventtag,'description' => $companyname.' People page coming soon', 'id' => $breadcrumbData['id'],'allcompanyuserAssoc' => $breadcrumbData['allcompanyuserAssoc'],"loggedInUserId" => $user_idss,'company_name' => $companyname,'profile' => 'Profile','comp_results' => $breadcrumbData['comp_results'],'user_details' =>$userdetails_result[0],'section_name' => $section_name,'url_last_name' => $url_last_name, 'last_name' => $url_last_name,'firstname' =>$firstname]);
}
else {
$companyarticletag = "yes";
}
$confirm_header = "Do you want to unfollow?";
$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);
echo ">Services</option>
";
} else {
// line 296
echo " <option value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_offerIndividualProfile", ["firstname" => (isset($context["firstname"]) || array_key_exists("firstname", $context) ? $context["firstname"] : (function () { throw new RuntimeError('Variable "firstname" does not exist.', 296, $this->source); })()), "dot" => ".", "lastname" => (isset($context["url_last_name"]) || array_key_exists("url_last_name", $context) ? $context["url_last_name"] : (function () { throw new RuntimeError('Variable "url_last_name" does not exist.', 296, $this->source); })())]), "html", null, true);
echo "\" ";
if ((array_key_exists("profile", $context) && ((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 296, $this->source); })()) == "Profile"))) {
echo " selected=\"selected\" ";
}
echo ">Profile</option>
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", "Company/companyprofile.html.twig"));
$this->parent = $this->loadTemplate("baserfp.html.twig", "Company/companyprofile.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()) {
}
if(empty($userdetails_result)){
$user_details['tagline'] = "";
}
if($user_idss=="") { $profile_view="public"; } else { $profile_view="own"; }
return $this->render('Company/companyprofile.html.twig',['defaultCompany' => $defaultCompany,'usernames' => $usernamee,'country_of_domicile' => $countrydom,'userarticletag' =>$userarticletag,'companyarticletag' => $companyarticletag,'usereventtag' =>$usereventtag,'companyeventtag' => $companyeventtag,'userjobtag' =>$userjobtag,'companyjobtag' => $companyjobtag,'location' => $locations,'empdeclinedstatus' => $empdeclinedstatus,'empconfirmedstatus' =>$empconfirmedstatus,'profile_view' => $profile_view,'user_id' => $user_id,'userjobtag' =>$userjobtag,'companyjobtag' => $companyjobtag,'usereventtag' =>$usereventtag,'companyeventtag' => $companyeventtag,'description' => $companyname.' People page coming soon', 'id' => $breadcrumbData['id'],'allcompanyuserAssoc' => $breadcrumbData['allcompanyuserAssoc'],"loggedInUserId" => $user_idss,'company_name' => $companyname,'profile' => 'Profile','comp_results' => $breadcrumbData['comp_results'],'user_details' =>$userdetails_result[0],'section_name' => $section_name,'url_last_name' => $url_last_name, 'last_name' => $url_last_name,'firstname' =>$firstname]);
}
else {
$companyarticletag = "yes";
}
$confirm_header = "Do you want to unfollow?";
$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- ]+" ("Marc%20C" given) to generate a corresponding URL."). at templates/Company/companyprofile.html.twig:296 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/09/09b2303c126a35887186f07015c7d17d.php:49) at __TwigTemplate_6b321ded97c02eab63acaa31a1fd830a->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/InvestmentController.php:28071) at App\Controller\InvestmentController->companynamearticles() (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- ]+" ("Marc%20C" 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/09/09b2303c126a35887186f07015c7d17d.php:1003) at __TwigTemplate_6b321ded97c02eab63acaa31a1fd830a->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/09/09b2303c126a35887186f07015c7d17d.php:49) at __TwigTemplate_6b321ded97c02eab63acaa31a1fd830a->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/InvestmentController.php:28071) at App\Controller\InvestmentController->companynamearticles() (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) |