Forum Replies Created

Viewing 15 replies - 1 through 15 (of 59 total)
  • Thread Starter Eastern Watersports

    (@kbdiverservices)

    I’d like to add, that it “Seems” but for some reason, we aren’t positive, that when we disable the PayPal button from everywhere except the cart it appears to work. We had to disable pay later messaging everywhere as well. We’re not 100% positive, because despite clearing all cache and trying different machines and browsers, we still had a device show the empty cart error…regardless, its definitely happening 100% with buttons in multiple places. This only began about 2 days ago. We also went to the storefront theme and it still doesn’t work when enabled…so its not a theme issue.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    You think I should ask in the WooCommerce forum about wordpress functionality? Seems like they will simply say navigational menus are a part of wordpress core functions not WooCommerce.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    No mistake made

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    I’m not 100% which you are referring to, but I believe you are referring to one of the steps in the wizard, which is the Gmail API. The API is enabled, or it wouldn’t work at all. The app is in the PUBLISHED state, not testing. Its been authenticated, again it wouldn’t work at all if it weren’t. We’ve also tried the second option, the 587 port option, that provided the same results as its the OAuth token that is expiring, and they use the same Oauth method.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    Hi, your response here is not the same as your response to a similar question a bit newer…which one is it?

    2022-04-16T11:52:59+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_total() on null in /home/easternwatersports/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php:1127
    Stack trace:
    #0 /home/easternwatersports/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(378): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->is_cart_price_total_zero()
    #1 /home/easternwatersports/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(195): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_button_wrapper_registrar()
    #2 /home/easternwatersports/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(56): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_wrapper()
    #3 /home/easternwatersports/public_html/wp-includes/class-wp-hook.php(307): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}()
    #4 /home/easternwatersports/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #5 /home/easternwatersports/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
    #6 /home/easternwatersports/public_html/wp-includes/class-wp.php(771): do_action_ref_array()
    #7 /home/easternwatersports/public_html/wp-includes/functions.php(1310): WP->main()
    #8 /home/easternwatersports/public_html/wp-blog-header.php(16): wp()
    #9 /home/easternwatersports/public_html/index.php(17): require('...')
    #10 {main}
      thrown in /home/easternwatersports/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php on line 1127
    Thread Starter Eastern Watersports

    (@kbdiverservices)

    We aren’t going to safely ignore. Looking forward to your updates. We don’t use WP Crontrol. We also run server based CRONs. So please let us know what’s up when you can.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    In addition you can see it then recreates a new product with same info and a new object ID. So now, if that product in woocommerce, which is now linked with old object id is changed again, it won’t update because it doesn’t exist in facebook. Its like the plugin doesn’t update the new object ID that it recreated.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    Some additional information. I deleted the entire catalog from facebook and disconnected and reconnected woocommerce. Everything appears correct. So I changed product inventory to 0 in woocommerce and saved. Product disappeared from item catalog list. I then added the inventory back again and synced and received this error:

    Unsupported post request. Object with ID ‘7350586525014084’ does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api

    04-09-2022 @ 12:01:12 - Response
    code: 200
    message: OK
    body: {"events_received":1,"messages":[],"fbtrace_id":"AaBF-qkzaq5P-y54A2bMGxi"}
    
    04-09-2022 @ 12:01:16 - Request
    uri: https://graph.facebook.com/v12.0/7350586525014084
    body: Array
    (
        [name] => ScubaPro S-Tek BCD "M/L"
        [description] => Pre-owned ScubaPro S-Tek BCD, donut bladder.  The BCD has bee tested and holds air perfectly.  There is a name written on the back tag from previous ownership.  The size is M/L.  The last service date is unknown.
        [image_url] => https://www.easternwatersports.com/wp-content/uploads/2022/04/scubapro-s-tek-bcd-scaled.jpg
        [additional_image_urls] => Array
            (
                [0] => https://www.easternwatersports.com/wp-content/uploads/2022/04/20220408_125558-scaled.jpg
                [1] => https://www.easternwatersports.com/wp-content/uploads/2022/04/scubapro-s-tek-bcd-1-scaled.jpg
                [2] => https://www.easternwatersports.com/wp-content/uploads/2022/04/scubapro-s-tek-bcd-2-scaled.jpg
                [3] => https://www.easternwatersports.com/wp-content/uploads/2022/04/scubapro-s-tek-bcd-3-scaled.jpg
            )
    
        [url] => https://www.easternwatersports.com/product/scubapro-s-tek-bcd-m-l/
        [category] => BCDs
        [brand] => Eastern Watersports
        [retailer_id] => 83154_83154
        [price] => 19999
        [currency] => USD
        [availability] => in stock
        [visibility] => published
        [sale_price_start_date] => 1970-01-29T00:00+00:00
        [sale_price_end_date] => 1970-01-30T23:59+00:00
        [sale_price] => 19999
    )
    timeout: 500
    method: POST
    
    04-09-2022 @ 12:01:16 - Response
    code: 400
    message: Bad Request
    body: {"error":{"message":"Unsupported post request. Object with ID '7350586525014084' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"An4YNZrbhKfZRxPov6CnOre"}}
    
    04-09-2022 @ 12:01:16 - Unsupported post request. Object with ID '7350586525014084' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api
    04-09-2022 @ 12:01:16 - {"headers":{},"body":"{\"error\":{\"message\":\"Unsupported post request. Object with ID '7350586525014084' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\\\/\\\/developers.facebook.com\\\/docs\\\/graph-api\",\"type\":\"GraphMethodException\",\"code\":100,\"error_subcode\":33,\"fbtrace_id\":\"An4YNZrbhKfZRxPov6CnOre\"}}","response":{"code":400,"message":"Bad Request"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    04-09-2022 @ 12:01:16 - Request
    uri: https://graph.facebook.com/v12.0/2045797722155616/log_events
    body: Array
    (
        [message] => {"message":"Non-200 error code from FB","object":{"result":{"headers":{},"body":"{\"error\":{\"message\":\"Unsupported post request. Object with ID '7350586525014084' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\\\/\\\/developers.facebook.com\\\/docs\\\/graph-api\",\"type\":\"GraphMethodException\",\"code\":100,\"error_subcode\":33,\"fbtrace_id\":\"An4YNZrbhKfZRxPov6CnOre\"}}","response":{"code":400,"message":"Bad Request"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}},"data":null,"plugin_version":"2.6.12","php_version":"8.0.17"}}
        [error] => 1
    )
    timeout: 500
    method: POST
    
    04-09-2022 @ 12:01:16 - Response
    code: 400
    message: Bad Request
    body: {"error":{"message":"Unsupported post request. Object with ID '2045797722155616' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AL9g8IsyZoRtlZD5pHj6nwm"}}
    
    04-09-2022 @ 12:01:19 - Request
    uri: https://graph.facebook.com/v12.0/2045797722155616/log_events
    body: Array
    (
        [message] => {"message":"Unsupported post request. Object with ID '7350586525014084' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","object":{"plugin_version":"2.6.12","php_version":"8.0.17"}}
        [error] => 1
    )
    timeout: 500
    method: POST
    
    04-09-2022 @ 12:01:19 - Response
    code: 400
    message: Bad Request
    body: {"error":{"message":"Unsupported post request. Object with ID '2045797722155616' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AWbwMyuUfoF7Vb2PBBDCvZ6"}}
    
    04-09-2022 @ 12:01:19 - Request
    method: POST
    uri: https://graph.facebook.com/v12.0/1251207085283765/items_batch
    user-agent: Facebook-for-WooCommerce/2.6.12 (WooCommerce/6.3.1; WordPress/5.9.3)
    body: {"allow_upsert":true,"requests":[{"method":"UPDATE","data":{"title":"ScubaPro S-Tek BCD \"M\/L\"","description":"Pre-owned ScubaPro S-Tek BCD, donut bladder.\u00a0 The BCD has bee tested and holds air perfectly.\u00a0 There is a name written on the back tag from previous ownership.\u00a0 The size is M\/L.\u00a0 The last service date is unknown.","image_link":"https:\/\/www.easternwatersports.com\/wp-content\/uploads\/2022\/04\/scubapro-s-tek-bcd-scaled.jpg","additional_image_link":["https:\/\/www.easternwatersports.com\/wp-content\/uploads\/2022\/04\/20220408_125558-scaled.jpg","https:\/\/www.easternwatersports.com\/wp-content\/uploads\/2022\/04\/scubapro-s-tek-bcd-1-scaled.jpg","https:\/\/www.easternwatersports.com\/wp-content\/uploads\/2022\/04\/scubapro-s-tek-bcd-2-scaled.jpg","https:\/\/www.easternwatersports.com\/wp-content\/uploads\/2022\/04\/scubapro-s-tek-bcd-3-scaled.jpg"],"link":"https:\/\/www.easternwatersports.com\/product\/scubapro-s-tek-bcd-m-l\/","brand":"Eastern Watersports","price":"199.99 USD","availability":"in stock","visibility":"published","sale_price_effective_date":"1970-01-29T00:00+00:00\/1970-01-30T23:59+00:00","sale_price":"199.99 USD","item_group_id":"83154_83154","condition":"new","id":"83154_83154"}}],"item_type":"PRODUCT_ITEM"}
    duration: 1.78572s
    
    04-09-2022 @ 12:01:19 - Response
    code: 200
    message: OK
    body: {"handles":["Acw8KHw9jWhEMyHN-q2yl7VlNJohdpMw1hEq7-D6-wDlY7lJ8ULjZcb4XI-peqykT7Zyb0SmKEsjuDMBtow1RhGL"]}
    Thread Starter Eastern Watersports

    (@kbdiverservices)

    I should add, when I ran the snippet, products that are listed as out of stock on our site weren’t even cued to be deleted on Facebook. They were skipped, which defeats the whole purpose. It seems when they are out of stock, sync stops. Well this doesn’t make sense. Seems like if you’re trying to delete all products, it should DELETE ALL PRODUCTS. Not just the ones in stock when the whole point is to reset everything that is showing in stock on FB but out of stock on our page.

    same problem here

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    We also used the code snippet to reset all data…it appears in the log like it went through, but no change on the FB side. Same products showing that are actually out of stock, but showing in stock on facebook side.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    None of the latter is the case.

    Should I delete and reinstall?

    Also, I recently did your firewall optimization. Does this add a new wp-settings.php file? It seems I have one now and there are flags set that conflict with wp-config. I also see a logging flag set using @ini in wp-config that wasn’t there before.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    Unfortunately I can’t tell you when. I’ve just been checking debug logs lately as there seem to be a variety of issues. We have a staging site and we’ve been trying to narrow things down and this one popped up.

    Thread Starter Eastern Watersports

    (@kbdiverservices)

    Done

Viewing 15 replies - 1 through 15 (of 59 total)