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 ('RECND3251','RECND3252','RECND3253','RECND3254','RECND3255','RECND3256','RECND3257','RECND3258','RECND3259','RECND3260','RECND3261','RECND3262','RECND3263','RECND3264','RECND3265','RECND3266','RECND3267','RECND3268','RECND3269','RECND3270','RECND3271','RECND3272','RECND3273','RECND3274','RECND3275','RECND3276','RECND3277','RECND3278','RECND3279','RECND3280','RECND3281','RECND3282','RECND3283','RECND3284','RECND3285','RECND3286','RECND3287','RECND3288','RECND3289','RECND3290','RECND3291','RECND3292','RECND3293','RECND3294','RECND3295','RECND3296','RECND3297','RECND3298','RECND3299','RECND3300','RECND3301','RECND3302','RECND3303','RECND3304','RECND3305','RECND3306','RECND3307','RECND3308','RECND3309','RECND3310','RECND3311','RECND3312','RECND3313','RECND3314','RECND3315','RECND3316','RECND3317','RECND3318','RECND3319','RECND3320','RECND3321','RECND3322','RECND3323','RECND3324','RECND3325','RECND3326','RECND3327','RECND3328','RECND3329','RECND3330','RECND3331','RECND3332','RECND3333','RECND3334','RECND3335','RECND3336','RECND3337','RECND3338','RECND3339','RECND3340','RECND3341','RECND3342','RECND3343','RECND3344','RECND3345','RECND3346','RECND3347','RECND3348','RECND3349','RECND3350','RECND3351','RECND3352','RECND3353','RECND3354','RECND3355','RECND3356','RECND3357','RECND3358','RECND3359','RECND3360','RECND3361','RECND3362','REC109add9e526792','REC109add9e526793','REC109add9e526794','REC109add9e526795','REC109add9e526796','REC109add9e526797','REC109add9e526798','REC109add9e526799','REC109add9e526800','REC109add9e526801','REC109add9e526802','REC109add9e526803','REC109add9e526804') 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 250', '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 ('RECND3251','RECND3252','RECND3253','RECND3254','RECND3255','RECND3256','RECND3257','RECND3258','RECND3259','RECND3260','RECND3261','RECND3262','RECND3263','RECND3264','RECND3265','RECND3266','RECND3267','RECND3268','RECND3269','RECND3270','RECND3271','RECND3272','RECND3273','RECND3274','RECND3275','RECND3276','RECND3277','RECND3278','RECND3279','RECND3280','RECND3281','RECND3282','RECND3283','RECND3284','RECND3285','RECND3286','RECND3287','RECND3288','RECND3289','RECND3290','RECND3291','RECND3292','RECND3293','RECND3294','RECND3295','RECND3296','RECND3297','RECND3298','RECND3299','RECND3300','RECND3301','RECND3302','RECND3303','RECND3304','RECND3305','RECND3306','RECND3307','RECND3308','RECND3309','RECND3310','RECND3311','RECND3312','RECND3313','RECND3314','RECND3315','RECND3316','RECND3317','RECND3318','RECND3319','RECND3320','RECND3321','RECND3322','RECND3323','RECND3324','RECND3325','RECND3326','RECND3327','RECND3328','RECND3329','RECND3330','RECND3331','RECND3332','RECND3333','RECND3334','RECND3335','RECND3336','RECND3337','RECND3338','RECND3339','RECND3340','RECND3341','RECND3342','RECND3343','RECND3344','RECND3345','RECND3346','RECND3347','RECND3348','RECND3349','RECND3350','RECND3351','RECND3352','RECND3353','RECND3354','RECND3355','RECND3356','RECND3357','RECND3358','RECND3359','RECND3360','RECND3361','RECND3362','REC109add9e526792','REC109add9e526793','REC109add9e526794','REC109add9e526795','REC109add9e526796','REC109add9e526797','REC109add9e526798','REC109add9e526799','REC109add9e526800','REC109add9e526801','REC109add9e526802','REC109add9e526803','REC109add9e526804') 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 250', '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/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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 => 'A', (int) 1 => 'A', (int) 2 => 'A', (int) 3 => 'A', (int) 4 => 'A', (int) 5 => 'A', (int) 6 => 'B', (int) 7 => 'B', (int) 8 => 'B', (int) 9 => 'B', (int) 10 => 'B', (int) 11 => 'B', (int) 12 => 'C', (int) 13 => 'C', (int) 14 => 'C', (int) 15 => 'C', (int) 16 => 'C', (int) 17 => 'C', (int) 18 => 'C', (int) 19 => 'C', (int) 20 => 'C', (int) 21 => 'C', (int) 22 => 'C', (int) 23 => 'C', (int) 24 => 'D', (int) 25 => 'E', (int) 26 => 'E', (int) 27 => 'E', (int) 28 => 'E', (int) 29 => 'E', (int) 30 => 'F', (int) 31 => 'F', (int) 32 => 'F', (int) 33 => 'F', (int) 34 => 'G', (int) 35 => 'G', (int) 36 => 'G', (int) 37 => 'G', (int) 38 => 'G', (int) 39 => 'G', (int) 40 => 'G', (int) 41 => 'G', (int) 42 => 'H', (int) 43 => 'H', (int) 44 => 'H', (int) 45 => 'H', (int) 46 => 'I', (int) 47 => 'I', (int) 48 => 'J', (int) 49 => 'J', (int) 50 => 'J', (int) 51 => 'J', (int) 52 => 'J', (int) 53 => 'J', (int) 54 => 'L', (int) 55 => 'L', (int) 56 => 'L', (int) 57 => 'L', (int) 58 => 'L', (int) 59 => 'L', (int) 60 => 'M', (int) 61 => 'M', (int) 62 => 'M', (int) 63 => 'M', (int) 64 => 'M', (int) 65 => 'N', (int) 66 => 'N', (int) 67 => 'N', (int) 68 => 'O', (int) 69 => 'P', (int) 70 => 'P', (int) 71 => 'P', (int) 72 => 'P', (int) 73 => 'P', (int) 74 => 'P', (int) 75 => 'P', (int) 76 => 'P', (int) 77 => 'P', (int) 78 => 'P', (int) 79 => 'P', (int) 80 => 'R', (int) 81 => 'R', (int) 82 => 'R', (int) 83 => 'R', (int) 84 => 'R', (int) 85 => 'R', (int) 86 => 'R', (int) 87 => 'R', (int) 88 => 'S', (int) 89 => 'S', (int) 90 => 'S', (int) 91 => 'S', (int) 92 => 'S', (int) 93 => 'S', (int) 94 => 'S', (int) 95 => 'S', (int) 96 => 'S', (int) 97 => 'S', (int) 98 => 'T', (int) 99 => 'T', (int) 100 => 'T', (int) 101 => 'T', (int) 102 => 'T', (int) 103 => 'T', (int) 104 => 'T', (int) 105 => 'T', (int) 106 => 'T', (int) 107 => 'V', (int) 108 => 'V', (int) 109 => 'W', (int) 110 => 'W', (int) 111 => 'X', (int) 112 => 'X', (int) 113 => 'Y', (int) 114 => 'Y', (int) 115 => 'Y', (int) 116 => 'Z', (int) 117 => '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' => [ 'REC109add9e521770' => 'REC109add9e521770', 'REC109add9e526704' => 'REC109add9e526704', 'REC109add9e525146' => 'REC109add9e525146', 'REC109add9e525280' => 'REC109add9e525280', 'REC109add9e526247' => 'REC109add9e526247', 'REC109add9e523151' => 'REC109add9e523151', 'RECMG7899' => 'RECMG7899', 'RECMG7862' => 'RECMG7862', 'REC109add9e527372' => 'REC109add9e527372', 'RECND6895' => 'RECND6895', 'REC109add9e521757' => 'REC109add9e521757', 'REC109add9e526730' => 'REC109add9e526730', 'RECMG7488' => 'RECMG7488', 'RECMG11499' => 'RECMG11499', 'REC109add9e526138' => 'REC109add9e526138', 'REC109add9e525637' => 'REC109add9e525637', 'RECMG11019' => 'RECMG11019', 'RECMG11231' => 'RECMG11231', 'REC109add9e526228' => 'REC109add9e526228', 'RECMG9463' => 'RECMG9463', 'REC109add9e522620' => 'REC109add9e522620', 'REC109add9e526232' => 'REC109add9e526232', 'RECMG11451' => 'RECMG11451', 'REC109add9e523656' => 'REC109add9e523656', 'REC12ND00487' => 'REC12ND00487', 'RECMG10148' => 'RECMG10148', 'REC109add9e523545' => 'REC109add9e523545', 'RECMG10594' => 'RECMG10594', 'RECMG10339' => 'RECMG10339', 'REC109add9e526152' => 'REC109add9e526152', 'REC109add9e525653' => 'REC109add9e525653', 'REC109add9e523049' => 'REC109add9e523049', 'RECMG10473' => 'RECMG10473', 'REC109add9e526237' => 'REC109add9e526237', 'REC109add9e526871' => 'REC109add9e526871', 'REC109add9e526737' => 'REC109add9e526737', 'REC109add9e526720' => 'REC109add9e526720', 'REC109add9e525405' => 'REC109add9e525405', 'RECND6881' => 'RECND6881', 'RECND662' => 'RECND662', 'REC109add9e523032' => 'REC109add9e523032', 'REC109add9e527180' => 'REC109add9e527180', 'REC109add9e525412' => 'REC109add9e525412', 'REC109add9e527206' => 'REC109add9e527206', 'RECMG11293' => 'RECMG11293', 'REC109add9e526989' => 'REC109add9e526989', 'RECND1972' => 'RECND1972', 'REC109add9e523736' => 'REC109add9e523736', 'REC109add9e525122' => 'REC109add9e525122', 'REC109add9e522928' => 'REC109add9e522928' ], 'keyword' => [ (int) 0 => 'Carum_carvi', (int) 1 => 'leopards_bane', (int) 2 => 'ginseng', (int) 3 => 'EPA', (int) 4 => 'selenium', (int) 5 => 'hyperemesis_gravidarum', (int) 6 => 'guggul', (int) 7 => 'Menthol', (int) 8 => 'N_acetyl_cysteine', (int) 9 => 'Tabebuia_impetiginosa', (int) 10 => 'Alchemilla_vulgaris', (int) 11 => 'stomach_06', (int) 12 => 'urinary_bladder_54', (int) 13 => 'megablastic_anemia', (int) 14 => 'Naturtech', (int) 15 => 'methylsulfonylmethane', (int) 16 => 'astaxanthin', (int) 17 => 'Apple_Cider_Vinegar', (int) 18 => 'Helicobacter_pylori', (int) 19 => 'atheletes_foot', (int) 20 => 'prolapsed_uterus', (int) 21 => 'evening_primrose_oil', (int) 22 => 'Usnea_barbata', (int) 23 => 'dihydrotestosterone', (int) 24 => 'Puke_weed', (int) 25 => 'autoimmune', (int) 26 => 'bursitis', (int) 27 => 'neam', (int) 28 => 'abscesses', (int) 29 => 'triple_warmer_05', (int) 30 => 'cankers', (int) 31 => 'sleeplessness', (int) 32 => 'antidepressant', (int) 33 => 'coriander', (int) 34 => 'Matricaria_recutita', (int) 35 => 'Rhodiola_rosea', (int) 36 => 'stroke', (int) 37 => 'urinary_bladder_40', (int) 38 => 'alpha_tocopherol', (int) 39 => 'JHS_Natural_Products', (int) 40 => 'prostate_cancer', (int) 41 => 'uterine_tonic', (int) 42 => 'Saccharomyces_Boulardii', (int) 43 => 'iron', (int) 44 => 'cholelithiasis', (int) 45 => 'Vita_Aid_Professional_Nutrition_Products', (int) 46 => 'red_yeast_rice', (int) 47 => 'vulvovaginitis', (int) 48 => 'oatmeal', (int) 49 => 'ulcer' ] ] 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 => 'Carum_carvi', (int) 1 => 'leopards_bane', (int) 2 => 'ginseng', (int) 3 => 'EPA', (int) 4 => 'selenium', (int) 5 => 'hyperemesis_gravidarum', (int) 6 => 'guggul', (int) 7 => 'Menthol', (int) 8 => 'N_acetyl_cysteine', (int) 9 => 'Tabebuia_impetiginosa', (int) 10 => 'Alchemilla_vulgaris', (int) 11 => 'stomach_06', (int) 12 => 'urinary_bladder_54', (int) 13 => 'megablastic_anemia', (int) 14 => 'Naturtech', (int) 15 => 'methylsulfonylmethane', (int) 16 => 'astaxanthin', (int) 17 => 'Apple_Cider_Vinegar', (int) 18 => 'Helicobacter_pylori', (int) 19 => 'atheletes_foot', (int) 20 => 'prolapsed_uterus', (int) 21 => 'evening_primrose_oil', (int) 22 => 'Usnea_barbata', (int) 23 => 'dihydrotestosterone', (int) 24 => 'Puke_weed', (int) 25 => 'autoimmune', (int) 26 => 'bursitis', (int) 27 => 'neam', (int) 28 => 'abscesses', (int) 29 => 'triple_warmer_05', (int) 30 => 'cankers', (int) 31 => 'sleeplessness', (int) 32 => 'antidepressant', (int) 33 => 'coriander', (int) 34 => 'Matricaria_recutita', (int) 35 => 'Rhodiola_rosea', (int) 36 => 'stroke', (int) 37 => 'urinary_bladder_40', (int) 38 => 'alpha_tocopherol', (int) 39 => 'JHS_Natural_Products', (int) 40 => 'prostate_cancer', (int) 41 => 'uterine_tonic', (int) 42 => 'Saccharomyces_Boulardii', (int) 43 => 'iron', (int) 44 => 'cholelithiasis', (int) 45 => 'Vita_Aid_Professional_Nutrition_Products', (int) 46 => 'red_yeast_rice', (int) 47 => 'vulvovaginitis', (int) 48 => 'oatmeal', (int) 49 => 'ulcer' ] 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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null, '_csrfToken' => 'f7288517bdb4ba5b3c33fca5301ba660a5ee8d8bc18f305202963e7a0693da6735697fa5d6feff534c4d6132f59c167893943559a5a62fe4156509eacaacfe7a' ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null, '_csrfToken' => 'f7288517bdb4ba5b3c33fca5301ba660a5ee8d8bc18f305202963e7a0693da6735697fa5d6feff534c4d6132f59c167893943559a5a62fe4156509eacaacfe7a' ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null, '_csrfToken' => 'f7288517bdb4ba5b3c33fca5301ba660a5ee8d8bc18f305202963e7a0693da6735697fa5d6feff534c4d6132f59c167893943559a5a62fe4156509eacaacfe7a' ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null, '_csrfToken' => 'f7288517bdb4ba5b3c33fca5301ba660a5ee8d8bc18f305202963e7a0693da6735697fa5d6feff534c4d6132f59c167893943559a5a62fe4156509eacaacfe7a' ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null, '_csrfToken' => 'f7288517bdb4ba5b3c33fca5301ba660a5ee8d8bc18f305202963e7a0693da6735697fa5d6feff534c4d6132f59c167893943559a5a62fe4156509eacaacfe7a' ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => 'golden-flower-chinese-herbs', 'pass' => [], 'controller' => 'Catalogs', 'action' => 'view', 'title' => 'products', 'plugin' => null, '_matchedRoute' => '/products/:id', '?' => [ 'page' => '6' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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' => '6' ] [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' => '3050554-668-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=6', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-668-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_QUERY_STRING' => 'page=6', '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' => '3050554-668-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'REDIRECT_SCRIPT_URL' => '/products/golden-flower-chinese-herbs', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'REDIRECT_URL' => '/webroot/products/golden-flower-chinese-herbs', 'REMOTE_ADDR' => '44.211.35.130', 'REMOTE_PORT' => '43542', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/products/golden-flower-chinese-herbs?page=6', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/products/golden-flower-chinese-herbs', 'SCRIPT_URL' => '/products/golden-flower-chinese-herbs', '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' => 'ZgZhgyKozx716g0t9vpLGQAAhwY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694211.0874, 'REQUEST_TIME' => (int) 1711694211, 'argv' => [ (int) 0 => 'page=6' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/golden-flower-chinese-herbs' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/golden-flower-chinese-herbs' [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/golden-flower-chinese-herbs' [private] query => 'page=6' [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