Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

adjust_download_permissions issue

$
0
0

Replies: 0

Hello,
I am currently working on my website and we are having an issue with our import

Every time the wpallimport runs an import with grouped products it’s creating multiple Scheduled Actions “adjust_download_permissions” and they get stuck with error for some reason. I also tried disabling the wp cron and using the linux crontab to execute the actions but without success. “*/5 * * * * cd /my/dir; wp cron event run –due-now >/dev/null 2>&1”
After searching online and speaking with the wpallimport support they said that this is a wc issue and I should ask here for help.

https://imgur.com/a/gCKlaST

This is basically the error I am getting constantly in my logs.

2021-07-13T05:10:41+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster::get_download_files_and_permissions() must be an instance of WC_Product, bool given, called in /home/myapp/webapps/myapp/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php on line 103 and defined in /home/myapp/webapps/myapp/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php:138
Stack trace:
#0 /home/myapp/webapps/myapp/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php(103): Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster->get_download_files_and_permissions()
#1 /home/myapp/webapps/myapp/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster->adjust_download_permissions()
#2 /home/myapp/webapps/myapp/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /home/myapp/webapps/myapp/wp-includes/plugin.php(551): WP_Hook->do_action()
#4 /home/myapp/webapps/myapp/wp-content/plugins/action-scheduler/classes/a μέσα στο /home/myapp/webapps/myapp/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php in line 138

I have disabled all the plugins (except wpallimport) and installed storefront.
The issue still persists.
Please let me know if I can give you any more info.

Please let me know if I can give you any more information.
Best regards,
Arthur.

### WordPress Environment ###

WordPress address (URL): https://mysite.com
Site address (URL): https://mysite.com
WC Version: 5.5.0
REST API Version: ✔ 5.5.0
WC Blocks Version: ✔ 5.3.2
Action Scheduler Version: ✔ 3.2.1
WC Admin Version: ✔ 2.4.1
Log Directory Writable: ✔
WP Version: 5.7.2
WP Multisite: –
WP Memory Limit: 4 GB
WP Debug Mode: –
WP Cron: –
Language: el
External object cache: –

### Server Environment ###

Server Info: nginx/1.19.3
PHP Version: 7.4.20
PHP Post Max Size: 1 GB
PHP Time Limit: 900
PHP Max Input Vars: 10000
cURL Version: 7.68.0
OpenSSL/1.1.1f

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~focal-log
Max Upload Size: 1 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 5.5.0
WC Database Prefix: wp_
Total Database Size: 129.96MB
Database Data Size: 88.59MB
Database Index Size: 41.37MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 12.52MB + Index: 15.08MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 40.58MB + Index: 11.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mclean_refs: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
wp_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 4.48MB + Index: 0.09MB + Engine InnoDB
wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_hash: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_history: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_images: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_imports: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_posts: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_templates: Data: 0.27MB + Index: 0.00MB + Engine InnoDB
wp_postmeta: Data: 14.52MB + Index: 8.91MB + Engine InnoDB
wp_posts: Data: 5.48MB + Index: 2.23MB + Engine InnoDB
wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_sliders: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_slides: Data: 4.52MB + Index: 0.02MB + Engine InnoDB
wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_termmeta: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
wp_terms: Data: 0.14MB + Index: 0.19MB + Engine InnoDB
wp_term_relationships: Data: 1.44MB + Index: 1.48MB + Engine InnoDB
wp_term_taxonomy: Data: 0.11MB + Index: 0.14MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.42MB + Index: 0.69MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woobe_history: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
wp_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

### Post Type Counts ###

attachment: 2726
cms_block: 4
customize_changeset: 1
mc4wp-form: 1
nav_menu_item: 93
page: 17
post: 21
product: 3645
revision: 109
shop_order: 1
wpcf7_contact_form: 6

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (3) ###

WooCommerce: by Automattic – 5.5.0
WP All Import Pro: by Soflyy – 4.6.7
WP All Import – WooCommerce Add-On Pro: by Soflyy – 3.2.6

### Inactive Plugins (0) ###

### Must Use Plugins (1) ###

ManageWP – Worker Loader: by GoDaddy –

### Settings ###

API Enabled: –
Force SSL: –
Currency: EUR (€)
Currency Position: right
Thousand Separator:
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

### WC Pages ###

Shop base: #8 – /%cf%80%cf%81%ce%bf%ce%b9%ce%bf%ce%bd%cf%84%ce%b1/
Cart: #9 – /kalathi/
Checkout: #10 – /oloklirosi-paraggelias/
My account: #11 – /o-logariasmos-mou/
Terms and conditions: ❌ Page not set

### Theme ###

Name: Storefront
Version: 3.7.0
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: ✔

### Templates ###

Overrides: –

### Action Scheduler ###

Canceled: 2
Oldest: –
Newest: –

Complete: 17,453
Oldest: 2021-06-13 07:53:38 +0000
Newest: 2021-07-13 13:10:08 +0000

Failed: 24,391
Oldest: 2021-05-14 03:08:03 +0000
Newest: 2021-07-13 09:20:56 +0000

In-progress: 1
Oldest: –
Newest: –

Pending: 344
Oldest: 2021-07-12 14:22:48 +0000
Newest: 2021-07-13 17:58:48 +0000

### Status report information ###

Generated at: 2021-07-13 21:00:51 +03:00
`


Viewing all articles
Browse latest Browse all 59525

Trending Articles