<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Uncaught Error: Call to a member function format() on null

[ad_1]

Replies: 2

Hello Support Team,

I’m experiencing issues with email functionality on our e-commerce website (https://seadamp.it). Below is the error message:

Un errore di E_ERROR è stato causato nella linea 34 del file /var/www/vhosts/seadamp.it/httpdocs/wp-content/plugins/woocommerce/templates/emails/email-order-details.php. Messaggio di errore: Uncaught Error: Call to a member function format() on null in /var/www/vhosts/seadamp.it/httpdocs/wp-content/plugins/woocommerce/templates/emails/email-order-details.php:34

Additionally, I’ve included the full System Status Report for your reference. Please advise on how to resolve this issue.

### WordPress Environment ###

WordPress address (URL): [Redacted]Site address (URL): [Redacted]WC Version: 9.3.3
Legacy REST API Package Version: Il plugin API REST legacy non è installato in questo sito.
Action Scheduler Version: ✔ 3.8.2
Log Directory Writable: ✔
WP Version: 6.6.2
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔
Language: it_IT
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 8.1.30
PHP Post Max Size: 256 MB
PHP Time Limit: 300
PHP Max Input Vars: 4000
cURL Version: 7.29.0
NSS/3.90

SUHOSIN Installed: –
MySQL Version: 10.3.39-MariaDB
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

[REDACTED]
### Post Type Counts ###

attachment: 130
custom_css: 2
customize_changeset: 16
elementor_library: 16
nav_menu_item: 17
page: 21
post: 4
product: 20
product_variation: 29
revision: 1274
seedprod: 2
shop_coupon: 24
shop_order_placehold: 3
wp_font_face: 33
wp_font_family: 12
wp_global_styles: 3
wp_navigation: 1
wp_template: 1
wp_template_part: 2

### Security ###

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

### Active Plugins (22) ###

Order Tracking for WooCommerce: di Addify – 1.1.1
Astra Pro: di Brainstorm Force – 4.8.3
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: di SeedProd – 6.18.11
Dynamic Visibility for Elementor: di Dynamic.ooo – 5.0.13
Elementor Pro: di Elementor.com – 3.24.4
Elementor: di Elementor.com – 3.24.7
Site Kit by Google: di Google – 1.139.0
Gravity Forms: di Gravity Forms – 2.8.18
Add-On ActiveCampaign di Gravity Forms: di Gravity Forms – 2.1.0
iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more: di iubenda – 3.11.1
Microsoft Clarity: di Microsoft – 0.10.2
Rank Math SEO: di Rank Math – 1.0.231
WooCommerce.com Update Manager: di Automattic – 1.0.3
WooCommerce Stripe Gateway: di Stripe – 8.8.2
WooCommerce Italian Add-on Plus: di laboratorio d'Avanguardia – 0.8.8.5
WooCommerce PayPal Payments: di WooCommerce – 2.9.3
PDF Invoices & Packing Slips for WooCommerce: di WP Overnight – 3.9.0
WooCommerce: di Automattic – 9.3.3
WP Mail SMTP Pro: di WP Mail SMTP – 4.2.0
Widgets for Google Reviews: di Trustindex.io – 12.4.1
Social Chat PRO: di QuadLayers – 7.3.6
Social Chat: di QuadLayers – 7.4.7

### Inactive Plugins (0) ###


### Dropin Plugins () ###

maintenance.php: maintenance.php

### Settings ###

Legacy API Enabled: –
Force SSL: –
Currency: EUR (€)
Currency Position: right_space
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: ✔
Enforce Approved Product Download Directories: ✔
HPOS feature enabled: ✔
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: –

### Logging ###

Enabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 giorni
Level threshold: –
Log directory size: 246 KB

### WC Pages ###

Shop base: #23 - /shop/
Carrello: ❌ La pagina non contiene lo shortcode [woocommerce_cart] o il blocco woocommerce/cart.
Pagamento: ❌ La pagina non contiene lo shortcode [woocommerce_checkout] o il blocco woocommerce/checkout.
Il mio account: ❌ La pagina non contiene lo shortcode [woocommerce_my_account].
Termini e condizioni: ❌ La pagina non è impostata

### Theme ###

Name: Astra Child
Version: 1.0.0
Author URL: http://wpastra.com/about/
Child Theme: ✔
Parent Theme Name: Astra
Parent Theme Version: 4.8.3
Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
WooCommerce Support: ✔

### Templates ###

Overrides: –

### WooCommerce PayPal Payments ###

Onboarded: ✔
Shop country code: IT
WooCommerce currency supported: ✔
Advanced Card Processing available in country: ✔
Pay Later messaging available in country: ✔
Webhook status: –
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: –
Subscriptions Mode: Disabled
PayPal Shipping Callback: –
Apple Pay: –
Google Pay: –
Fastlane: –

### Admin ###

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store

Disabled Features: experimental-blocks
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings

Daily Cron: ✔ Next scheduled: 2024-11-11 09:56:45 +02:00
Options: ✔
Notes: 65
Onboarding: completed

### Action Scheduler ###

Complete: 444
Oldest: 2024-10-11 10:18:02 +0000
Newest: 2024-11-11 09:35:24 +0000

Failed: 19
Oldest: 2024-10-04 10:22:22 +0000
Newest: 2024-11-11 09:26:44 +0000

Pending: 8
Oldest: 2024-11-11 09:51:27 +0000
Newest: 2024-11-19 22:25:40 +0000


### Status report information ###

Generated at: 2024-11-11 11:38:13 +02:00

Thank you for your assistance.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer