Forum Replies Created

Viewing 12 replies - 31 through 42 (of 42 total)
  • Thread Starter zoonars

    (@zoonars)

    Mirko, I have tried all of the above and I still cant get it to work. One bug I noticed is that for some months when I try to view from the 1st date to the last there is an error loading the analytics, but if I load from the 2nd to the last of the month everything loads.

    Any idea?

    Thread Starter zoonars

    (@zoonars)

    Mirko,

    Here is what I’ve got from the debug.log after making the changes in wp_config. Seems like the same error thats displayed in the log. Again, all plug-ins are turned off except WooC and Storefront theme. What is the error telling us?

    [20-Jan-2022 16:17:55 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_id() on bool in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php:202
    Stack trace:
    #0 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Controller.php(86): Automattic\WooCommerce\Admin\API\Reports\Controller->get_order_number(5699)
    #1 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportCSVExporter.php(259): Automattic\WooCommerce\Admin\API\Reports\Orders\Controller->get_items(Object(WP_REST_Request))
    #2 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php(117): Automattic\WooCommerce\Admin\ReportCSVExporter->prepare_data_to_export()
    #3 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportExporter.php(123): WC_CSV_Batch_Exporter->generate_file()
    #4 [internal fu in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php on line 202
    • This reply was modified 4 years, 4 months ago by zoonars.
    Thread Starter zoonars

    (@zoonars)

    Hello,

    Plug-in showed no trace of any emails sent after going through the procedure.

    So is this a known issue then?

    Just to be ultra specific about what Im doing,
    -In WordPress left Banner, be in Orders section
    -Click on Net Sales
    -Set Date Range to Last Year and Compare To Previous Period
    -For me, I have 6 pages of data that should be exported via email. When I filter to just a month or whatever gets it down to 1 pg and I click download, the CSV is downloaded and I can open it.

    Thread Starter zoonars

    (@zoonars)

    Mirko,

    Chrome, Chrome Incognito and Mozilla produce the same result of no email being sent.

    When I need to download Order quantity that is 1pg or less the CSV gets downloaded, but when I try to download more than 1pg which prompts for an email to be sent I face the issue that I have described above.

    The errors in the Scheduled Actions Log indicate the process did not complete correctly or at all, and I havent gotten any emails. Am I the only one facing this or can you reproduce it on your end?

    Thread Starter zoonars

    (@zoonars)

    Hello,

    I went ahead activated W3T Cache, emptied all caches then deactivated the plugin. I removed the 2 Must-Use plug-ins from my test site, so only the Storefront and WooCommerce are active.

    Refreshing the page, and clicking Download with Developer Window open viewing the Console tab, nothing new pops up. There is nothing to show.

    Here is the error log stack

    2022-01-18T02:31:26+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php:202
    Stack trace:
    #0 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Controller.php(86): Automattic\WooCommerce\Admin\API\Reports\Controller->get_order_number(5699)
    #1 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportCSVExporter.php(259): Automattic\WooCommerce\Admin\API\Reports\Orders\Controller->get_items(Object(WP_REST_Request))
    #2 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php(117): Automattic\WooCommerce\Admin\ReportCSVExporter->prepare_data_to_export()
    #3 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportExporter.php(123): WC_CSV_Batch_Exporter->generate_file()
    #4 [internal fu in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php on line 202
    
    2022-01-18T02:37:05+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php:202
    Stack trace:
    #0 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Controller.php(86): Automattic\WooCommerce\Admin\API\Reports\Controller->get_order_number(5699)
    #1 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportCSVExporter.php(259): Automattic\WooCommerce\Admin\API\Reports\Orders\Controller->get_items(Object(WP_REST_Request))
    #2 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php(117): Automattic\WooCommerce\Admin\ReportCSVExporter->prepare_data_to_export()
    #3 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportExporter.php(123): WC_CSV_Batch_Exporter->generate_file()
    #4 [internal fu in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php on line 202
    • This reply was modified 4 years, 5 months ago by zoonars.
    • This reply was modified 4 years, 5 months ago by zoonars.
    Thread Starter zoonars

    (@zoonars)

    Hi Mirko, I actually updated after I posted the comment but it still fails,

    Here is a snip of my current stats,

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://staging.nadiyascupcakes.com
    Site address (URL): https://staging.nadiyascupcakes.com
    WC Version: 6.1.0
    REST API Version: ✔ 6.1.0
    WC Blocks Version: ✔ 6.5.1
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.0.3
    Log Directory Writable: ✔
    WP Version: 5.8.3
    WP Multisite: –
    WP Memory Limit: 500 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.27
    PHP Post Max Size: 500 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.81.0
    OpenSSL/1.1.1m
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 6.1.0
    
    ### Inactive Plugins (32) ###
    
    Advanced Database Cleaner: by Younes JFR. – 3.0.3
    Akismet Anti-Spam: by Automattic – 4.2.1
    Aurora Heatmap: by R3098 – 1.5.3
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.5.2
    Customizer Export/Import: by The Beaver Builder Team – 0.9.2
    Display PHP Version: by David Gwyer – 1.7
    Duplicate Page: by mndpsingh287 – 4.4.7
    ELEX Address Validation & Google Address Auto Complete Plugin for WooCommerce (Basic): by ELEX – 1.3.5
    ELEX Easypost WooCommerce Extension (BASIC): by ELEX – 1.2.5
    Facebook for WooCommerce: by Facebook – 2.6.1
    GDPR Cookie Compliance (CCPA, PIPEDA ready): by Moove Agency – 4.6.3
    Jetpack: by Automattic – 10.1
    Kadence WooCommerce Email Designer: by Kadence WP – 1.4.10
    Meta Box: by MetaBox.io – 5.4.1
    Meta Box Conditional Logic: by Tan Nguyen – 1.6.7
    Nitro Gallery: by WooRockets <admin@woorockets.com> – 1.0.4
    Nitro Toolkit: by WooRockets Team <support@www.woorockets.com> – 1.1.13
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Spotlight - Social Media Feeds: by RebelCode – 0.9.7
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.30
    W3 Total Cache: by BoldGrid – 2.1.9
    WooCommerce Admin Panel Order Due Column: by Vitaliy Vuchastyy – 1.0
    WooCommerce PayPal Payments: by WooCommerce – 1.6.1 (update to version 1.6.4 is available)
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee – 2.8.7
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.20
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.1
    WP Mail SMTP: by WPForms – 3.2.1
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.3
    
    WR Content Migration: by WooRockets <admin@woorockets.com> – 1.0.0
    WR Custom Attributes: by WooRockets <admin@woorockets.com> – 1.1.12
    Yoast SEO: by Team Yoast – 17.9
    
    ### Must Use Plugins (2) ###
    
    Endurance Page Cache: by Mike Hansen – 2.2
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Theme ###
    
    Name: Storefront
    Version: 3.9.1
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Status report information ###
    
    Generated at: 2022-01-17 17:53:00 -06:00
    
    Thread Starter zoonars

    (@zoonars)

    Hello thanks for the tips, I followed through and still having issues.

    Im not expert but it looks like its stuck at order 5699 which checking in my order list does not exist, so not sure if that is a clue.

    Here is a quick summary,
    unexpected shutdown: PHP Fatal error Uncaught Error: Call to a member function get_id() on bool in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php:202 Stack trace: #0 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Orders/Controller.php(86): Automattic\WooCommerce\Admin\API\Reports\Controller->get_order_number(5699) #1 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportCSVExporter.php(259): Automattic\WooCommerce\Admin\API\Reports\Orders\Controller->get_items(Object(WP_REST_Request)) #2 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php(117): Automattic\WooCommerce\Admin\ReportCSVExporter->prepare_data_to_export() #3 /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportExporter.php(123): WC_CSV_Batch_Exporter->generate_file() #4 [internal fu in /home4/nadiyasc/public_html/staging/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Controller.php on line 202

    AND

    ### WordPress Environment ###
    
    WordPress address (URL): https://staging.nadiyascupcakes.com
    Site address (URL): https://staging.nadiyascupcakes.com
    WC Version: 5.9.0
    REST API Version: ✔ 5.9.0
    WC Blocks Version: ✔ 6.1.0
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.8.0
    Log Directory Writable: ✔
    WP Version: 5.8.3
    WP Multisite: –
    WP Memory Limit: 500 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.27
    PHP Post Max Size: 500 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.81.0
    OpenSSL/1.1.1m
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 5.9.0 (update to version 6.1.0 is available)
    
    ### Inactive Plugins (32) ###
    
    Advanced Database Cleaner: by Younes JFR. – 3.0.3
    Akismet Anti-Spam: by Automattic – 4.2.1
    Aurora Heatmap: by R3098 – 1.5.3
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.5.2
    Customizer Export/Import: by The Beaver Builder Team – 0.9.2
    Display PHP Version: by David Gwyer – 1.7
    Duplicate Page: by mndpsingh287 – 4.4.7
    ELEX Address Validation & Google Address Auto Complete Plugin for WooCommerce (Basic): by ELEX – 1.3.5
    ELEX Easypost WooCommerce Extension (BASIC): by ELEX – 1.2.5
    Facebook for WooCommerce: by Facebook – 2.6.1
    GDPR Cookie Compliance (CCPA, PIPEDA ready): by Moove Agency – 4.6.3
    Jetpack: by Automattic – 10.1
    Kadence WooCommerce Email Designer: by Kadence WP – 1.4.10
    Meta Box: by MetaBox.io – 5.4.1
    Meta Box Conditional Logic: by Tan Nguyen – 1.6.7
    Nitro Gallery: by WooRockets <admin@woorockets.com> – 1.0.4
    Nitro Toolkit: by WooRockets Team <support@www.woorockets.com> – 1.1.13
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Spotlight - Social Media Feeds: by RebelCode – 0.9.7
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.30
    W3 Total Cache: by BoldGrid – 2.1.9
    WooCommerce Admin Panel Order Due Column: by Vitaliy Vuchastyy – 1.0
    WooCommerce PayPal Payments: by WooCommerce – 1.6.1 (update to version 1.6.4 is available)
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee – 2.8.7
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.20
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.1
    WP Mail SMTP: by WPForms – 3.2.1
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.3
    
    WR Content Migration: by WooRockets <admin@woorockets.com> – 1.0.0
    WR Custom Attributes: by WooRockets <admin@woorockets.com> – 1.1.12
    Yoast SEO: by Team Yoast – 17.9
    
    ### Must Use Plugins (2) ###
    
    Endurance Page Cache: by Mike Hansen – 2.2
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Theme ###
    
    Name: Storefront
    Version: 3.9.1
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    • This reply was modified 4 years, 5 months ago by zoonars.

    Here is a log of the event (I think I did that correctly),

    2021-11-15T02:11:17+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {“partner_config_override”:{“partner_logo_url”:”https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png”,”return_url”:”https:\/\/staging.nadiyascupcakes.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway”,”return_url_description”:”Return to your shop.”,”show_add_credit_card”:true},”products”:[“PPCP”],”legal_consents”:[{“type”:”SHARE_DATA_CONSENT”,”granted”:true}],”operations”:[{“operation”:”API_INTEGRATION”,”api_integration_preference”:{“rest_api_integration”:{“integration_method”:”PAYPAL”,”integration_type”:”FIRST_PARTY”,”first_party_details”:{“features”:[“PAYMENT”,”FUTURE_PAYMENT”,”REFUND”,”ADVANCED_TRANSACTIONS_SEARCH”,”VAULT”],”seller_nonce”:”a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG”}}}}]}
    Response Debug ID: 7b240ae6b6fb3
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2021-11-15T02:12:03+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"NADCUP-2"}
    Response Debug ID: 29d1d044b7edf
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2021-11-15T02:12:06+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"NADCUP-2"}
    Response Debug ID: ae92827e5aed3
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    I have started experiencing something similar on my site. One thing I learned is that with PayPal Card Processing enabled, as soon as the page is loaded, it looks like PayPal Standard is the first to load just long enough for someone to click on it before the intended PayPal Checkout buttons load.

    As soon as someone clicks on the PayPal Standard equivalent button, this causes the page to refresh and a Failed Order email will send via WooCommerce. If you wait another second, the right PayPal buttons will load and everything works as expected.

    If PayPal Card Processing is disabled, this still happens but the new buttons load much quicker and there isnt enough time to click on the old button before the new ones are generated.

    • This reply was modified 4 years, 7 months ago by zoonars.
    Thread Starter zoonars

    (@zoonars)

    Resolved by turning off Compress JS/CSS settings in Customizer > System Settings

    Thread Starter zoonars

    (@zoonars)

    Your explanation of the difference makes sense, thank you. Ill bring this information to the individual.

    Thread Starter zoonars

    (@zoonars)

    Hello and thank you for your response, I appreciate the clarification because at the moment I am investigating an issue with my site’s header caching the mobile version when on desktop mode and the reason I asked this question was a comment made by the theme developer suggesting to exclude a file from caching, here is the exact comment for reference,

    “This [the caching issue] is a matter with the Compress CSS/JS and Cache with the Header Builder.

    Please kindly try to disable it you will see the Header will display correctly.

    You can also try to exclude the following file in your Cache plugin to see any difference:

    wp-content\themes\wr-nitro\assets\woorockets\js\functions.js

    Or all the folder:

    wp-content\themes\wr-nitro\assets\woorockets\js

Viewing 12 replies - 31 through 42 (of 42 total)