• Unknown error happening suddenly. Tried removing and adding accounts and nothing works. PLEASE HELP

    The page I need help with: [log in to see the link]

Viewing 15 replies - 31 through 45 (of 71 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    In case you aren’t seeing anything when you turn on the debug option, try this:

    1. Go to the file wp-content/plugins/photonic/Admin/Wizard/Wizard.php.
    2. Navigate to line 1069. You will see:
      return ['error' => sprintf(esc_html__('No data returned. Error code %s', 'photonic'), $response['response']['code'])];
    3. Change it to this:
      return ['error' => sprintf(esc_html__('No data returned. Error code %s', 'photonic'), print_r($response, true))];

    Let me know what you get.

    Thread Starter photolarry

    (@photolarry)

    Just sits there with dots moving after I click next….no error just stuck in loop

    Thread Starter photolarry

    (@photolarry)

    I am not sure what else to do to fix this. Specific only Instagram, and only my website (maybe one other), no change in plugin codes or theme. I am suspecting since this is specific to me, maybe the authentication is not working correctly? But this was working two days ago. So I have to ask, what changed? Nothing. I am baffled. I wonder if I used a different Instagram (one to test with) if that would work. And if it did, then we would know it is account specific and perhaps contact Instagram support?

    Thread Starter photolarry

    (@photolarry)

    Until we can figure out some kind of solution, I am moving the 15 posts with Instagram gallery/photo to trash so my website does not appear as broken.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Just sits there with dots moving after I click next….no error just stuck in loop

    If you are on Chrome, open Developer Tools (F12, or Ctrl + Shift + I). There are two tabs of interest there: Console, and Network.

    What do you see on the “Console” tab, when you get the moving dots?

    On the “Network” tab, in the lower left panel you will see a bunch of links. Scroll to the bottom. You will see some links that say “admin-ajax.php”. You need to find the one corresponding to the request that went to Instagram. To do that, click on them one by one, and look at the “Payload” tab (in the panel on the right). See which of the payloads has these two:

    action: photonic_wizard_next_screen
    screen: 2

    For this request, click on the tab that says “Response” in the lower right panel. Tell me what that says.

    WARNING: be sure to replace the access_token with a series of “x” characters when you paste your output here.

    Thread Starter photolarry

    (@photolarry)

    I am sorry where is the Network tab?? I am confused. In settings?

    Plugin Author Sayontan Sinha

    (@sayontan)

    I am sorry where is the Network tab?? I am confused. In settings?

    In Chrome’s developer tools.
    https://developer.chrome.com/docs/devtools/network/reference/

    Thread Starter photolarry

    (@photolarry)

    Request URL: https://photolarry.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: 500 Internal Server Error
    Remote Address: 44.230.252.57:443
    Referrer Policy: strict-origin-when-cross-origin

    There seems to be some internal error. There is a lot of information which I do not understand. I wish I could do a screenshot for you.

    Request URL: https://photolarry.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: 500 Internal Server Error
    Remote Address: 44.230.252.57:443
    Referrer Policy: strict-origin-when-cross-origin
    Access-Control-Allow-Credentials: true
    Access-Control-Allow-Origin: https://photolarry.com
    Cache-Control: no-cache, must-revalidate, max-age=0
    Connection: close
    Content-Security-Policy: upgrade-insecure-requests
    Content-Type: text/html; charset=UTF-8
    Cross-Origin-Opener-Policy: same-origin-allow-popups
    Cross-Origin-Resource-Policy: cross-origin
    Date: Thu, 22 Sep 2022 01:55:15 GMT
    Expires: Wed, 11 Jan 1984 05:00:00 GMT`

    Plugin Author Sayontan Sinha

    (@sayontan)

    This doesn’t align with your error code 403 – it refers to error code 500. If you have the debug logging turned on, turn it off and retry.

    Thread Starter photolarry

    (@photolarry)

    deprecated.min.js?ver=96593d5d272d008fbcb6912fa0b86778:2 select( ‘core/edit-post’ ).getPreferences is deprecated since version 6.0. Please use select( ‘core/preferences’ ).get instead.
    i @ deprecated.min.js?ver=96593d5d272d008fbcb6912fa0b86778:2

    No data returned. Error code 403

    Plugin Author Sayontan Sinha

    (@sayontan)

    That is not an error from Photonic – you seem to have pasted the message from the Console for the WordPress block editor.

    I want the details from the response section of the network tab.

    Thread Starter photolarry

    (@photolarry)

    Access-Control-Allow-Credentials: true
    Access-Control-Allow-Origin: https://photolarry.com
    Cache-Control: no-cache, must-revalidate, max-age=0
    Connection: Keep-Alive
    Content-Security-Policy: upgrade-insecure-requests
    Content-Type: text/html; charset=UTF-8
    Cross-Origin-Opener-Policy: same-origin-allow-popups
    Cross-Origin-Resource-Policy: cross-origin
    Date: Thu, 22 Sep 2022 03:18:12 GMT
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Keep-Alive: timeout=5, max=89
    Permissions-Policy: accelerometer=(*), autoplay=(*), camera=(*), encrypted-media=(*), fullscreen=(*), geolocation=(*), microphone=(*), midi=(*), payment=(*), document-domain=(*), display-capture=(*)
    Referrer-Policy: strict-origin-when-cross-origin
    Server: Apache/2.4.52 (Ubuntu)
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    Transfer-Encoding: chunked
    Vary: Accept-Encoding
    X-Content-Encoding-Over-Network: gzip
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    X-Robots-Tag: noindex
    X-XSS-Protection: 0
    Accept: */*
    Accept-Encoding: gzip, deflate, br
    Accept-Language: en-US,en;q=0.9,fr;q=0.8
    Connection: keep-alive
    Content-Length: 243
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Cookie: wordpress_sec_3d9d7515a479d9357bc47264babd18d6=Photolarry%7C1663964875%7CwvnuefkbOwGfLPyJT4Wbid9stuoJGUOe7O6kzLgsWNT%7Ca1b0b8e754e9ca83b57774f7029833389099e75fdcba23fb1cd06c7fcaf6f47c; wordpress_sec_4f027bdd28665391ba569cf80c89c0b1=PhotoLarry%7C1663983570%7Cf4FG9IU70ghnzVfk9cbtPxFItsCmQZmQnL665CZBbZD%7C68ccd89241857c0a65fbdde291645ac849203adaca87564aa8451c48012de483; wordpress_test_cookie=WP%20Cookie%20check; _gid=GA1.2.303078043.1663749352; wp_lang=en_US; wordpress_logged_in_3d9d7515a479d9357bc47264babd18d6=Photolarry%7C1663964875%7CwvnuefkbOwGfLPyJT4Wbid9stuoJGUOe7O6kzLgsWNT%7C583fdac9f878d38047a7c642114afd7a2b5b6368a090644f9a6666e1710ac2d7; _ga=GA1.1.260132334.1663749352; _ga_XLBZMPBWR6=GS1.1.1663793820.4.1.1663793842.38.0.0; wp-settings-1=editor%3Dtinymce%26ampurlbutton%3Dfile%26ampimgsize%3Dlarge%26ampm0%3Dc%26ampm1%3Do%26ampm2%3Dc%26ampm3%3Dc%26ampm4%3Dc%26ampm5%3Dc%26ampm6%3Dc%26ampm7%3Dc%26ampm8%3Dc%26ampm9%3Do%26amphidetb%3D1%26ampcats%3Dpop%26ampalign%3Dnone%26ampwplink%3D1%26amplibraryContent%3Dbrowse%26ampgalcols%3D4%26ampgalord%3Dpost_date%26ampgalfile%3D1%26ampunfold%3D1%26libraryContent%3Dbrowse%26hidetb%3D1; wp-settings-time-1=1663794076; wordpress_logged_in_4f027bdd28665391ba569cf80c89c0b1=PhotoLarry%7C1663983570%7Cf4FG9IU70ghnzVfk9cbtPxFItsCmQZmQnL665CZBbZD%7C5dc91390ce85ed416ea200c8abf061227562166939e1d5b40612f7a91be39d9a; tk_ai=ZhKe%2Fr%2FWZN6gYfK2NWsQtNsy; tk_qs=
    DNT: 1
    Host: photolarry.com
    Origin: https://photolarry.com
    Referer: https://photolarry.com/wp-admin/admin.php?action=photonic_wizard&class=photonic-flow&post_id=8395&nonce=1546e25e40&width=1000&height=600
    sec-ch-ua: “Google Chrome”;v=”105″, “Not)A;Brand”;v=”8″, “Chromium”;v=”105″
    sec-ch-ua-mobile: ?0
    sec-ch-ua-platform: “Windows”
    Sec-Fetch-Dest: empty
    Sec-Fetch-Mode: cors
    Sec-Fetch-Site: same-origin
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
    X-Requested-With: XMLHttpRequest

    <div class=”photonic-flow-error”>No data returned. Error code 403</div>

    Plugin Author Sayontan Sinha

    (@sayontan)

    This cannot be right. If you have changed the code as per my instructions, you should not see the 403 in the last line. The code I have provided should replace out the 403 with the entire responseYou should also not be seeing any text before the message.

    Please make the code changes EXACTLY as I have suggested, or this will continue endlessly.

    Thread Starter photolarry

    (@photolarry)

    I am sorry I am not a programmer. I will try again.

    Thread Starter photolarry

    (@photolarry)

    No data returned. Error code Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [vary] => Origin [cross-origin-resource-policy] => cross-origin [x-app-usage] => {“call_volume”:0,”cpu_time”:0} [content-type] => application/json; charset=UTF-8 [www-authenticate] => OAuth “Facebook Platform” “invalid_request” “Application does not have permission for this action” [instagram-api-version] => v11.0 [access-control-allow-origin] => * [strict-transport-security] => max-age=15552000 [pragma] => no-cache [cache-control] => no-store [expires] => Sat, 01 Jan 2000 00:00:00 GMT [x-fb-request-id] => AJPHH2limYHm3z4WZJLr73E [x-fb-trace-id] => CSYbyRuojO4 [x-fb-rev] => 1006245149 [x-fb-debug] => oTOYrzmGxOatdRk6siUHCxSdFgX2QAgZLm9qjRlJKD9/l/EIF/IKyP4JBys6h0Pm9jDMByVxoOLrSpU8uIsvKw== [date] => Thu, 22 Sep 2022 03:32:36 GMT [priority] => u=3,i [x-fb-trip-id] => 1984883670 [content-length] => 149 ) ) [body] => {“error”:{“message”:”Application does not have permission for this action”,”type”:”IGApiException”,”code”:10,”fbtrace_id”:”AJPHH2limYHm3z4WZJLr73E”}} [response] => Array ( [code] => 403 [message] => Forbidden ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [data] => [headers] => [status] => [response:protected] => Requests_Response Object ( [body] => {"error":{"message":"Application does not have permission for this action","type":"IGApiException","code":10,"fbtrace_id":"AJPHH2limYHm3z4WZJLr73E"}} [raw] => HTTP/1.1 403 Forbidden Vary: Origin cross-origin-resource-policy: cross-origin x-app-usage: {"call_volume":0,"cpu_time":0} Content-Type: application/json; charset=UTF-8 WWW-Authenticate: OAuth "Facebook Platform" "invalid_request" "Application does not have permission for this action" instagram-api-version: v11.0 Access-Control-Allow-Origin: * Strict-Transport-Security: max-age=15552000 Pragma: no-cache Cache-Control: no-store Expires: Sat, 01 Jan 2000 00:00:00 GMT x-fb-request-id: AJPHH2limYHm3z4WZJLr73E x-fb-trace-id: CSYbyRuojO4 x-fb-rev: 1006245149 X-FB-Debug: oTOYrzmGxOatdRk6siUHCxSdFgX2QAgZLm9qjRlJKD9/l/EIF/IKyP4JBys6h0Pm9jDMByVxoOLrSpU8uIsvKw== Date: Thu, 22 Sep 2022 03:32:36 GMT Priority: u=3,i X-FB-TRIP-ID: 1984883670 Connection: close Content-Length: 149 {"error":{"message":"Application does not have permission for this action","type":"IGApiException","code":10,"fbtrace_id":"AJPHH2limYHm3z4WZJLr73E"}} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [vary] => Array ( [0] => Origin ) [cross-origin-resource-policy] => Array ( [0] => cross-origin ) [x-app-usage] => Array ( [0] => {"call_volume":0,"cpu_time":0} ) [content-type] => Array ( [0] => application/json; charset=UTF-8 ) [www-authenticate] => Array ( [0] => OAuth "Facebook Platform" "invalid_request" "Application does not have permission for this action" ) [instagram-api-version] => Array ( [0] => v11.0 ) [access-control-allow-origin] => Array ( [0] => * ) [strict-transport-security] => Array ( [0] => max-age=15552000 ) [pragma] => Array ( [0] => no-cache ) [cache-control] => Array ( [0] => no-store ) [expires] => Array ( [0] => Sat, 01 Jan 2000 00:00:00 GMT ) [x-fb-request-id] => Array ( [0] => AJPHH2limYHm3z4WZJLr73E ) [x-fb-trace-id] => Array ( [0] => CSYbyRuojO4 ) [x-fb-rev] => Array ( [0] => 1006245149 ) [x-fb-debug] => Array ( [0] => oTOYrzmGxOatdRk6siUHCxSdFgX2QAgZLm9qjRlJKD9/l/EIF/IKyP4JBys6h0Pm9jDMByVxoOLrSpU8uIsvKw== ) [date] => Array ( [0] => Thu, 22 Sep 2022 03:32:36 GMT ) [priority] => Array ( [0] => u=3,i ) [x-fb-trip-id] => Array ( [0] => 1984883670 ) [content-length] => Array ( [0] => 149 ) ) ) [status_code] => 403 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token=IGQVJVY01FZATREdkRNU1dqMWg2NEowX2FyRUxrNmNlNmtKVDRZAYTZAOeGdyTlpsVTUyTkc5b3JNcGp4SDNvRER1OFAwLWFQbHp2eVh4WHFWZAWRWampIQWYwSmJzbmpfcnhMWWVNVFZAn [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => ) )

Viewing 15 replies - 31 through 45 (of 71 total)
  • The topic ‘Getting errors only for Instagram’ is closed to new replies.