( ! ) Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php on line 0
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.25969333416rest_get_server( )...\rest-api.php:403
111.25969336352do_action( )...\rest-api.php:577
121.25969336728WP_Hook->do_action( )...\plugin.php:517
131.25969336728WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.26059375928Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.26089383920Jetpack::load_xml_rpc_client( )...\class.core-rest-api-endpoints.php:64

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.323611123912WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.323611124240header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.324711123856WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.324711124176header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.325911124048WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.325911124416header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.326711123936WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.326711124256header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.327511124000WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.327511124368header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.328311124048WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.328311124416header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.381511343648WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.381511343648WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.381511344192header ( )...\class-wp-rest-server.php:1762

( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
31.25909305664wp( )...\wp-blog-header.php:16
41.25909305688WP->main( )...\functions.php:1334
51.25909305688WP->parse_request( )...\class-wp.php:780
61.25969332368do_action_ref_array( )...\class-wp.php:399
71.25969332368WP_Hook->do_action( )...\plugin.php:565
81.25969332368WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25969333384rest_api_loaded( )...\class-wp-hook.php:308
101.323511124256WP_REST_Server->serve_request( )...\rest-api.php:410
111.381511343648WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.382611343648WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.382711343968header ( )...\class-wp-rest-server.php:1762
{"id":530,"date":"2017-07-07T12:59:46","date_gmt":"2017-07-07T12:59:46","guid":{"rendered":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-security-headers\/sample-code\/"},"modified":"2018-05-11T06:42:27","modified_gmt":"2018-05-11T06:42:27","slug":"sample-code","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-sec-headers\/sample-code\/","title":{"rendered":"Sample Code"},"content":{"rendered":"

\/\/ Timestamp<\/strong><\/p>\n

TimeZone lagosTimeZone = TimeZone.getTimeZone(“Africa\/Lagos”);\u00a0 Calendar calendar = Calendar.getInstance(lagosTimeZone);\u00a0 long timestamp = calendar.getTimeInMillis() \/ 1000;<\/p>\n

 <\/p>\n

\/\/ Nonce\u00a0<\/strong><\/p>\n

UUID uuid = UUID.randomUUID();<\/p>\n

String nonce = uuid.toString().replaceAll(“-“, “”);<\/p>\n

 <\/p>\n

\/\/ Signature Method\u00a0<\/strong><\/p>\n

String signatureMethod = “SHA512”;<\/p>\n

 <\/p>\n

\/\/ Signature\u00a0<\/strong><\/p>\n

String httpMethod = “POST”; \/\/ HTTP Method of the resource that is being called<\/p>\n

String encodedResourceUrl = “RESOURCE_URL”;\u00a0 \/\/ put the resource URL here<\/p>\n

String clientId = “CLIENT_ID”;\u00a0 \/\/ put your client Id here<\/p>\n

String clientSecretKey = “CLIENT_SECRET_KEY”;\u00a0 \/\/ put your client secret here<\/p>\n

String signatureCipher = httpMethod + “&” + encodedResourceUrl + “&” + timestamp + “&” + nonce + “&” + clientId + “&” + clientSecretKey;<\/p>\n

MessageDigest messageDigest = MessageDigest.getInstance(signatureMethod);<\/p>\n

byte[] signatureBytes = messageDigest.digest(signatureCipher.getBytes());<\/p>\n

String signature = new String(Base64.encodeBase64(signatureBytes));<\/p>\n

 <\/p>\n

\/\/ Setting HTTP Header values\u00a0<\/strong><\/p>\n

String resourceUrl = “https:\/\/sandbox.interswitchng.com\/passport\/oauth\/token”;<\/p>\n

HttpPost post = new HttpPost(resourceUrl);<\/p>\n

post.setHeader(“TIMESTAMP”, timestamp);<\/p>\n

post.setHeader(“NONCE”, nonce);<\/p>\n

post.setHeader(“SIGNATURE_METHOD”, signatureMethod);<\/p>\n

post.setHeader(“SIGNATURE”, signature)<\/p>\n","protected":false},"author":169,"featured_media":0,"parent":496,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/530"}],"collection":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=530"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/530\/revisions"}],"predecessor-version":[{"id":532,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/530\/revisions\/532"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/496"}],"next":[{"title":"Strong Authentication API","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-sec-headers\/strong-authentication-api-2\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2627"}],"prev":[{"title":"HTTP Response Code","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-sec-headers\/http-response-code\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/506"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=530"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}