PHP Warnings
-
I’ve updated the plugin to version 7.0.1. Now it throws warnings everywhere.
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-content/plugins/woocommerce/includes/wc-page-functions.php on line 139 Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-content/plugins/woocommerce/includes/wc-page-functions.php on line 139 Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-content/plugins/woocommerce/includes/wc-page-functions.php on line 139 Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-content/plugins/woocommerce/includes/wc-page-functions.php on line 139
-
Hello,
For better assistance, please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?Then please include the report in your response.
### WordPress Environment ###
WordPress address (URL): https://wordpress-319567-2021527.cloudwaysapps.com
Site address (URL): https://wordpress-319567-2021527.cloudwaysapps.com
WC Version: 7.0.1
REST API Version: ? 7.0.1
WC Blocks Version: ? 8.5.2
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: 6.1
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: ?
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache/2.4.51 (Debian)
PHP Version: 8.1.12
PHP Post Max Size: 499 MB
PHP Time Limit: 600
PHP Max Input Vars: 2500
cURL Version: 7.64.0
OpenSSL/1.1.1nSUHOSIN Installed: –
MySQL Version: 10.4.20-MariaDB-1:10.4.20+maria~buster-log
Max Upload Size: 499 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 6.2.2
WC Database Prefix: wp_
Total Database Size: 39.20MB
Database Data Size: 25.80MB
Database Index Size: 13.40MB
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.28MB + Index: 0.13MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 3.52MB + Index: 3.02MB + 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: 0.13MB + Index: 0.13MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.17MB + Index: 0.16MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 1.52MB + Index: 0.88MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 4.11MB + Index: 0.08MB + Engine InnoDB
wp_postmeta: Data: 6.52MB + Index: 7.00MB + Engine InnoDB
wp_posts: Data: 2.14MB + Index: 0.39MB + Engine InnoDB
wp_snippets: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + 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.23MB + Index: 0.30MB + Engine InnoDB
wp_wc_order_stats: Data: 0.19MB + Index: 0.23MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfpklist_template_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpml_mails: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
wp_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wt_abandonment_coupon: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
wp_wt_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_feedback_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_feedback_whitelistip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_action_history: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB### Post Type Counts ###
attachment: 3
bookable_resource: 1
elementor_library: 1
help-section: 5
hf_shop_subscription: 16
nav_menu_item: 4
page: 8
post: 2
product: 19
product_variation: 2
revision: 2
shop_coupon: 21
shop_order: 1496
shop_order_refund: 68
shop_subscription: 31
wc_booking: 6
wp_global_styles: 1
wt_shop_coupon: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?Error messages should not be shown to visitors.### Active Plugins (1) ###
WooCommerce: by Automattic – 7.0.1
### Inactive Plugins (50) ###
Audiomack: by Audiomack.com – 1.4.8
Audiomack: by Audiomack.com – 1.4.8
Audiomack: by Audiomack.com – 1.4.8
Audiomack: by Audiomack.com – 1.4.8
Code Snippets: by Code Snippets Pro – 2.14.3
Continuous rss scrolling: by Gopi Ramasamy – 11.2
ConvertKit: by ConvertKit – 1.9.7.6
Database Browser: by Chris Taylor – 1.4.4
Download Monitor: by WPChill – 4.4.6
Elementor: by Elementor.com – 3.6.3
Frequently Bought Together for WooCommerce: by WebToffee – 1.0.0
Health Check & Troubleshooting: by The www.remarpro.com community – 1.4.5
Help Guide: by WebToffee – 1.0.0
Import Export Suite for WooCommerce: by WebToffee – 1.0.0
Klarna Checkout for WooCommerce: by Krokedil – 2.7.3
Order / Coupon / Subscription Export Import Plugin for WooCommerce: by WebToffee – 2.4.8
Order Import Export for WooCommerce Add-on: by Webtoffee – 1.0.6
Payment Plugins for Stripe WooCommerce: by Payment Plugins
support@paymentplugins.com – 3.3.24PayPal Express Checkout Payment Gateway for WooCommerce: by WebToffee – 1.3.9
PayPal for WooCommerce: by Angell EYE – 2.5.7
PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1
Product Import Export for WooCommerce: by WebToffee – 2.2.2
Product Import Export for WooCommerce Add-on: by WebToffee – 1.1.1
Query Monitor: by John Blackbourn – 3.8.2
Related Products for WooCommerce: by WebToffee – 1.4.1
Sequential Order Numbers for WooCommerce: by WebToffee – 1.4.6
Sequential Order Numbers for WooCommerce Pro: by WebToffee – 1.0.0
Smart Coupons for WooCommerce Pro: by WebToffee – 2.0.5
Stripe Payment Gateway for WooCommerce (Premium): by WebToffee – 3.4.6
Stripe Payment Plugin for WooCommerce: by WebToffee – 3.7.4
Subscriptions for WooCommerce: by WebToffee – 3.2.5
WooCommerce Bookings: by Automattic – 1.12.1
WooCommerce Multilingual: by OnTheGoSystems – 4.12.1
WooCommerce Payments: by Automattic – 4.4.1 (update to version 4.9.0 is available)
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
WooCommerce PayPal Payments: by WooCommerce – 1.6.5 (update to version 1.9.5 is available)
WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee – 2.8.7
WooCommerce Shipping Per Product v2: by WooCommerce – 2.3.10
WooCommerce Smart Coupons: by StoreApps – 4.31.0
WooCommerce Stripe Gateway: by WooCommerce – 6.6.0
WooCommerce Subscriptions: by WooCommerce – 3.0.9
Woo Discount Rules: by Flycart – 2.3.9
WP Express Checkout: by Tips and Tricks HQ – 2.1.4
WP File Manager: by mndpsingh287 – 7.1.2
WP Mail Logging: by Wysija – 1.10.4
WP phpMyAdmin: by Puvox.software – 5.2.0.3
WT Plugin Feedback: by Webtoffee – 1.0.1
YITH Custom Thank You Page for WooCommerce: by YITH – 1.7.0
YITH PayPal Express Checkout for WooCommerce: by YITH – 1.15.0
网易云音乐播放器: by 不问归期_ – 1.5.5### Must Use Plugins (1) ###
Health Check Troubleshooting Mode: by – 1.7.2
### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: booking (booking)
external (external)
grouped (grouped)
simple (simple)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription)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: –### WC Pages ###
Shop base: #6 – /index.php/shop/
Cart: #7 – /index.php/cart/
Checkout: #8 – /index.php/checkout/
My account: #9 – /index.php/my-account/
Terms and conditions: ? Page not set### Theme ###
Name: Storefront
Version: 3.9.1 (update to version 4.1.3 is available)
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: –
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
experimental-product-tour
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-pageDisabled Features: minified-js
new-product-management-experience
settingsDaily Cron: ? Next scheduled: 2022-11-08 04:28:42 +00:00
Options: ?
Notes: 107
Onboarding: skipped### Action Scheduler ###
Complete: 248
Oldest: 2022-10-08 09:02:35 +0000
Newest: 2022-11-08 02:23:41 +0000Failed: 3
Oldest: 2022-01-18 11:08:50 +0000
Newest: 2022-10-20 05:20:35 +0000Pending: 14
Oldest: 2022-11-08 10:43:53 +0000
Newest: 2030-09-30 08:01:52 +0000### Status report information ###
Generated at: 2022-11-08 02:23:55 +00:00
So many warnings
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Cookie/Jar.php on line 63 Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Cookie/Jar.php on line 73 Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Cookie/Jar.php on line 89 Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Cookie/Jar.php on line 102 Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Cookie/Jar.php on line 111 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/319567.cloudwaysapps.com/tcqgyqvmrx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Hi,
Thanks for sending the report.
Pending: 14
As a first step, please navigate to WooCommerce > status > scheduled actions > pending. Be sure to manually run the pending actions if applicable.
WC Database Version: 6.2.2
Please go to WooCommerce > status > tools > update database. Allow some time for this process to run properly.Does that make a difference? Let us know how that goes.
Did both actions and still no change!!!
Hello,
Sorry to hear that the warnings are still present.
May I ask if you update WooCommerce to its latest version from 7.0.1 to 7.1.0 under WP Admin > plugins > WooCommerce, and update the database as well, does the issue persist?
If that does not help, you can temporarily disable all plugins except WooCommerce, at this point does the issue persist?
Let us know what you find.
I’m using the latest WC version and only WooCommerce plugin is enabled on the site
Hi @sinduri
Thanks for your confirmation that even after disabling all plugins and updating the database, the error still persists.
Can you please provide the fatal error logs (if any) under
WooCommerce > Status > Logs
that would help us further troubleshoot?Thanks!
- The topic ‘PHP Warnings’ is closed to new replies.