( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3151 | 9235512 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 0.3151 | 9238448 | do_action( ) | ...\rest-api.php:577 |
12 | 0.3151 | 9238824 | WP_Hook->do_action( ) | ...\plugin.php:517 |
13 | 0.3151 | 9238824 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
14 | 0.3162 | 9278024 | Jetpack_Core_Json_Api_Endpoints::register_endpoints( ) | ...\class-wp-hook.php:308 |
15 | 0.3165 | 9286016 | Jetpack::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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3941 | 11026008 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:310 |
12 | 0.3941 | 11026336 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3960 | 11025952 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:311 |
12 | 0.3961 | 11026272 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3984 | 11026144 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:315 |
12 | 0.3984 | 11026512 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.4003 | 11026032 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:323 |
12 | 0.4003 | 11026352 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.4019 | 11026096 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:335 |
12 | 0.4019 | 11026464 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.4033 | 11026144 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:359 |
12 | 0.4034 | 11026512 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.4465 | 11228296 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:459 |
12 | 0.4465 | 11228296 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1780 |
13 | 0.4465 | 11228840 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 401472 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 401752 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.3144 | 9207760 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.3144 | 9207784 | WP->main( ) | ...\functions.php:1334 |
5 | 0.3144 | 9207784 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.3150 | 9234464 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.3150 | 9234464 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.3150 | 9234464 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.3150 | 9235480 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.3939 | 11026352 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.4465 | 11228296 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:459 |
12 | 0.4482 | 11228296 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1780 |
13 | 0.4483 | 11228616 | header ( ) | ...\class-wp-rest-server.php:1768 |
\/\/ 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}]}}