throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Record.f00_web_header1 AS `Record__f00_web_header1`, Record.f00_web_header2 AS `Record__f00_web_header2`, Record.f01_header1 AS `Record__f01_header1`, Record.f01_header2 AS `Record__f01_header2`, Record.f01_header3 AS `Record__f01_header3`, Record.f01_header4 AS `Record__f01_header4`, Record.f03_web_image_URL AS `Record__f03_web_image_URL`, Record.zkp_ID_t AS `Record__zkp_ID_t`, Record.zkp_recordID_cn AS `Record__zkp_recordID_cn`, Record.f03_imageURL_t AS `Record__f03_imageURL_t`, Record.f99_hidden AS `Record__f99_hidden` FROM record Record WHERE (Record.zkp_ID_t in ('RECMG9329','RECMG9330','RECMG9331','RECMG9332','RECMG9333','RECMG9334','RECMG9335','RECMG9336','RECMG9337','RECMG9338','RECMG9339','RECMG9340','RECMG9341','RECMG9342','RECMG9343','RECMG9344','RECMG9345','RECMG9346','RECMG9347','RECMG9348','RECMG9349','RECMG9350','RECMG9351','RECMG9353','RECMG9354','RECMG9355','RECMG9356','RECMG9357','RECMG9358','RECMG9359','RECMG9360','RECMG9361','RECMG9362','RECMG9363','RECMG9364','RECMG9365','RECMG9366','RECMG9367','RECMG9368','RECMG9369','RECMG9370','RECMG9371','RECMG9372','RECMG9373','RECMG9374','RECMG9375','RECMG9376','RECMG9377','RECMG9378','RECMG9379','RECMG9380','RECMG9381','RECMG9382','RECMG9383','RECMG9384','RECMG9385','RECMG9386','RECMG9387','RECMG9388','RECMG9389','RECMG9390','RECMG9391','RECMG9392','RECMG9393','RECMG9394','RECMG9395','RECMG9396','RECMG9399','RECMG9400','RECMG9401','RECMG9404','RECMG9406','RECMG9407','RECMG9410','RECMG9411','RECMG9412','RECMG9415','RECMG9416','RECMG9419','RECMG9422','RECMG9423','RECMG9426','RECMG9428','RECMG9430','RECMG9434','RECMG9435','RECMG9437','RECMG9438','RECMG9440','RECMG9441','RECMG9443','RECMG9444','RECMG9445','RECMG9446','RECMG9447','RECMG9448','RECMG9449','RECMG9454','RECMG9455','RECMG9456','RECMG9457','REC12ND00578','REC12ND00579','REC12ND00580','REC12ND00581','REC12ND00582','REC12ND00583','REC12ND00584','REC12ND00585','REC12ND00586','REC12ND00587','REC12ND00588','REC12ND00589','REC12ND00590','REC12ND00591','REC12ND00593','REC12ND00594','REC109add9e522047','REC109add9e522048','REC109add9e522049','REC109add9e522050','REC109add9e522051','REC109add9e522052','REC109add9e522053','REC109add9e522054','REC109add9e522055','REC109add9e522056','REC109add9e522057','REC109add9e522058','REC109add9e522059','REC109add9e522060','REC109add9e522061','REC109add9e522062','REC109add9e522063','REC109add9e522064','REC109add9e522065','REC109add9e522066','REC109add9e522067','REC109add9e522068','REC109add9e522069','REC109add9e522070','REC109add9e522071','REC109add9e522072','REC109add9e522073','REC109add9e522074','REC109add9e522075','REC109add9e522076','REC109add9e522077','REC109add9e522078','REC109add9e522079','REC109add9e522080','REC109add9e522081','REC109add9e522082','REC109add9e522083','REC109add9e522084','REC109add9e522085','REC109add9e522086','REC109add9e522087','REC109add9e522088','REC109add9e522089','REC109add9e522090','REC109add9e522091','REC109add9e522092','REC109add9e522094','REC109add9e522095','REC109add9e522096','REC109add9e522097','REC109add9e522098','REC109add9e522137','REC109add9e522138','REC109add9e524981','REC109add9e524982','REC109add9e524983','REC109add9e524984','REC109add9e524985','REC109add9e524986','REC109add9e524987','REC109add9e524988','REC109add9e524989','REC109add9e524990','REC109add9e524991','REC109add9e524992','REC109add9e524993','REC109add9e524994','REC109add9e524995','REC109add9e524996','REC109add9e524997','REC109add9e524998','REC109add9e524999','REC109add9e525000','REC109add9e525001','REC109add9e525002','REC109add9e525003','REC109add9e525004','REC109add9e525005','REC109add9e525006','REC109add9e525007','REC109add9e525008','REC109add9e525009','REC109add9e525010','REC109add9e525011','REC109add9e525825','REC109add9e525826','REC109add9e525827','REC109add9e525828','REC109add9e525829','REC109add9e525830','REC109add9e525831','REC109add9e525832','REC109add9e525833','REC109add9e525834','REC109add9e525835','REC109add9e525836','REC109add9e525837','REC109add9e525838','REC109add9e525839','REC109add9e525840','REC109add9e525841','REC109add9e525842','REC109add9e525843','REC109add9e525844','REC109add9e525845','REC109add9e525846','REC109add9e525847','REC109add9e525848','REC109add9e525849','REC109add9e525850','REC109add9e525851','REC109add9e527716','REC109add9e527717','REC109add9e527718','REC109add9e527719','REC109add9e527720','REC109add9e527721','REC109add9e527722','REC109add9e527723','REC109add9e527724','REC109add9e527725','REC109add9e527726','REC109add9e527727','REC109add9e527728','REC109add9e527729','REC109add9e527730','REC109add9e527731','REC109add9e527732','REC109add9e527733','REC109add9e527734','REC109add9e527735','REC109add9e527736','REC109add9e527737','REC109add9e527738','REC109add9e527739','REC109add9e527740','REC109add9e527741','REC109add9e527742','REC109add9e527743','REC109add9e527744','REC109add9e527745','REC109add9e527746','REC109add9e527747','REC109add9e527748','REC109add9e527749','REC109add9e527750','REC109add9e527751','REC109add9e527752','REC109add9e527753','REC109add9e527754','REC109add9e527755','REC109add9e527756','REC109add9e527757','REC109add9e527758','REC109add9e527759','REC109add9e527760','REC109add9e527761','REC109add9e527762','REC109add9e527763','REC109add9e527764','REC109add9e527765','REC109add9e527766','REC109add9e527767','REC109add9e527768','REC109add9e527769','REC109add9e527770','REC109add9e527771','REC109add9e527772','REC109add9e527773','REC109add9e527774','REC109add9e527775','REC109add9e527776','REC109add9e527777') AND Record.z_hidden_b in (:c0,:c1,:c2) AND Record.f001_country in (:c3,:c4,:c5,:c6)) ORDER BY Record.f00_web_header1 ASC LIMIT 50 OFFSET 50', 'params' => [ ':c0' => [ 'value' => '0', 'type' => 'string', 'placeholder' => 'c0' ], ':c1' => [ 'value' => '-2', 'type' => 'string', 'placeholder' => 'c1' ], ':c2' => [ 'value' => '-99', 'type' => 'string', 'placeholder' => 'c2' ], ':c3' => [ 'value' => 'USA', 'type' => 'string', 'placeholder' => 'c3' ], ':c4' => [ 'value' => 'Canada and USA', 'type' => 'string', 'placeholder' => 'c4' ], ':c5' => [ 'value' => 'Canada / USA', 'type' => 'string', 'placeholder' => 'c5' ], ':c6' => [ 'value' => '', 'type' => 'string', 'placeholder' => 'c6' ] ], 'defaultTypes' => [ 'Record__id' => 'biginteger', 'Record.id' => 'biginteger', 'id' => 'biginteger', 'Record__f00_displaySub' => 'text', 'Record.f00_displaySub' => 'text', 'f00_displaySub' => 'text', 'Record__f00_web_header1' => 'text', 'Record.f00_web_header1' => 'text', 'f00_web_header1' => 'text', 'Record__f00_web_header2' => 'text', 'Record.f00_web_header2' => 'text', 'f00_web_header2' => 'text', 'Record__f00_web_title' => 'string', 'Record.f00_web_title' => 'string', 'f00_web_title' => 'string', 'Record__f01_header1' => 'text', 'Record.f01_header1' => 'text', 'f01_header1' => 'text', 'Record__f01_header2' => 'text', 'Record.f01_header2' => 'text', 'f01_header2' => 'text', 'Record__f01_header3' => 'text', 'Record.f01_header3' => 'text', 'f01_header3' => 'text', 'Record__f01_header4' => 'text', 'Record.f01_header4' => 'text', 'f01_header4' => 'text', 'Record__f01_header5' => 'text', 'Record.f01_header5' => 'text', 'f01_header5' => 'text', 'Record__f01_header6' => 'text', 'Record.f01_header6' => 'text', 'f01_header6' => 'text', 'Record__f02_body_NHP_summary' => 'text', 'Record.f02_body_NHP_summary' => 'text', 'f02_body_NHP_summary' => 'text', 'Record__f02_body1' => 'text', 'Record.f02_body1' => 'text', 'f02_body1' => 'text', 'Record__f02_body2' => 'text', 'Record.f02_body2' => 'text', 'f02_body2' => 'text', 'Record__f02_body3' => 'text', 'Record.f02_body3' => 'text', 'f02_body3' => 'text', 'Record__f02_body4' => 'text', 'Record.f02_body4' => 'text', 'f02_body4' => 'text', 'Record__f02_body5' => 'text', 'Record.f02_body5' => 'text', 'f02_body5' => 'text', 'Record__f02_body6' => 'text', 'Record.f02_body6' => 'text', 'f02_body6' => 'text', 'Record__f02_body7' => 'text', 'Record.f02_body7' => 'text', 'f02_body7' => 'text', 'Record__f02_body8' => 'text', 'Record.f02_body8' => 'text', 'f02_body8' => 'text', 'Record__f03_web_image_URL' => 'string', 'Record.f03_web_image_URL' => 'string', 'f03_web_image_URL' => 'string', 'Record__f03_web_image_URL_large' => 'string', 'Record.f03_web_image_URL_large' => 'string', 'f03_web_image_URL_large' => 'string', 'Record__f01_header0_web_buy_script' => 'text', 'Record.f01_header0_web_buy_script' => 'text', 'f01_header0_web_buy_script' => 'text', 'Record__f03_web_store_link' => 'string', 'Record.f03_web_store_link' => 'string', 'f03_web_store_link' => 'string', 'Record__f03_imageURL_t' => 'string', 'Record.f03_imageURL_t' => 'string', 'f03_imageURL_t' => 'string', 'Record__f04_keywordsPaid' => 'text', 'Record.f04_keywordsPaid' => 'text', 'f04_keywordsPaid' => 'text', 'Record__f05_significance_n' => 'string', 'Record.f05_significance_n' => 'string', 'f05_significance_n' => 'string', 'Record__f98_shortURL' => 'string', 'Record.f98_shortURL' => 'string', 'f98_shortURL' => 'string', 'Record__zi_sorter_un' => 'string', 'Record.zi_sorter_un' => 'string', 'zi_sorter_un' => 'string', 'Record__z_hidden_b' => 'string', 'Record.z_hidden_b' => 'string', 'z_hidden_b' => 'string', 'Record__z_isFilter_b' => 'string', 'Record.z_isFilter_b' => 'string', 'z_isFilter_b' => 'string', 'Record__z_locked_b' => 'string', 'Record.z_locked_b' => 'string', 'z_locked_b' => 'string', 'Record__f99_hidden' => 'string', 'Record.f99_hidden' => 'string', 'f99_hidden' => 'string', 'Record__zkf_oldID_t' => 'string', 'Record.zkf_oldID_t' => 'string', 'zkf_oldID_t' => 'string', 'Record__zkp_ID_t' => 'string', 'Record.zkp_ID_t' => 'string', 'zkp_ID_t' => 'string', 'Record__zkp_recordID_cn' => 'string', 'Record.zkp_recordID_cn' => 'string', 'zkp_recordID_cn' => 'string', 'Record__f001_country' => 'string', 'Record.f001_country' => 'string', 'f001_country' => 'string', 'Record__f001_vendor' => 'string', 'Record.f001_vendor' => 'string', 'f001_vendor' => 'string', 'Record__f03_image1_size_cn' => 'string', 'Record.f03_image1_size_cn' => 'string', 'f03_image1_size_cn' => 'string', 'Record__f04_keywordText_t10' => 'text', 'Record.f04_keywordText_t10' => 'text', 'f04_keywordText_t10' => 'text', 'Record__Matt_exp_webviewer' => 'text', 'Record.Matt_exp_webviewer' => 'text', 'Matt_exp_webviewer' => 'text', 'Record__SP_foundCount_un' => 'string', 'Record.SP_foundCount_un' => 'string', 'SP_foundCount_un' => 'string', 'Record__z_log_b' => 'string', 'Record.z_log_b' => 'string', 'z_log_b' => 'string', 'Record__za_created_m' => 'string', 'Record.za_created_m' => 'string', 'za_created_m' => 'string', 'Record__za_creator_t' => 'string', 'Record.za_creator_t' => 'string', 'za_creator_t' => 'string', 'Record__za_modified_m' => 'string', 'Record.za_modified_m' => 'string', 'za_modified_m' => 'string', 'Record__za_modifier_t' => 'string', 'Record.za_modifier_t' => 'string', 'za_modifier_t' => 'string', 'Record__za_recordAccess_un' => 'string', 'Record.za_recordAccess_un' => 'string', 'za_recordAccess_un' => 'string', 'Record__zi_count_s' => 'string', 'Record.zi_count_s' => 'string', 'zi_count_s' => 'string', 'Record__zi_CRN_un' => 'string', 'Record.zi_CRN_un' => 'string', 'zi_CRN_un' => 'string', 'Record__zk_0_cn' => 'string', 'Record.zk_0_cn' => 'string', 'zk_0_cn' => 'string', 'Record__zk_1_cn' => 'string', 'Record.zk_1_cn' => 'string', 'zk_1_cn' => 'string', 'Record__zk_2_cn' => 'string', 'Record.zk_2_cn' => 'string', 'zk_2_cn' => 'string', 'Record__zt_CHT_um' => 'string', 'Record.zt_CHT_um' => 'string', 'zt_CHT_um' => 'string', 'Record__zkp_synonyms_for_keyword' => 'text', 'Record.zkp_synonyms_for_keyword' => 'text', 'zkp_synonyms_for_keyword' => 'text', 'Record__z_meta_title' => 'string', 'Record.z_meta_title' => 'string', 'z_meta_title' => 'string', 'Record__z_meta_description' => 'text', 'Record.z_meta_description' => 'text', 'z_meta_description' => 'text', 'Record__z_Rank_5000' => 'text', 'Record.z_Rank_5000' => 'text', 'z_Rank_5000' => 'text', 'Record__z_Rank_1000' => 'text', 'Record.z_Rank_1000' => 'text', 'z_Rank_1000' => 'text', 'Record__z_Rank_700' => 'text', 'Record.z_Rank_700' => 'text', 'z_Rank_700' => 'text', 'Record__z_Rank_500' => 'text', 'Record.z_Rank_500' => 'text', 'z_Rank_500' => 'text', 'Record__z_Rank_400' => 'text', 'Record.z_Rank_400' => 'text', 'z_Rank_400' => 'text', 'Record__z_Rank_300' => 'text', 'Record.z_Rank_300' => 'text', 'z_Rank_300' => 'text', 'Record__z_Rank_200' => 'text', 'Record.z_Rank_200' => 'text', 'z_Rank_200' => 'text', 'Record__z_Rank_150' => 'text', 'Record.z_Rank_150' => 'text', 'z_Rank_150' => 'text', 'Record__z_Rank_100' => 'text', 'Record.z_Rank_100' => 'text', 'z_Rank_100' => 'text', 'Record__z_Rank_75' => 'text', 'Record.z_Rank_75' => 'text', 'z_Rank_75' => 'text', 'Record__z_Rank_50' => 'text', 'Record.z_Rank_50' => 'text', 'z_Rank_50' => 'text', 'Record__z_Rank_25' => 'text', 'Record.z_Rank_25' => 'text', 'z_Rank_25' => 'text', 'Record__z_Rank_1' => 'text', 'Record.z_Rank_1' => 'text', 'z_Rank_1' => 'text' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(Cake\ORM\Table) { 'registryAlias' => 'Record', 'table' => 'record', 'alias' => 'Record', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'limit' => (int) 50 ]
}else { |
|
|
|
$this->set('view','grid'); |
|
|
|
$all_records = $this->paginate($this->Record->find('all',['scope'=>'querystring', 'limit'=>'53', 'order'=>['Record.f00_web_header1'=> 'ASC']])->where([$rec_conditions])->select(['f00_web_header1','f00_web_header2','f01_header1','f01_header2','f01_header3','f01_header4','f03_web_image_URL','zkp_ID_t','zkp_recordID_cn','f03_imageURL_t','f99_hidden'])); |
|
|
|
$this->set('records',$all_records) ; |
|
|
|
} |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Record.f00_web_header1 AS `Record__f00_web_header1`, Record.f00_web_header2 AS `Record__f00_web_header2`, Record.f01_header1 AS `Record__f01_header1`, Record.f01_header2 AS `Record__f01_header2`, Record.f01_header3 AS `Record__f01_header3`, Record.f01_header4 AS `Record__f01_header4`, Record.f03_web_image_URL AS `Record__f03_web_image_URL`, Record.zkp_ID_t AS `Record__zkp_ID_t`, Record.zkp_recordID_cn AS `Record__zkp_recordID_cn`, Record.f03_imageURL_t AS `Record__f03_imageURL_t`, Record.f99_hidden AS `Record__f99_hidden` FROM record Record WHERE (Record.zkp_ID_t in ('RECMG9329','RECMG9330','RECMG9331','RECMG9332','RECMG9333','RECMG9334','RECMG9335','RECMG9336','RECMG9337','RECMG9338','RECMG9339','RECMG9340','RECMG9341','RECMG9342','RECMG9343','RECMG9344','RECMG9345','RECMG9346','RECMG9347','RECMG9348','RECMG9349','RECMG9350','RECMG9351','RECMG9353','RECMG9354','RECMG9355','RECMG9356','RECMG9357','RECMG9358','RECMG9359','RECMG9360','RECMG9361','RECMG9362','RECMG9363','RECMG9364','RECMG9365','RECMG9366','RECMG9367','RECMG9368','RECMG9369','RECMG9370','RECMG9371','RECMG9372','RECMG9373','RECMG9374','RECMG9375','RECMG9376','RECMG9377','RECMG9378','RECMG9379','RECMG9380','RECMG9381','RECMG9382','RECMG9383','RECMG9384','RECMG9385','RECMG9386','RECMG9387','RECMG9388','RECMG9389','RECMG9390','RECMG9391','RECMG9392','RECMG9393','RECMG9394','RECMG9395','RECMG9396','RECMG9399','RECMG9400','RECMG9401','RECMG9404','RECMG9406','RECMG9407','RECMG9410','RECMG9411','RECMG9412','RECMG9415','RECMG9416','RECMG9419','RECMG9422','RECMG9423','RECMG9426','RECMG9428','RECMG9430','RECMG9434','RECMG9435','RECMG9437','RECMG9438','RECMG9440','RECMG9441','RECMG9443','RECMG9444','RECMG9445','RECMG9446','RECMG9447','RECMG9448','RECMG9449','RECMG9454','RECMG9455','RECMG9456','RECMG9457','REC12ND00578','REC12ND00579','REC12ND00580','REC12ND00581','REC12ND00582','REC12ND00583','REC12ND00584','REC12ND00585','REC12ND00586','REC12ND00587','REC12ND00588','REC12ND00589','REC12ND00590','REC12ND00591','REC12ND00593','REC12ND00594','REC109add9e522047','REC109add9e522048','REC109add9e522049','REC109add9e522050','REC109add9e522051','REC109add9e522052','REC109add9e522053','REC109add9e522054','REC109add9e522055','REC109add9e522056','REC109add9e522057','REC109add9e522058','REC109add9e522059','REC109add9e522060','REC109add9e522061','REC109add9e522062','REC109add9e522063','REC109add9e522064','REC109add9e522065','REC109add9e522066','REC109add9e522067','REC109add9e522068','REC109add9e522069','REC109add9e522070','REC109add9e522071','REC109add9e522072','REC109add9e522073','REC109add9e522074','REC109add9e522075','REC109add9e522076','REC109add9e522077','REC109add9e522078','REC109add9e522079','REC109add9e522080','REC109add9e522081','REC109add9e522082','REC109add9e522083','REC109add9e522084','REC109add9e522085','REC109add9e522086','REC109add9e522087','REC109add9e522088','REC109add9e522089','REC109add9e522090','REC109add9e522091','REC109add9e522092','REC109add9e522094','REC109add9e522095','REC109add9e522096','REC109add9e522097','REC109add9e522098','REC109add9e522137','REC109add9e522138','REC109add9e524981','REC109add9e524982','REC109add9e524983','REC109add9e524984','REC109add9e524985','REC109add9e524986','REC109add9e524987','REC109add9e524988','REC109add9e524989','REC109add9e524990','REC109add9e524991','REC109add9e524992','REC109add9e524993','REC109add9e524994','REC109add9e524995','REC109add9e524996','REC109add9e524997','REC109add9e524998','REC109add9e524999','REC109add9e525000','REC109add9e525001','REC109add9e525002','REC109add9e525003','REC109add9e525004','REC109add9e525005','REC109add9e525006','REC109add9e525007','REC109add9e525008','REC109add9e525009','REC109add9e525010','REC109add9e525011','REC109add9e525825','REC109add9e525826','REC109add9e525827','REC109add9e525828','REC109add9e525829','REC109add9e525830','REC109add9e525831','REC109add9e525832','REC109add9e525833','REC109add9e525834','REC109add9e525835','REC109add9e525836','REC109add9e525837','REC109add9e525838','REC109add9e525839','REC109add9e525840','REC109add9e525841','REC109add9e525842','REC109add9e525843','REC109add9e525844','REC109add9e525845','REC109add9e525846','REC109add9e525847','REC109add9e525848','REC109add9e525849','REC109add9e525850','REC109add9e525851','REC109add9e527716','REC109add9e527717','REC109add9e527718','REC109add9e527719','REC109add9e527720','REC109add9e527721','REC109add9e527722','REC109add9e527723','REC109add9e527724','REC109add9e527725','REC109add9e527726','REC109add9e527727','REC109add9e527728','REC109add9e527729','REC109add9e527730','REC109add9e527731','REC109add9e527732','REC109add9e527733','REC109add9e527734','REC109add9e527735','REC109add9e527736','REC109add9e527737','REC109add9e527738','REC109add9e527739','REC109add9e527740','REC109add9e527741','REC109add9e527742','REC109add9e527743','REC109add9e527744','REC109add9e527745','REC109add9e527746','REC109add9e527747','REC109add9e527748','REC109add9e527749','REC109add9e527750','REC109add9e527751','REC109add9e527752','REC109add9e527753','REC109add9e527754','REC109add9e527755','REC109add9e527756','REC109add9e527757','REC109add9e527758','REC109add9e527759','REC109add9e527760','REC109add9e527761','REC109add9e527762','REC109add9e527763','REC109add9e527764','REC109add9e527765','REC109add9e527766','REC109add9e527767','REC109add9e527768','REC109add9e527769','REC109add9e527770','REC109add9e527771','REC109add9e527772','REC109add9e527773','REC109add9e527774','REC109add9e527775','REC109add9e527776','REC109add9e527777') AND Record.z_hidden_b in (:c0,:c1,:c2) AND Record.f001_country in (:c3,:c4,:c5,:c6)) ORDER BY Record.f00_web_header1 ASC LIMIT 50 OFFSET 50', 'params' => [ ':c0' => [ 'value' => '0', 'type' => 'string', 'placeholder' => 'c0' ], ':c1' => [ 'value' => '-2', 'type' => 'string', 'placeholder' => 'c1' ], ':c2' => [ 'value' => '-99', 'type' => 'string', 'placeholder' => 'c2' ], ':c3' => [ 'value' => 'USA', 'type' => 'string', 'placeholder' => 'c3' ], ':c4' => [ 'value' => 'Canada and USA', 'type' => 'string', 'placeholder' => 'c4' ], ':c5' => [ 'value' => 'Canada / USA', 'type' => 'string', 'placeholder' => 'c5' ], ':c6' => [ 'value' => '', 'type' => 'string', 'placeholder' => 'c6' ] ], 'defaultTypes' => [ 'Record__id' => 'biginteger', 'Record.id' => 'biginteger', 'id' => 'biginteger', 'Record__f00_displaySub' => 'text', 'Record.f00_displaySub' => 'text', 'f00_displaySub' => 'text', 'Record__f00_web_header1' => 'text', 'Record.f00_web_header1' => 'text', 'f00_web_header1' => 'text', 'Record__f00_web_header2' => 'text', 'Record.f00_web_header2' => 'text', 'f00_web_header2' => 'text', 'Record__f00_web_title' => 'string', 'Record.f00_web_title' => 'string', 'f00_web_title' => 'string', 'Record__f01_header1' => 'text', 'Record.f01_header1' => 'text', 'f01_header1' => 'text', 'Record__f01_header2' => 'text', 'Record.f01_header2' => 'text', 'f01_header2' => 'text', 'Record__f01_header3' => 'text', 'Record.f01_header3' => 'text', 'f01_header3' => 'text', 'Record__f01_header4' => 'text', 'Record.f01_header4' => 'text', 'f01_header4' => 'text', 'Record__f01_header5' => 'text', 'Record.f01_header5' => 'text', 'f01_header5' => 'text', 'Record__f01_header6' => 'text', 'Record.f01_header6' => 'text', 'f01_header6' => 'text', 'Record__f02_body_NHP_summary' => 'text', 'Record.f02_body_NHP_summary' => 'text', 'f02_body_NHP_summary' => 'text', 'Record__f02_body1' => 'text', 'Record.f02_body1' => 'text', 'f02_body1' => 'text', 'Record__f02_body2' => 'text', 'Record.f02_body2' => 'text', 'f02_body2' => 'text', 'Record__f02_body3' => 'text', 'Record.f02_body3' => 'text', 'f02_body3' => 'text', 'Record__f02_body4' => 'text', 'Record.f02_body4' => 'text', 'f02_body4' => 'text', 'Record__f02_body5' => 'text', 'Record.f02_body5' => 'text', 'f02_body5' => 'text', 'Record__f02_body6' => 'text', 'Record.f02_body6' => 'text', 'f02_body6' => 'text', 'Record__f02_body7' => 'text', 'Record.f02_body7' => 'text', 'f02_body7' => 'text', 'Record__f02_body8' => 'text', 'Record.f02_body8' => 'text', 'f02_body8' => 'text', 'Record__f03_web_image_URL' => 'string', 'Record.f03_web_image_URL' => 'string', 'f03_web_image_URL' => 'string', 'Record__f03_web_image_URL_large' => 'string', 'Record.f03_web_image_URL_large' => 'string', 'f03_web_image_URL_large' => 'string', 'Record__f01_header0_web_buy_script' => 'text', 'Record.f01_header0_web_buy_script' => 'text', 'f01_header0_web_buy_script' => 'text', 'Record__f03_web_store_link' => 'string', 'Record.f03_web_store_link' => 'string', 'f03_web_store_link' => 'string', 'Record__f03_imageURL_t' => 'string', 'Record.f03_imageURL_t' => 'string', 'f03_imageURL_t' => 'string', 'Record__f04_keywordsPaid' => 'text', 'Record.f04_keywordsPaid' => 'text', 'f04_keywordsPaid' => 'text', 'Record__f05_significance_n' => 'string', 'Record.f05_significance_n' => 'string', 'f05_significance_n' => 'string', 'Record__f98_shortURL' => 'string', 'Record.f98_shortURL' => 'string', 'f98_shortURL' => 'string', 'Record__zi_sorter_un' => 'string', 'Record.zi_sorter_un' => 'string', 'zi_sorter_un' => 'string', 'Record__z_hidden_b' => 'string', 'Record.z_hidden_b' => 'string', 'z_hidden_b' => 'string', 'Record__z_isFilter_b' => 'string', 'Record.z_isFilter_b' => 'string', 'z_isFilter_b' => 'string', 'Record__z_locked_b' => 'string', 'Record.z_locked_b' => 'string', 'z_locked_b' => 'string', 'Record__f99_hidden' => 'string', 'Record.f99_hidden' => 'string', 'f99_hidden' => 'string', 'Record__zkf_oldID_t' => 'string', 'Record.zkf_oldID_t' => 'string', 'zkf_oldID_t' => 'string', 'Record__zkp_ID_t' => 'string', 'Record.zkp_ID_t' => 'string', 'zkp_ID_t' => 'string', 'Record__zkp_recordID_cn' => 'string', 'Record.zkp_recordID_cn' => 'string', 'zkp_recordID_cn' => 'string', 'Record__f001_country' => 'string', 'Record.f001_country' => 'string', 'f001_country' => 'string', 'Record__f001_vendor' => 'string', 'Record.f001_vendor' => 'string', 'f001_vendor' => 'string', 'Record__f03_image1_size_cn' => 'string', 'Record.f03_image1_size_cn' => 'string', 'f03_image1_size_cn' => 'string', 'Record__f04_keywordText_t10' => 'text', 'Record.f04_keywordText_t10' => 'text', 'f04_keywordText_t10' => 'text', 'Record__Matt_exp_webviewer' => 'text', 'Record.Matt_exp_webviewer' => 'text', 'Matt_exp_webviewer' => 'text', 'Record__SP_foundCount_un' => 'string', 'Record.SP_foundCount_un' => 'string', 'SP_foundCount_un' => 'string', 'Record__z_log_b' => 'string', 'Record.z_log_b' => 'string', 'z_log_b' => 'string', 'Record__za_created_m' => 'string', 'Record.za_created_m' => 'string', 'za_created_m' => 'string', 'Record__za_creator_t' => 'string', 'Record.za_creator_t' => 'string', 'za_creator_t' => 'string', 'Record__za_modified_m' => 'string', 'Record.za_modified_m' => 'string', 'za_modified_m' => 'string', 'Record__za_modifier_t' => 'string', 'Record.za_modifier_t' => 'string', 'za_modifier_t' => 'string', 'Record__za_recordAccess_un' => 'string', 'Record.za_recordAccess_un' => 'string', 'za_recordAccess_un' => 'string', 'Record__zi_count_s' => 'string', 'Record.zi_count_s' => 'string', 'zi_count_s' => 'string', 'Record__zi_CRN_un' => 'string', 'Record.zi_CRN_un' => 'string', 'zi_CRN_un' => 'string', 'Record__zk_0_cn' => 'string', 'Record.zk_0_cn' => 'string', 'zk_0_cn' => 'string', 'Record__zk_1_cn' => 'string', 'Record.zk_1_cn' => 'string', 'zk_1_cn' => 'string', 'Record__zk_2_cn' => 'string', 'Record.zk_2_cn' => 'string', 'zk_2_cn' => 'string', 'Record__zt_CHT_um' => 'string', 'Record.zt_CHT_um' => 'string', 'zt_CHT_um' => 'string', 'Record__zkp_synonyms_for_keyword' => 'text', 'Record.zkp_synonyms_for_keyword' => 'text', 'zkp_synonyms_for_keyword' => 'text', 'Record__z_meta_title' => 'string', 'Record.z_meta_title' => 'string', 'z_meta_title' => 'string', 'Record__z_meta_description' => 'text', 'Record.z_meta_description' => 'text', 'z_meta_description' => 'text', 'Record__z_Rank_5000' => 'text', 'Record.z_Rank_5000' => 'text', 'z_Rank_5000' => 'text', 'Record__z_Rank_1000' => 'text', 'Record.z_Rank_1000' => 'text', 'z_Rank_1000' => 'text', 'Record__z_Rank_700' => 'text', 'Record.z_Rank_700' => 'text', 'z_Rank_700' => 'text', 'Record__z_Rank_500' => 'text', 'Record.z_Rank_500' => 'text', 'z_Rank_500' => 'text', 'Record__z_Rank_400' => 'text', 'Record.z_Rank_400' => 'text', 'z_Rank_400' => 'text', 'Record__z_Rank_300' => 'text', 'Record.z_Rank_300' => 'text', 'z_Rank_300' => 'text', 'Record__z_Rank_200' => 'text', 'Record.z_Rank_200' => 'text', 'z_Rank_200' => 'text', 'Record__z_Rank_150' => 'text', 'Record.z_Rank_150' => 'text', 'z_Rank_150' => 'text', 'Record__z_Rank_100' => 'text', 'Record.z_Rank_100' => 'text', 'z_Rank_100' => 'text', 'Record__z_Rank_75' => 'text', 'Record.z_Rank_75' => 'text', 'z_Rank_75' => 'text', 'Record__z_Rank_50' => 'text', 'Record.z_Rank_50' => 'text', 'z_Rank_50' => 'text', 'Record__z_Rank_25' => 'text', 'Record.z_Rank_25' => 'text', 'z_Rank_25' => 'text', 'Record__z_Rank_1' => 'text', 'Record.z_Rank_1' => 'text', 'z_Rank_1' => 'text' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(Cake\ORM\Table) { 'registryAlias' => 'Record', 'table' => 'record', 'alias' => 'Record', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\CatalogsController) { uses => [ (int) 0 => 'Record', (int) 1 => 'Tag', (int) 2 => 'Keyword', (int) 3 => 'Link', (int) 4 => 'Url', (int) 5 => 'Puser', (int) 6 => 'Restrictedbrand', (int) 7 => 'Userlog' ] actsAs => [ (int) 0 => 'Containable' ] components => [ 'Paginator' => null, 'Cookie' => null, 'RequestHandler' => null ] paginate => [ 'limit' => (int) 50 ] helpers => [ 'AssetCompress.AssetCompress' => null ] 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 => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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' => '' } View => null passedArgs => [] modelClass => 'Catalogs' viewClass => null viewVars => [ 'view' => 'grid', 'alpha_lists' => [ (int) 0 => '5', (int) 1 => '5', (int) 2 => 'A', (int) 3 => 'A', (int) 4 => 'A', (int) 5 => 'A', (int) 6 => 'A', (int) 7 => 'A', (int) 8 => 'A', (int) 9 => 'A', (int) 10 => 'A', (int) 11 => 'A', (int) 12 => 'B', (int) 13 => 'B', (int) 14 => 'B', (int) 15 => 'B', (int) 16 => 'B', (int) 17 => 'B', (int) 18 => 'B', (int) 19 => 'B', (int) 20 => 'B', (int) 21 => 'B', (int) 22 => 'B', (int) 23 => 'B', (int) 24 => 'B', (int) 25 => 'C', (int) 26 => 'C', (int) 27 => 'C', (int) 28 => 'C', (int) 29 => 'C', (int) 30 => 'C', (int) 31 => 'C', (int) 32 => 'C', (int) 33 => 'C', (int) 34 => 'C', (int) 35 => 'C', (int) 36 => 'C', (int) 37 => 'C', (int) 38 => 'C', (int) 39 => 'C', (int) 40 => 'C', (int) 41 => 'C', (int) 42 => 'C', (int) 43 => 'C', (int) 44 => 'C', (int) 45 => 'C', (int) 46 => 'C', (int) 47 => 'D', (int) 48 => 'D', (int) 49 => 'D', (int) 50 => 'D', (int) 51 => 'D', (int) 52 => 'D', (int) 53 => 'D', (int) 54 => 'D', (int) 55 => 'D', (int) 56 => 'D', (int) 57 => 'D', (int) 58 => 'D', (int) 59 => 'D', (int) 60 => 'D', (int) 61 => 'D', (int) 62 => 'E', (int) 63 => 'E', (int) 64 => 'E', (int) 65 => 'E', (int) 66 => 'E', (int) 67 => 'E', (int) 68 => 'E', (int) 69 => 'E', (int) 70 => 'E', (int) 71 => 'F', (int) 72 => 'F', (int) 73 => 'F', (int) 74 => 'F', (int) 75 => 'F', (int) 76 => 'F', (int) 77 => 'F', (int) 78 => 'F', (int) 79 => 'F', (int) 80 => 'G', (int) 81 => 'G', (int) 82 => 'G', (int) 83 => 'H', (int) 84 => 'H', (int) 85 => 'H', (int) 86 => 'H', (int) 87 => 'H', (int) 88 => 'H', (int) 89 => 'H', (int) 90 => 'I', (int) 91 => 'I', (int) 92 => 'I', (int) 93 => 'J', (int) 94 => 'J', (int) 95 => 'J', (int) 96 => 'J', (int) 97 => 'J', (int) 98 => 'J', (int) 99 => 'K', (int) 100 => 'K', (int) 101 => 'K', (int) 102 => 'K', (int) 103 => 'K', (int) 104 => 'K', (int) 105 => 'K', (int) 106 => 'K', (int) 107 => 'K', (int) 108 => 'K', (int) 109 => 'K', (int) 110 => 'L', (int) 111 => 'L', (int) 112 => 'L', (int) 113 => 'L', (int) 114 => 'L', (int) 115 => 'L', (int) 116 => 'M', (int) 117 => 'M', (int) 118 => 'M', (int) 119 => 'M', (int) 120 => 'M', (int) 121 => 'M', (int) 122 => 'M', (int) 123 => 'M', (int) 124 => 'M', (int) 125 => 'M', (int) 126 => 'M', (int) 127 => 'M', (int) 128 => 'M', (int) 129 => 'M', (int) 130 => 'M', (int) 131 => 'M', (int) 132 => 'M', (int) 133 => 'M', (int) 134 => 'N', (int) 135 => 'O', (int) 136 => 'O', (int) 137 => 'O', (int) 138 => 'O', (int) 139 => 'O', (int) 140 => 'O', (int) 141 => 'O', (int) 142 => 'P', (int) 143 => 'P', (int) 144 => 'p', (int) 145 => 'P', (int) 146 => 'P', (int) 147 => 'P', (int) 148 => 'P', (int) 149 => 'P', (int) 150 => 'P', (int) 151 => 'P', (int) 152 => 'P', (int) 153 => 'P', (int) 154 => 'R', (int) 155 => 'R', (int) 156 => 'R', (int) 157 => 'R', (int) 158 => 'S', (int) 159 => 'S', (int) 160 => 'S', (int) 161 => 'S', (int) 162 => 'S', (int) 163 => 'S', (int) 164 => 'S', (int) 165 => 'S', (int) 166 => 'S', (int) 167 => 'S', (int) 168 => 'S', (int) 169 => 'S', (int) 170 => 'S', (int) 171 => 'T', (int) 172 => 'T', (int) 173 => 'T', (int) 174 => 'T', (int) 175 => 'T', (int) 176 => 'T', (int) 177 => 'V', (int) 178 => 'V', (int) 179 => 'V', (int) 180 => 'V', (int) 181 => 'V', (int) 182 => 'W', (int) 183 => 'W', (int) 184 => 'W', (int) 185 => 'W', (int) 186 => 'Z' ], 'brand_name' => object(Cake\ORM\Entity) {}, 'pageid' => false, 'settings' => [ 'paypal_email' => 'accounts@ndassist.com', 'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr', 'paypal_price' => '20.00', 'paypal_tax' => '2.60', 'paypal_item_name' => 'Purchase NDAssist Access', 'paypal_currency_code' => 'CAD', 'contact_form_email' => 'info@ndassist.com', 'sender_email_address' => 'website@nhpassist.com', 'student' => 'student9903', 'holistic' => 'cannp99302', 'paypal_promo_code_price' => '20.00', 'comp_feature_price' => '20.00', 'paypal_comp_feature_name' => 'Display/Hide Companies and their Products', 'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application', 'item_1' => 'ND- Assist Website Access', 'item_2' => 'Herbal Rx Application (Download)' ], 'random_records' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'id_list' => [ 'RECND1474' => 'RECND1474', 'RECMG11158' => 'RECMG11158', 'REC109add9e526729' => 'REC109add9e526729', 'REC109add9e524313' => 'REC109add9e524313', 'REC109add9e525778' => 'REC109add9e525778', 'RECND1302' => 'RECND1302', 'REC109add9e524127' => 'REC109add9e524127', 'RECMG9881' => 'RECMG9881', 'REC109add9e526665' => 'REC109add9e526665', 'REC109add9e526232' => 'REC109add9e526232', 'REC109add9e526226' => 'REC109add9e526226', 'REC109add9e526742' => 'REC109add9e526742', 'RECMG11297' => 'RECMG11297', 'RECMG9461' => 'RECMG9461', 'RECMG10020' => 'RECMG10020', 'REC109add9e527707' => 'REC109add9e527707', 'RECND5023' => 'RECND5023', 'RECMG11542' => 'RECMG11542', 'RECND6947' => 'RECND6947', 'REC109add9e527273' => 'REC109add9e527273', 'REC109add9e522075' => 'REC109add9e522075', 'REC109add9e524358' => 'REC109add9e524358', 'REC109add9e524106' => 'REC109add9e524106', 'RECMG10036' => 'RECMG10036', 'RECND2100' => 'RECND2100', 'REC109add9e526126' => 'REC109add9e526126', 'REC109add9e522439' => 'REC109add9e522439', 'REC109add9e526122' => 'REC109add9e526122', 'REC109add9e526670' => 'REC109add9e526670', 'REC109add9e524482' => 'REC109add9e524482', 'REC109add9e525287' => 'REC109add9e525287', 'REC109add9e523467' => 'REC109add9e523467', 'REC109add9e522627' => 'REC109add9e522627', 'REC109add9e525358' => 'REC109add9e525358', 'REC109add9e526726' => 'REC109add9e526726', 'REC109add9e527850' => 'REC109add9e527850', 'RECMG10206' => 'RECMG10206', 'RECND7007' => 'RECND7007', 'RECMG10915' => 'RECMG10915', 'RECMG9757' => 'RECMG9757', 'RECMG9234' => 'RECMG9234', 'RECMG11210' => 'RECMG11210', 'RECND7225' => 'RECND7225', 'REC109add9e526663' => 'REC109add9e526663', 'REC109add9e526962' => 'REC109add9e526962', 'RECND1646' => 'RECND1646', 'REC109add9e525250' => 'REC109add9e525250', 'REC109add9e527346' => 'REC109add9e527346', 'REC109add9e524712' => 'REC109add9e524712', 'RECMG10318' => 'RECMG10318' ], 'keyword' => [ (int) 0 => 'Apple_Cider_Vinegar', (int) 1 => 'horsetail', (int) 2 => 'Vaccinium_myrtillus', (int) 3 => 'COPD', (int) 4 => 'leopards_bane', (int) 5 => 'Chrysanthemum_parthenium', (int) 6 => 'curcumin', (int) 7 => 'oat_straw', (int) 8 => 'Lentinus_edodes', (int) 9 => 'athletic_performance', (int) 10 => 'asthma', (int) 11 => 'immune', (int) 12 => 'DGL', (int) 13 => 'dysbiosis', (int) 14 => 'kava_kava', (int) 15 => 'Berberis_vulgaris', (int) 16 => 'healthy_aging', (int) 17 => 'yellow_dock', (int) 18 => 'blood_clot', (int) 19 => 'guggul', (int) 20 => 'streptococcal_pharyngitis', (int) 21 => 'cardioprotective', (int) 22 => 'Butchers_broom', (int) 23 => 'digestive_support', (int) 24 => 'Laryngitis', (int) 25 => 'Hibiscus_sabdariffa', (int) 26 => 'Molybdenum', (int) 27 => 'Verbascum_thapsus', (int) 28 => 'goiter', (int) 29 => 'Cannabis_sativa', (int) 30 => 'cognitive_support', (int) 31 => 'Foeniculum_vulgare', (int) 32 => 'blood_pressure', (int) 33 => 'hair_gowth', (int) 34 => 'Rumex_crispus', (int) 35 => 'maidenhair_tree', (int) 36 => 'Carum_carvi', (int) 37 => 'dyspepsia', (int) 38 => 'Sambucus_canadensis', (int) 39 => 'NissenMedica_Inc.', (int) 40 => 'arrhythmia', (int) 41 => 'low_immunity', (int) 42 => 'heart_health', (int) 43 => 'hypercholesterolemia', (int) 44 => 'acne_rosacea', (int) 45 => 'thyme', (int) 46 => 'agalactia', (int) 47 => 'Cimicifuga_racemosa', (int) 48 => 'fibroids', (int) 49 => 'urinary_tract_infection' ] ] 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] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Country_code => 'US' Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } LinkTest => object(Cake\ORM\Table) { 'registryAlias' => 'LinkTest', 'table' => 'link_test', 'alias' => 'LinkTest', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Link => object(Cake\ORM\Table) { 'registryAlias' => 'Link', 'table' => 'link', 'alias' => 'Link', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Record => object(Cake\ORM\Table) { 'registryAlias' => 'Record', 'table' => 'record', 'alias' => 'Record', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Setting => object(Cake\ORM\Table) { 'registryAlias' => 'Setting', 'table' => 'setting', 'alias' => 'Setting', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Puser => object(Cake\ORM\Table) { 'registryAlias' => 'Puser', 'table' => 'puser', 'alias' => 'Puser', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Keyword => object(Cake\ORM\Table) { 'registryAlias' => 'Keyword', 'table' => 'keyword', 'alias' => 'Keyword', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } keyword => [ (int) 0 => 'Apple_Cider_Vinegar', (int) 1 => 'horsetail', (int) 2 => 'Vaccinium_myrtillus', (int) 3 => 'COPD', (int) 4 => 'leopards_bane', (int) 5 => 'Chrysanthemum_parthenium', (int) 6 => 'curcumin', (int) 7 => 'oat_straw', (int) 8 => 'Lentinus_edodes', (int) 9 => 'athletic_performance', (int) 10 => 'asthma', (int) 11 => 'immune', (int) 12 => 'DGL', (int) 13 => 'dysbiosis', (int) 14 => 'kava_kava', (int) 15 => 'Berberis_vulgaris', (int) 16 => 'healthy_aging', (int) 17 => 'yellow_dock', (int) 18 => 'blood_clot', (int) 19 => 'guggul', (int) 20 => 'streptococcal_pharyngitis', (int) 21 => 'cardioprotective', (int) 22 => 'Butchers_broom', (int) 23 => 'digestive_support', (int) 24 => 'Laryngitis', (int) 25 => 'Hibiscus_sabdariffa', (int) 26 => 'Molybdenum', (int) 27 => 'Verbascum_thapsus', (int) 28 => 'goiter', (int) 29 => 'Cannabis_sativa', (int) 30 => 'cognitive_support', (int) 31 => 'Foeniculum_vulgare', (int) 32 => 'blood_pressure', (int) 33 => 'hair_gowth', (int) 34 => 'Rumex_crispus', (int) 35 => 'maidenhair_tree', (int) 36 => 'Carum_carvi', (int) 37 => 'dyspepsia', (int) 38 => 'Sambucus_canadensis', (int) 39 => 'NissenMedica_Inc.', (int) 40 => 'arrhythmia', (int) 41 => 'low_immunity', (int) 42 => 'heart_health', (int) 43 => 'hypercholesterolemia', (int) 44 => 'acne_rosacea', (int) 45 => 'thyme', (int) 46 => 'agalactia', (int) 47 => 'Cimicifuga_racemosa', (int) 48 => 'fibroids', (int) 49 => 'urinary_tract_infection' ] settings => [ 'paypal_email' => 'accounts@ndassist.com', 'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr', 'paypal_price' => '20.00', 'paypal_tax' => '2.60', 'paypal_item_name' => 'Purchase NDAssist Access', 'paypal_currency_code' => 'CAD', 'contact_form_email' => 'info@ndassist.com', 'sender_email_address' => 'website@nhpassist.com', 'student' => 'student9903', 'holistic' => 'cannp99302', 'paypal_promo_code_price' => '20.00', 'comp_feature_price' => '20.00', 'paypal_comp_feature_name' => 'Display/Hide Companies and their Products', 'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application', 'item_1' => 'ND- Assist Website Access', 'item_2' => 'Herbal Rx Application (Download)' ] User_log => object(Cake\ORM\Table) { 'registryAlias' => 'User_log', 'table' => 'user_log', 'alias' => 'User_log', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Catalogs' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\CatalogsController) {}, '_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] _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 }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null, '_csrfToken' => '9c80e77d56d44a843a30a0bb757a092a62e0043e665f02cb0fd754b8f74b6ec479bb62f6e266ae18900463c2fd983d23bff2f6e8e32431e30844018ef4d4ac5a' ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null, '_csrfToken' => '9c80e77d56d44a843a30a0bb757a092a62e0043e665f02cb0fd754b8f74b6ec479bb62f6e266ae18900463c2fd983d23bff2f6e8e32431e30844018ef4d4ac5a' ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null, '_csrfToken' => '9c80e77d56d44a843a30a0bb757a092a62e0043e665f02cb0fd754b8f74b6ec479bb62f6e266ae18900463c2fd983d23bff2f6e8e32431e30844018ef4d4ac5a' ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null, '_csrfToken' => '9c80e77d56d44a843a30a0bb757a092a62e0043e665f02cb0fd754b8f74b6ec479bb62f6e266ae18900463c2fd983d23bff2f6e8e32431e30844018ef4d4ac5a' ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null, '_csrfToken' => '9c80e77d56d44a843a30a0bb757a092a62e0043e665f02cb0fd754b8f74b6ec479bb62f6e266ae18900463c2fd983d23bff2f6e8e32431e30844018ef4d4ac5a' ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
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 => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'id' => 'orange-naturals', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
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\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\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '2851290-1090-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => 'page=2', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '2851290-1090-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'REDIRECT_SCRIPT_URL' => '/products/orange-naturals', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'REDIRECT_URL' => '/webroot/products/orange-naturals', 'REMOTE_ADDR' => '54.167.52.238', 'REMOTE_PORT' => '40432', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/orange-naturals?page=2', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/orange-naturals', 'SCRIPT_URL' => '/products/orange-naturals', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgVDDYbI0YnFKUAG_7NTOAABEQA', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711620877.9835, 'REQUEST_TIME' => (int) 1711620877, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/orange-naturals' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/orange-naturals' [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 => 'www.nhpassist.com' [private] port => null [private] path => '/products/orange-naturals' [private] query => 'page=2' [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' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error400.ctp