( ! ) 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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.22559259808rest_get_server( )...\rest-api.php:403
110.22559262744do_action( )...\rest-api.php:577
120.22559263120WP_Hook->do_action( )...\plugin.php:517
130.22559263120WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22649302320Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22659310312Jetpack::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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.283511050304WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.283511050632header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.284411050248WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.284411050568header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.285611050440WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.285611050808header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.286411050328WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.286411050648header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.287111050392WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.287111050760header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.287911050440WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.288011050808header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.318511253040WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.318511253040WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.318511253584header ( )...\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.0001402472{main}( )...\index.php:0
20.0001402752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22509232056wp( )...\wp-blog-header.php:16
40.22509232080WP->main( )...\functions.php:1334
50.22509232080WP->parse_request( )...\class-wp.php:780
60.22559258760do_action_ref_array( )...\class-wp.php:399
70.22559258760WP_Hook->do_action( )...\plugin.php:565
80.22559258760WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22559259776rest_api_loaded( )...\class-wp-hook.php:308
100.283411050648WP_REST_Server->serve_request( )...\rest-api.php:410
110.318511253040WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.319611253040WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.319611253360header ( )...\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}]}}