Notice (8) : Undefined variable: resources [APP/Controller/EventsController.php , line 49 ]Code Context if( $country_id != null && !empty( $country_id )) {
$resources = $resources -> where ([ 'Resources.country_id' => $country_id ]);
}
$events = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Events.id AS `Events__id`, Events.organization_id AS `Events__organization_id`, Events.title AS `Events__title`, Events.description AS `Events__description`, Events.country_id AS `Events__country_id`, Events.city_id AS `Events__city_id`, Events.address AS `Events__address`, Events.lat AS `Events__lat`, Events.lng AS `Events__lng`, Events.start_date AS `Events__start_date`, Events.end_date AS `Events__end_date`, Events.image AS `Events__image`, Events.status AS `Events__status`, Events.requesting_volunteers AS `Events__requesting_volunteers`, Events.has_remunerations AS `Events__has_remunerations`, Events.created AS `Events__created`, Events.modified AS `Events__modified`, Events.region_id AS `Events__region_id`, Events_title_translation.id AS `Events_title_translation__id`, Events_title_translation.locale AS `Events_title_translation__locale`, Events_title_translation.model AS `Events_title_translation__model`, Events_title_translation.foreign_key AS `Events_title_translation__foreign_key`, Events_title_translation.field AS `Events_title_translation__field`, Events_title_translation.content AS `Events_title_translation__content`, Events_description_translation.id AS `Events_description_translation__id`, Events_description_translation.locale AS `Events_description_translation__locale`, Events_description_translation.model AS `Events_description_translation__model`, Events_description_translation.foreign_key AS `Events_description_translation__foreign_key`, Events_description_translation.field AS `Events_description_translation__field`, Events_description_translation.content AS `Events_description_translation__content` FROM events Events LEFT JOIN i18n Events_title_translation ON (Events_title_translation.model = :c0 AND Events_title_translation.field = :c1 AND Events_title_translation.locale = :c2 AND Events.id = (Events_title_translation.foreign_key)) LEFT JOIN i18n Events_description_translation ON (Events_description_translation.model = :c3 AND Events_description_translation.field = :c4 AND Events_description_translation.locale = :c5 AND Events.id = (Events_description_translation.foreign_key)) WHERE Events.status = :c6 ORDER BY Events.created DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Events__id' => 'integer',
'Events.id' => 'integer',
'id' => 'integer',
'Events__organization_id' => 'integer',
'Events.organization_id' => 'integer',
'organization_id' => 'integer',
'Events__title' => 'string',
'Events.title' => 'string',
'title' => 'string',
'Events__description' => 'text',
'Events.description' => 'text',
'description' => 'text',
'Events__country_id' => 'integer',
'Events.country_id' => 'integer',
'country_id' => 'integer',
'Events__city_id' => 'integer',
'Events.city_id' => 'integer',
'city_id' => 'integer',
'Events__address' => 'text',
'Events.address' => 'text',
'address' => 'text',
'Events__lat' => 'string',
'Events.lat' => 'string',
'lat' => 'string',
'Events__lng' => 'string',
'Events.lng' => 'string',
'lng' => 'string',
'Events__start_date' => 'datetime',
'Events.start_date' => 'datetime',
'start_date' => 'datetime',
'Events__end_date' => 'datetime',
'Events.end_date' => 'datetime',
'end_date' => 'datetime',
'Events__image' => 'string',
'Events.image' => 'string',
'image' => 'string',
'Events__status' => 'integer',
'Events.status' => 'integer',
'status' => 'integer',
'Events__requesting_volunteers' => 'tinyinteger',
'Events.requesting_volunteers' => 'tinyinteger',
'requesting_volunteers' => 'tinyinteger',
'Events__has_remunerations' => 'tinyinteger',
'Events.has_remunerations' => 'tinyinteger',
'has_remunerations' => 'tinyinteger',
'Events__created' => 'datetime',
'Events.created' => 'datetime',
'created' => 'datetime',
'Events__modified' => 'datetime',
'Events.modified' => 'datetime',
'modified' => 'datetime',
'Events__region_id' => 'integer',
'Events.region_id' => 'integer',
'region_id' => 'integer',
'Events_title_translation__id' => 'integer',
'Events_title_translation.id' => 'integer',
'Events_title_translation__locale' => 'string',
'Events_title_translation.locale' => 'string',
'locale' => 'string',
'Events_title_translation__model' => 'string',
'Events_title_translation.model' => 'string',
'model' => 'string',
'Events_title_translation__foreign_key' => 'integer',
'Events_title_translation.foreign_key' => 'integer',
'foreign_key' => 'integer',
'Events_title_translation__field' => 'string',
'Events_title_translation.field' => 'string',
'field' => 'string',
'Events_title_translation__content' => 'text',
'Events_title_translation.content' => 'text',
'content' => 'text',
'Events_description_translation__id' => 'integer',
'Events_description_translation.id' => 'integer',
'Events_description_translation__locale' => 'string',
'Events_description_translation.locale' => 'string',
'Events_description_translation__model' => 'string',
'Events_description_translation.model' => 'string',
'Events_description_translation__foreign_key' => 'integer',
'Events_description_translation.foreign_key' => 'integer',
'Events_description_translation__field' => 'string',
'Events_description_translation.field' => 'string',
'Events_description_translation__content' => 'text',
'Events_description_translation.content' => 'text'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 1,
'mapReducers' => (int) 0,
'contain' => [
'Events_title_translation' => [
[maximum depth reached]
],
'Events_description_translation' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\EventsTable) {}
}
$search = null
$region_id = null
$country_id = '49' App\Controller\EventsController::index() - APP/Controller/EventsController.php, line 49
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
App\Middleware\I18nPatchMiddleware::__invoke() - APP/Middleware/I18nPatchMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 119
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Warning (512) : Unable to emit headers. Headers sent in file=/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php , line 51 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function where() on null </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function where() on null <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="605"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="606"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/* @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="611"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="612"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="613"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>object(App\Controller\EventsController) {
helpers => []
request => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [
[maximum depth reached]
]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => [[maximum depth reached]]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => [
'contain' => [
(int) 0 => 'Organizations',
(int) 1 => 'Countries',
(int) 2 => 'Cities',
(int) 3 => 'Regions'
]
]
components => []
View => null
passedArgs => []
modelClass => 'Events'
viewClass => null
viewVars => []
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Events => object(App\Model\Table\EventsTable) {
'registryAlias' => 'Events',
'table' => 'events',
'alias' => 'Events',
'entityClass' => 'App\Model\Entity\Event',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] name => 'Events'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\EventsController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => 'Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager',
'_dispatchedEvents' => null
}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] locations => [
[maximum depth reached]
]
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [
[maximum depth reached]
]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => null
}</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/src/Middleware/I18nPatchMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
[protected] callables => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/src/Controller/EventsController.php, line 49<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>I18n</strong></li>
<li><strong>Events_title_translation</strong></li>
<li><strong>Events_description_translation</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\EventsController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 609 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 234 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
APP/Middleware/I18nPatchMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ App\Middleware\I18nPatchMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 97 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 40 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = '/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 856
$message = 'Unable to emit headers. Headers sent in file=/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=856' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 152 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function where() on null </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function where() on null <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="605"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="606"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/* @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="611"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="612"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="613"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>object(App\Controller\EventsController) {
helpers => []
request => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [
[maximum depth reached]
]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => [[maximum depth reached]]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => [
'contain' => [
(int) 0 => 'Organizations',
(int) 1 => 'Countries',
(int) 2 => 'Cities',
(int) 3 => 'Regions'
]
]
components => []
View => null
passedArgs => []
modelClass => 'Events'
viewClass => null
viewVars => []
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Events => object(App\Model\Table\EventsTable) {
'registryAlias' => 'Events',
'table' => 'events',
'alias' => 'Events',
'entityClass' => 'App\Model\Entity\Event',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] name => 'Events'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\EventsController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => 'Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager',
'_dispatchedEvents' => null
}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] locations => [
[maximum depth reached]
]
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [
[maximum depth reached]
]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => null
}</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/src/Middleware/I18nPatchMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
[protected] callables => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/src/Controller/EventsController.php, line 49<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>I18n</strong></li>
<li><strong>Events_title_translation</strong></li>
<li><strong>Events_description_translation</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\EventsController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 609 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 234 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
APP/Middleware/I18nPatchMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ App\Middleware\I18nPatchMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 97 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 40 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 185 ]Code Context $value
), $first );
$first = false ;
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function where() on null </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function where() on null <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="605"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="606"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/* @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="611"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="612"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="613"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>object(App\Controller\EventsController) {
helpers => []
request => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [
[maximum depth reached]
]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => [[maximum depth reached]]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => [
'contain' => [
(int) 0 => 'Organizations',
(int) 1 => 'Countries',
(int) 2 => 'Cities',
(int) 3 => 'Regions'
]
]
components => []
View => null
passedArgs => []
modelClass => 'Events'
viewClass => null
viewVars => []
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Events => object(App\Model\Table\EventsTable) {
'registryAlias' => 'Events',
'table' => 'events',
'alias' => 'Events',
'entityClass' => 'App\Model\Entity\Event',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] name => 'Events'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\EventsController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => 'Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager',
'_dispatchedEvents' => null
}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] locations => [
[maximum depth reached]
]
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [
[maximum depth reached]
]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => null
}</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/src/Middleware/I18nPatchMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null,
'_csrfToken' => '2288b8d1ff217497e787c539144d54bcbfcd4b614e66dfd6c492f6ba9284fec041de0b3f8aace8e8e3c8dc112984b6601e44cdfbf55822c0f87434e37d494f7c'
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_REFERER' => null,
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [
[maximum depth reached]
]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 2
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
[protected] callables => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
(int) 1 => object(Cake\Http\Runner) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'lang' => 'en',
'controller' => 'Events',
'pass' => [],
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/:lang/:controller',
'?' => [
'country_id' => '49'
],
'_ext' => null
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 5
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Middleware\I18nPatchMiddleware) {},
(int) 4 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
[protected] data => []
[protected] query => [
'country_id' => '49'
]
[protected] cookies => []
[protected] _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'volunteer.africa',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/hruaif93/public_html',
'REMOTE_ADDR' => '3.237.29.69',
'REMOTE_PORT' => '35606',
'SERVER_ADDR' => '192.168.100.241',
'SERVER_NAME' => 'volunteer.africa',
'SERVER_ADMIN' => 'webmaster@volunteer.africa',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/en/events?country_id=49',
'REDIRECT_URL' => '/webroot/en/events',
'REDIRECT_QUERY_STRING' => 'country_id=49',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/hruaif93/public_html/webroot/index.php',
'QUERY_STRING' => 'country_id=49',
'SCRIPT_URI' => 'https://volunteer.africa/en/events',
'SCRIPT_URL' => '/en/events',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1675005467.3462,
'REQUEST_TIME' => (int) 1675005467,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'en/events'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/en/events'
[protected] trustedProxies => []
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'volunteer.africa'
[private] port => null
[private] path => '/en/events'
[private] query => 'country_id=49'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
'get' => 'getData()',
'set' => 'withData()'
],
'query' => [
'get' => 'getQuery()',
'set' => 'withQueryParams()'
],
'params' => [
'get' => 'getParam()',
'set' => 'withParam()'
],
'cookies' => [
'get' => 'getCookie()',
'set' => 'withCookieParams()'
],
'url' => [
'get' => 'getPath()',
'set' => 'withRequestTarget()'
],
'base' => [
'get' => 'getAttribute("base")',
'set' => 'withAttribute("base")'
],
'webroot' => [
'get' => 'getAttribute("webroot")',
'set' => 'withAttribute("webroot")'
],
'here' => [
'get' => 'getAttribute("here")',
'set' => 'withAttribute("here")'
]
]
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {
[protected] cookies => [[maximum depth reached]]
},
'cacheDirectives' => [],
'body' => ''
}</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/hruaif93/public_html/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/src/Controller/EventsController.php, line 49<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>I18n</strong></li>
<li><strong>Events_title_translation</strong></li>
<li><strong>Events_description_translation</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\EventsController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 609 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 234 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
APP/Middleware/I18nPatchMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ App\Middleware\I18nPatchMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE/src/Http/Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 97 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 40 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Error: Call to a member function where() on null