Fatal Error to update to 4.1.1 version
-
Hi
i have the 4.0.1 version at the moment. i tried to install the new update 4.1.1 and i get this error:Cannot declare class ActionScheduler, because the name is already in use in …plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php on line 10
same thing to rename the old plugin folder and update the new update directly with ftp.
Do you have any suggestions?
thank you
regards
riccardo
-
Hey Riccardo,
We definitely wouldn’t expect that to happen when updating. Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here.
Thanks!
hi, ive tried also by uploading it by ftp and then activate it but the error persist.
same error with the latest versione 4.2.0so here it is:
### WordPress Environment ### WordPress address (URL): https://puntoled.it Site address (URL): https://puntoled.it WC Version: 4.0.1 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.14 Action Scheduler Version: ? 3.1.4 WC Admin Version: ? 1.0.3 Log Directory Writable: ? WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: it_IT External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.5 PHP Post Max Size: 150 MB PHP Time Limit: 0 PHP Max Input Vars: 12000 cURL Version: 7.70.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.6.47-log Max Upload Size: 150 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.1.0 WC Database Prefix: pld_ Dimensione totale database: 701.08MB Dimensione dati database: 533.23MB Dimensione indice database: 167.85MB pld_woocommerce_sessions: Dati: 92.94MB + indice: 3.94MB + motore MyISAM pld_woocommerce_api_keys: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_woocommerce_attribute_taxonomies: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_woocommerce_downloadable_product_permissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woocommerce_order_items: Dati: 0.10MB + indice: 0.05MB + motore MyISAM pld_woocommerce_order_itemmeta: Dati: 0.56MB + indice: 0.42MB + motore MyISAM pld_woocommerce_tax_rates: Dati: 0.17MB + indice: 0.19MB + motore MyISAM pld_woocommerce_tax_rate_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woocommerce_shipping_zones: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woocommerce_shipping_zone_locations: Dati: 0.01MB + indice: 0.02MB + motore MyISAM pld_woocommerce_shipping_zone_methods: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woocommerce_payment_tokens: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woocommerce_payment_tokenmeta: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_woocommerce_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_actionscheduler_actions: Dati: 2.36MB + indice: 1.10MB + motore MyISAM pld_actionscheduler_claims: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_actionscheduler_groups: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_actionscheduler_logs: Dati: 1.62MB + indice: 1.11MB + motore MyISAM pld_aryo_activity_log: Dati: 4.52MB + indice: 0.00MB + motore InnoDB pld_aws_cache: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_aws_index: Dati: 3.23MB + indice: 0.00MB + motore MyISAM pld_commentmeta: Dati: 0.08MB + indice: 0.03MB + motore MyISAM pld_comments: Dati: 0.72MB + indice: 0.36MB + motore MyISAM pld_ebay_accounts: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_ebay_auctions: Dati: 15.44MB + indice: 0.12MB + motore MyISAM pld_ebay_categories: Dati: 1.22MB + indice: 0.49MB + motore MyISAM pld_ebay_jobs: Dati: 0.33MB + indice: 0.00MB + motore MyISAM pld_ebay_log: Dati: 0.03MB + indice: 0.01MB + motore MyISAM pld_ebay_messages: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_ebay_orders: Dati: 0.54MB + indice: 0.01MB + motore MyISAM pld_ebay_payment: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_ebay_profiles: Dati: 0.03MB + indice: 0.00MB + motore MyISAM pld_ebay_shipping: Dati: 0.01MB + indice: 0.00MB + motore MyISAM pld_ebay_sites: Dati: 0.03MB + indice: 0.00MB + motore MyISAM pld_ebay_stocks_log: Dati: 1.88MB + indice: 0.02MB + motore MyISAM pld_ebay_store_categories: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_ebay_transactions: Dati: 0.88MB + indice: 0.01MB + motore MyISAM pld_ewwwio_images: Dati: 3.59MB + indice: 1.46MB + motore MyISAM pld_ewwwio_queue: Dati: 0.06MB + indice: 0.03MB + motore MyISAM pld_itsec_distributed_storage: Dati: 7.38MB + indice: 0.00MB + motore MyISAM pld_itsec_fingerprints: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_itsec_geolocation_cache: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_itsec_lockouts: Dati: 0.06MB + indice: 0.02MB + motore MyISAM pld_itsec_logs: Dati: 27.63MB + indice: 1.86MB + motore MyISAM pld_itsec_mutexes: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_itsec_opaque_tokens: Dati: 1.61MB + indice: 1.54MB + motore MyISAM pld_itsec_temp: Dati: 2.07MB + indice: 1.98MB + motore MyISAM pld_itsec_user_groups: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_iwp_backup_status: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_links: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_options: Dati: 100.65MB + indice: 0.60MB + motore MyISAM pld_pmxi_files: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_pmxi_history: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_pmxi_imports: Dati: 0.05MB + indice: 0.00MB + motore MyISAM pld_pmxi_posts: Dati: 0.03MB + indice: 0.01MB + motore MyISAM pld_pmxi_templates: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_postmeta: Dati: 33.05MB + indice: 10.34MB + motore MyISAM pld_posts: Dati: 4.78MB + indice: 1.05MB + motore MyISAM pld_revslider_css: Dati: 0.09MB + indice: 0.00MB + motore MyISAM pld_revslider_css_bkp: Dati: 0.09MB + indice: 0.00MB + motore MyISAM pld_revslider_layer_animations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_revslider_layer_animations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_revslider_navigations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_revslider_navigations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_revslider_sliders: Dati: 0.28MB + indice: 0.00MB + motore MyISAM pld_revslider_sliders_bkp: Dati: 0.48MB + indice: 0.00MB + motore MyISAM pld_revslider_slides: Dati: 3.52MB + indice: 0.00MB + motore MyISAM pld_revslider_slides_bkp: Dati: 6.62MB + indice: 0.00MB + motore MyISAM pld_revslider_static_slides: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_revslider_static_slides_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_sg_action: Dati: 0.01MB + indice: 0.00MB + motore MyISAM pld_sg_config: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_sg_schedule: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_termmeta: Dati: 0.08MB + indice: 0.08MB + motore MyISAM pld_terms: Dati: 204.44MB + indice: 137.30MB + motore MyISAM pld_term_relationships: Dati: 0.69MB + indice: 1.45MB + motore MyISAM pld_term_taxonomy: Dati: 0.06MB + indice: 0.05MB + motore MyISAM pld_usermeta: Dati: 1.02MB + indice: 0.57MB + motore MyISAM pld_users: Dati: 0.07MB + indice: 0.07MB + motore MyISAM pld_vtprd_purchase_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_vtprd_purchase_log_product: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_vtprd_purchase_log_product_rule: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wcifd_temporary_data: Dati: 3.65MB + indice: 0.05MB + motore MyISAM pld_wcifd_temporary_images: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wc_admin_notes: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wc_admin_note_actions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wc_category_lookup: Dati: 0.01MB + indice: 0.01MB + motore MyISAM pld_wc_customer_lookup: Dati: 0.03MB + indice: 0.04MB + motore MyISAM pld_wc_download_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wc_order_coupon_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wc_order_product_lookup: Dati: 0.04MB + indice: 0.04MB + motore MyISAM pld_wc_order_stats: Dati: 0.03MB + indice: 0.03MB + motore MyISAM pld_wc_order_tax_lookup: Dati: 0.01MB + indice: 0.02MB + motore MyISAM pld_wc_product_meta_lookup: Dati: 0.23MB + indice: 0.28MB + motore MyISAM pld_wc_tax_rate_classes: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_wc_webhooks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wdp_orders: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wdp_order_items: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_wdp_rules: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_woodmart_wishlists: Dati: 0.01MB + indice: 0.01MB + motore MyISAM pld_woodmart_wishlist_products: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_wpmelon_advbedit_temp: Dati: 0.08MB + indice: 0.05MB + motore MyISAM pld_yith_wcwl: Dati: 0.00MB + indice: 0.00MB + motore MyISAM pld_yith_wcwl_lists: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_yoast_indexable: Dati: 3.64MB + indice: 0.59MB + motore MyISAM pld_yoast_indexable_hierarchy: Dati: 0.01MB + indice: 0.03MB + motore MyISAM pld_yoast_migrations: Dati: 0.00MB + indice: 0.01MB + motore MyISAM pld_yoast_primary_term: Dati: 0.01MB + indice: 0.02MB + motore MyISAM pld_yoast_seo_links: Dati: 0.12MB + indice: 0.04MB + motore MyISAM pld_yoast_seo_meta: Dati: 0.25MB + indice: 0.27MB + motore MyISAM ### Post Type Counts ### attachment: 3091 cms_block: 59 custom_css: 1 mc4wp-form: 1 nav_menu_item: 114 oembed_cache: 2 page: 34 post: 9 product: 1936 product_enquiry: 57 product_variation: 1250 revision: 1138 shop_coupon: 74 shop_order: 472 shop_order_refund: 10 static_block: 18 vtprd-rule: 1 woodmart_sidebar: 2 woodmart_slide: 30 wpcf7_contact_form: 4 yith_price_rule: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (37) ### Admin category search: by Atilla Ordog – 1.0 Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 2.3.5 Akismet Anti-Spam: by Automattic – 4.1.5 Activity Log: by Activity Log Team – 2.5.2 Autoptimize: by Frank Goossens (futtta) – 2.7.2 Backup: by BackupGuard – 1.3.4 Classic Editor: by Contributori WordPress – 1.5 Contact Form 7: by Takayuki Miyoshi – 5.1.9 Customer Reviews for WooCommerce: by Customer Reviews – 3.111 Duplicate Post: by Enrico Battocchi – 3.2.4 Duplicate Widgets: by themesfactory – 1.2 Enable Media Replace: by ShortPixel – 3.3.12 Envato Market: by Envato – 2.0.3 EWWW Image Optimizer: by Exactly WWW – 5.3.2 iThemes Security Pro: by iThemes – 6.5.6 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 MC4WP: Mailchimp for WordPress: by ibericode – 4.7.7 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3 Limitare Widgets: by dFactory – 1.3.1 Slider Revolution: by ThemePunch – 6.2.10 Safe SVG: by Daryll Doyle – 1.9.9 Tawk.to Live Chat: by Tawkto – 0.4.2 User Role Editor: by Vladimir Garagulya – 4.55 WC Exporter for Danea - Premium: by ilGhera – 1.2.4 WC Importer for Danea - Premium: by ilGhera – 1.3.4 WooCommerce Product Feed Pro: by WebAppick – 3.0.4 – Not tested with the active version of WooCommerce WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.4.1 WooCommerce UPC, EAN, and ISBN: by Scott Bolinger – 0.4.0 – Not tested with the active version of WooCommerce WooCommerce Advanced Bulk Edit: by George Iron – 4.5 WooCommerce Stripe Gateway: by WooCommerce – 4.4.0 WooCommerce Wholesale Prices: by Rymera Web Co – 1.11.7 WooCommerce: by Automattic – 4.0.1 – 4.2.0 è disponibile Woodmart Core: by – 1.0.22 Yoast SEO: by Team Yoast – 14.2 WP-Lister Lite for eBay: by WP Lab – 2.5.4 WP Super Cache: by Automattic – 1.7.1 YITH WooCommerce Order Tracking: by YITH – 1.2.16 ### Inactive Plugins (2) ### Debug Bar: by wordpressdotorg – 1.0.1 WooCommerce: by Automattic – 4.2.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: left 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: #7 - /negozio/ Carrello: #8 - /carrello/ Cassa: #9 - /checkout/ Il mio account: #10 - /mio-account/ Termini e condizioni: #2183 - /termini-e-condizioni/ ### Theme ### Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 4.6.0 Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? ### Templates ### Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart-child/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-product_cat.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product.php ### Action Scheduler ### Operazione annullata: 1 Oldest: 2020-05-13 17:39:09 +0200 Newest: 2020-05-13 17:39:09 +0200 Completato: 4.249 Oldest: 2020-05-06 09:15:52 +0200 Newest: 2020-06-04 11:45:16 +0200 In attesa: 3 Oldest: 2020-06-04 12:00:16 +0200 Newest: 2020-07-28 12:21:52 +0200
Hey @ricctram,
Thanks for sending that over. Looking at the plugins, I can see there are two copies of WooCommerce.
Try deactivating the WooCommerce that is active and see if you can activate the updated one after that. You could also remove one from the
/wp-content/plugins
folder. Then make sure the one that is left is updated. The default folder name iswoocommerce
.Let me know how that goes.
That’s not the problem.. that was a test to upload the latest version .. then rename the old folder “woocommerce_old” and keep the new one with its default name, so by doing this i tried to understand to see if the problem was related to the updating process but it was not.
So now i tried to disable the old one and activate the new one.. same issue
This error message indicates that something on the site has already declared a PHP class named ActionScheduler.
Cannot declare class ActionScheduler, because the name is already in use in
That’s a library that WooCommerce includes to run automated actions on a schedule. If it’s not two copies of WooCommerce being active, then some other plugin or the theme is loading Action Scheduler too.
Try disabling *all plugins*. Then update WooCommerce with it deactivated. Then activate *only* the updated version. If that works, then start activating the other plugins until you run into the error message again. The last item activated before this error comes back is likely where it is coming from.
Ok thank you
ive done what you said and the error is due to plugin Importer For Danea
so i contacted the developerthank you
- The topic ‘Fatal Error to update to 4.1.1 version’ is closed to new replies.