]]>Printful on Reddit.
Hey! Thank you for your question! Currently, there are no plans to update our WooCommerce integration.
Pay attention to this, it’s important
]]>In printful I get this error message:
Hey! Something went wrong with sync.
Last sync error: Error: Invalid response from your WooCommerce store. Please make sure your site is working and no plugins are blocking WooCommerce API access
Try to refresh data. If error persists, contact customer support.
Shameem gave great advice. Thankyou.
]]>Failed! The request couldn't process fast enough, please increase the maximum execution time on your server. If that doesn't help, check your server error logs.
When I check the “Server Error Logs” I see this:
PHP Warning: Trying to access array offset on value of type bool in /home/kevinpia/public_html/reformedshirt/ref/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622 (Also on line 1623, 1624, 1625, 1634(x2))
Here is the System Status Report:
https://gist.github.com/klpiazza/f7d7e5176bf11b0463a4e375524c65f8
And the Fatal Error Logs
https://gist.github.com/klpiazza/526d17e64a2a25f032dba405dccb9b30
I’m hoping that by fixing this error, things will start working again, just not sure what this means or how to fix it. Thanks!
I have been troubleshooting an API issue with Printful and WooCommerce for over 3 weeks now. I am really at my wits end here…at every turn, I am stumped or some other problem occurs. I feel as if my site has gremlins!
For reference, I have Hostinger Cloud Startup plan.
I have deactivated plugins, added plugins (including ImageMagick Engine), optimized my site, changed themes to (twenty twenty four, and a few others), restored to a prior point in time, completely started over (recently) by deleting all my files, and now I am beginnning to build it back again from scratch! I had deactivated Hostinger CDN, used the following code in htaccess (on the old site) to disable Mod security :
SecFilterEngine Off
SecFilterScanPOST Off
Nothing seems to work consistently.
Anyways, when I came over here to finally ask for help, I get the following error when I try and submit a ticket:
I go to my store, and this is how it looks (looks connected)…
So, I went to check WooCommerce API status in WordPress, and I see the API enabled doesn’t say yes or no or have a check mark…
This makes me think that the API issue is something with my setup in Woo or WordPress. I realize that I can bypass the AI tool to submit a ticket – but should the API status be enabled? The Printful API is actually a part of an app.
My store was working great and one day it just quit, and I do not remember if there was any significant changes made…Plus, I am a complete noob at this….drinking from a firehose everyday trying to learn. Error logs seem sporadic – for example, when my site was showing connected, I was getting a common reoccurring error code in logs for Printful :
2024-06-09T05:38:47+00:00?Error?Array([request] => Array([timeout] => 10[user-agent] => Printful WooCommerce Plugin 2.2.7 (WP 6.5.4 + WC 8.9.2)[method] => GET[headers] => Array([Authorization] => Bearer kTmM1RyENodIbedWAgCkw5lBOG2q0ntowM4LHaZj)[body] =>[path] =>?https://api.printful.com/store)[results] => Array( => 401[result] => The access token store is invalid.[error] => Array([reason] => Unauthorized[message] => The access token store is invalid.)))
However, store broke tonight, and no error logs?
Current Woo Commerce Logs below:
WordPress Environment<br><br>WordPress address (URL): https://bigbabygorillabear.com<br>Site address (URL): https://bigbabygorillabear.com<br>WC Version: 8.9.3<br>REST API Version: ✔ 8.9.3<br>Action Scheduler Version: ✔ 3.7.4<br>Log Directory Writable: ✔<br>WP Version: 6.5.4<br>WP Multisite: –<br>WP Memory Limit: 3 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: ✔ Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 8.1.27<br>PHP Post Max Size: 3 GB<br>PHP Time Limit: 480<br>PHP Max Input Vars: 5000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.11.7-MariaDB-cll-lve<br>Max Upload Size: 3 GB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 8.9.3<br>WC Database Prefix: wp_<br>Total Database Size: 9.12MB<br>Database Data Size: 6.84MB<br>Database Index Size: 2.28MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_cache: Data: 0.03MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_crawl_cleanup_blocked_args: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_crawl_cleanup_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB<br>wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_bv_activities_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bv_fw_requests: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_bv_ip_store: Data: 0.34MB + Index: 0.27MB + Engine InnoDB<br>wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_options: Data: 5.05MB + Index: 0.08MB + Engine InnoDB<br>wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_posts: Data: 0.11MB + Index: 0.06MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts<br><br>attachment: 5<br>customize_changeset: 4<br>elementor_library: 1<br>nav_menu_item: 12<br>page: 7<br>post: 2<br>revision: 1<br>wp_global_styles: 1<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (9)<br><br>All in One SEO: by All in One SEO Team – 4.6.4<br>Astra Pro: by Brainstorm Force – 4.7.0<br>Elementor: by Elementor.com – 3.21.8<br>Hostinger AI: by Hostinger – 2.0.3<br>Hostinger Easy Onboarding: by Hostinger – 2.0.1<br>Hostinger Tools: by Hostinger – 3.0.0<br>LiteSpeed Cache: by LiteSpeed Technologies – 6.2.0.1<br>Printful Integration for WooCommerce: by Printful – 2.2.7<br>WooCommerce: by Automattic – 8.9.3 Inactive Plugins (1)<br><br>MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 5.56 Dropin Plugins ()<br><br>object-cache.php: object-cache.php Settings<br><br>API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 12 KB WC Pages<br><br>Shop base: #6 - /shop/<br>Cart: #7 - /cart/<br>Checkout: #8 - /checkout/<br>My account: #9 - /my-account/<br>Terms and conditions: ❌ Page not set Theme<br><br>Name: Astra<br>Version: 4.7.0<br>Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>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<br>WooCommerce Support: ✔ Templates<br><br>Overrides: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>product-pre-publish-modal<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br><br>Disabled Features: minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field<br>launch-your-store<br><br>Daily Cron: ✔ Next scheduled: 2024-06-13 01:44:34 +00:00<br>Options: ✔<br>Notes: 60<br>Onboarding: completed Action Scheduler<br><br>Complete: 12<br>Oldest: 2024-06-12 01:44:36 +0000<br>Newest: 2024-06-13 01:29:55 +0000<br><br>Failed: 1<br>Oldest: 2024-06-12 01:48:06 +0000<br>Newest: 2024-06-12 01:48:06 +0000<br><br>Pending: 4<br>Oldest: 2024-06-13 01:44:55 +0000<br>Newest: 2024-06-13 03:15:11 +0000 Status report information<br><br>Generated at: 2024-06-13 01:32:14 +00:00<br>
Thanks all!
The freaking new guy!
I just started my first woocommerce shop, and am excited to get going.
I am based in Denmark, but hope to primarily sell to Americans, which Is why I’d like my primary currency to be USD.
I’ve found, however, that even though my Printful settings is set to USD, Woocommerce seems to want to convert it from DKK to USD, so an item that costs $15 is converted to $100. (Just a note: In printful, a lot of the prices also seem to be converted to DKK because of their localisation, but they insist that the problem is with Woocommerce or some plugin)
The only fix I’ve been able to make is to change my woocommerce currency settings to DKK and then have them convert automatically with the multi-currency feature, but then all American customers are notified that the prices are automatically converted from DKK which isn’t ideal.
I apologize if the above sounds confusing. Hope someone can help!
]]>The code looks as follow:
2023-11-27T16:55:21+00:00 CRITICAL Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php:304
Stack trace:
#0 /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php(304): in_array(‘STANDARD’, NULL)
#1 /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php(340): Printful_Admin_Settings->prepare_carriers()
#2 /home/.sites/358/site8537238/web/wp-includes/class-wp-hook.php(324): Printful_Admin_Settings::save_printful_settings(”)
#3 /home/.sites/358/site8537238/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#4 /home/.sites/358/site8537238/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/.sites/358/site8537238/web/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_save_pr…’)
#6 {main}
? thrown in /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php in Zeile 304
Does someone can help with a solution?
Regards
Florian
]]>