( ! ) 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
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.31519235512rest_get_server( )...\rest-api.php:403
110.31519238448do_action( )...\rest-api.php:577
120.31519238824WP_Hook->do_action( )...\plugin.php:517
130.31519238824WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.31629278024Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.31659286016Jetpack::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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.394111026008WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.394111026336header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.396011025952WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.396111026272header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.398411026144WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.398411026512header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.400311026032WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.400311026352header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.401911026096WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.401911026464header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.403311026144WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.403411026512header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.446511228296WP_REST_Server->send_headers( )...\class-wp-rest-server.php:459
120.446511228296WP_REST_Server->send_header( )...\class-wp-rest-server.php:1780
130.446511228840header ( )...\class-wp-rest-server.php:1768

( ! ) 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 1768
Call Stack
#TimeMemoryFunctionLocation
10.0001401472{main}( )...\index.php:0
20.0001401752require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.31449207760wp( )...\wp-blog-header.php:16
40.31449207784WP->main( )...\functions.php:1334
50.31449207784WP->parse_request( )...\class-wp.php:780
60.31509234464do_action_ref_array( )...\class-wp.php:399
70.31509234464WP_Hook->do_action( )...\plugin.php:565
80.31509234464WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.31509235480rest_api_loaded( )...\class-wp-hook.php:308
100.393911026352WP_REST_Server->serve_request( )...\rest-api.php:410
110.446511228296WP_REST_Server->send_headers( )...\class-wp-rest-server.php:459
120.448211228296WP_REST_Server->send_header( )...\class-wp-rest-server.php:1780
130.448311228616header ( )...\class-wp-rest-server.php:1768
{"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}]}}