Fatal error
-
Hi,
When i try to create an auction product i’ve this error:Fatal error: Uncaught Error: Call to undefined function wp_date() in public_html/wp-content/plugins/ultimate-woocommerce-auction/includes/admin/class-uwa-admin.php on line 309
How can i solve ?
Thanks
-
Hi @ikaroweb ,
Could you please share WooCommerce System Report? It can be found – WP Admin > WooCommerce > Status > Get System Report.
Regards,
Nitesh### WordPress Environment ### WordPress address (URL): https://kilotech.eu Site address (URL): https://kilotech.eu WC Version: 3.8.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: ? 5.2.5 - è disponibile una versione più recente di WordPress (5.4) WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: it_IT External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.16 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.59.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.6.40-84.0-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.8.0 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Dimensione totale database: 11.94MB Dimensione dati database: 9.77MB Dimensione indice database: 2.17MB wp_woocommerce_sessions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_order_itemmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_actions: Dati: 0.02MB + indice: 0.11MB + motore InnoDB wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_logs: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_comments: Dati: 0.02MB + indice: 0.09MB + motore InnoDB wp_failed_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_mailchimp_carts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_mailchimp_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_options: Dati: 2.52MB + indice: 0.06MB + motore InnoDB wp_postmeta: Dati: 4.52MB + indice: 0.64MB + motore InnoDB wp_posts: Dati: 1.52MB + indice: 0.31MB + motore InnoDB wp_queue: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_css: Dati: 0.13MB + indice: 0.00MB + motore InnoDB wp_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_sliders: Dati: 0.05MB + indice: 0.00MB + motore InnoDB wp_revslider_slides: Dati: 0.06MB + indice: 0.00MB + motore InnoDB wp_revslider_static_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_term_relationships: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_usermeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_wc_product_meta_lookup: Dati: 0.02MB + indice: 0.09MB + motore InnoDB wp_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wpforms_tasks_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_yith_wcwl: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_yith_wcwl_lists: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_yoast_seo_links: Dati: 0.13MB + indice: 0.05MB + motore InnoDB wp_yoast_seo_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB ### Security ### Secure connection (HTTPS): ? Il tuo negozio non utilizza HTTPS. Scopri di più su HTTPS e certificati SSL . Hide errors from visitors: ? ### Active Plugins (35) ### The Events Calendar: by Modern Tribe Inc. – 5.0.3.1 Livemesh Addons for WPBakery Page Builder: by Livemesh – 2.5.6 Absolutely Glamorous Custom Admin: by Cusmin – 6.5.4 Animated Gif Resize: by Brendon Boshell – 1.0 Child Theme Generator: by Serafino Corriero – 2.2.6 Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: by SeedProd – 5.1.0 Contact Form 7: by Takayuki Miyoshi – 5.1.7 Disable Gutenberg: by Jeff Starr – 2.1 Easy Video Player: by naa986 – 1.1.8 Facebook for WooCommerce: by Facebook – 1.10.2 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.10.4 Jetpack by WordPress.com: by Automattic – 8.3 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 Mailchimp for WooCommerce: by Mailchimp – 2.3.5 MC4WP: Mailchimp for WordPress: by ibericode – 4.7.5 Ocean Extra: by OceanWP – 1.5.19 Ocean Posts Slider: by OceanWP – 1.0.13 One Click Demo Import: by ProteusThemes – 9.9.9 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3 Revolution Slider: by ThemePunch – 5.4.8.2 SG Optimizer: by SiteGround – 5.4.6 SW Ajax WooCommerce Search: by smartaddons.com – 1.1.7 – Non testato con la versione attiva di WooCommerce SW Core: by Smartaddons – 1.2.4 Sw Woocommerce: by SmartAddons – 1.4.8 – Non testato con la versione attiva di WooCommerce Sw Woocommerce Swatches: by SmartAddons – 1.0.6 – Non testato con la versione attiva di WooCommerce UpdraftPlus - Backup/Ripristino: by UpdraftPlus.Com DavidAnderson – 1.16.22 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.20 WooCommerce Services: by Automattic – 1.22.5 – 1.23.0 è disponibile WooCommerce: by Automattic – 3.8.0 – 4.0.1 è disponibile Importatore WordPress: by wordpressdotorg – 0.7 Yoast SEO: by Team Yoast – 13.3 WordPress Starter: by SiteGround – 1.1.1 WPForms Lite: by WPForms – 1.5.9.5 YITH WooCommerce Compare: by YITH – 2.3.20 YITH WooCommerce Wishlist: by YITH – 3.0.9 ### Inactive Plugins (6) ### All-in-One Video Gallery: by Team Plugins360 – 2.3.0 Elementor: by Elementor.com – 2.9.7 Maintenance: by WP Maintenance – 3.85 Ultimate WooCommerce Auction Plugin: by Nitesh Singh – 2.0.10 Webshipr for WooCommerce: by webshipr.com – 2.5.4 – Non testato con la versione attiva di WooCommerce WooCommerce Price Per Unit: by Martin Mechura – 1.9.3 – Non testato con la versione attiva di WooCommerce ### 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: ? La pagina non è impostata Carrello: #5 - /cart/ Cassa: #6 - /checkout/ Il mio account: #7 - /my-account/ Termini e condizioni: ? La pagina non è impostata ### Theme ### Name: victo_child Version: 1.0 Author URL: Child Theme: ? Parent Theme Name: Victo Parent Theme Version: 1.2.10 Parent Theme Author URL: https://themeforest.net/user/magentech/ WooCommerce Support: ? ### Templates ### Overrides: victo/woocommerce/archive-product.php victo_child/woocommerce/cart/cart-totals.php victo/woocommerce/content-product.php victo/woocommerce/content-single-product.php victo/woocommerce/loop/loop-end.php victo/woocommerce/loop/loop-start.php victo/woocommerce/loop/rating.php victo/woocommerce/myaccount/dashboard.php victo/woocommerce/myaccount/form-login.php victo/woocommerce/single-product/meta.php victo/woocommerce/single-product/price.php victo/woocommerce/single-product/product-image.php victo/woocommerce/single-product/product-thumbnails.php victo/woocommerce/single-product/rating.php victo/woocommerce/single-product/tabs/tabs.php versione 2.4.0 è obsoleta. La versione attuale è 3.8.0 victo_child/woocommerce/single-product.php Outdated Templates: ? ### Action Scheduler ### Complete: 42 Oldest: 2020-03-26 15:39:38 +0000 Newest: 2020-04-13 18:28:30 +0000 Pending: 2 Oldest: 2020-04-13 23:00:00 +0000 Newest: 2020-04-14 18:28:30 +0000
Hi @ikaroweb ,
This error is coming because your WordPress and WooCommerce are not latest. Please update your WordPress and WooCommerce both and then this error will go.
Technically, our plugin is now using latest WordPress function “wp_date()” which is present in latest WP version and since your WP is old, it is not able to find that function and shows this error.
Once you update both, this error will go.
Regards,
Nitesh
- The topic ‘Fatal error’ is closed to new replies.