Hi,
every now & then this pops up:
PHP Warning: Attempt to read property “post_type” on string in /srv/wp-content/plugins/woo-custom-and-sequential-order-number/includes/classes/class-wcson-order-number.php on line 68
Unfortunately I only see it later in the logs, without knowing how to reproduce it. Fortunately, ultimately no negative effects as far as I can tell.
From a first look, it seems something calls wcson_order_number
with its second $post
parameter as the default empty string, and that’s then attempted to be compared to 'shop_order' === $post->post_type
in that line.
Version info:
WCaSON: 2.6.0
WC 6.3.1
WP 5.9.3
PHP 8.0.17`
is the plugin support Dokan? because I want to add order number with vendor store name. Example Order number is “1455” and Store name is “Toko Sepatu”. and then order number become to “1455-Toko Sepatu”.
]]>Hi there, we have a strange problem that if customers purchase at the same time, they get identical Order Numbers. Is there a way to prevent this or to fix it?
It is usually the case with 2 orders having the same number. this happened 2 times in the last month.
Hi. We use shipworks as our shipping software and a connector plugin by advanced creations. We have not found a custom order number plugin that changes the order number at the database level. Right now the shipworks connector grabs the native order number from the database but do not use the modified order number from any plugins. Does anyone have a work around?
]]>Hi,
I just upgraded to the new version on my test site (WP 5.6.1). My order number format is “2019/20_{number_start_from:1000}”. My order numbers go:
2019/20_1148
2019/20_1149
2019/20_1150
Upgrade
2019/20_1024
2019/20_1028
So a. not continuing from where they were and b. not sequential.
Can you help please?
Thanks,
James
]]>Hi,
Is it possible to only use odd order numbers, like: 1-3-5-7 etc.?
Thanks!
]]>This plug-in came recommended by wp-staging: https://wp-staging.com/docs/skip-woocommerce-orders-and-products/ I have this installed on both my production and staging site. I setup the plugin on my production site to start at order#11001 {number_start_from:11001}
When I export the orders using another recommended plugin by wp-staging called
Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC), before importing I’ll check out the export file with excel.
It shows the order ID as 4404 (which is the post ID) and the order Number as 11001. When I import this file back to staging my Order# flips back to the order ID and not the Order Number like I had hoped for.
Hi,
I get this error:
[15-Apr-2020 16:10:59 UTC] WordPress database error Got error ’empty (sub)expression’ from regexp for query SELECT MAX(CAST(SUBSTRING(meta_value
,1,4) AS UNSIGNED)) as new_number
FROM wp_postmeta WHERE meta_key
= ‘_wcson_order_number’ AND meta_value
REGEXP SUBSTRING(‘5444’,1,0) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->create_order, do_action(‘woocommerce_checkout_update_order_meta’), WP_Hook->do_action, WP_Hook->apply_filters, WCSON_ORDER_NUMBER::wcson_order_number, WCSON_ORDER_NUMBER::wcson_generate_new_order_number
This error is generated each time someone makes a purchase on my site.
It is caused by your plugin.
What could be the solution?
We keep running into duplicate order numbers and VJinfotech have not replied any of my messages here – og on their support site.
]]>This happens once in a while: The order number generated from the plugin are dublicated. It′s the free plugin.
What could be the cause – and how do we fix it?
See attached.
https://dl.dropboxusercontent.com/u/84173534/woo-ordernumbers.png
————
### WordPress Environment ###
Home URL: https://therabands.se
Site URL: https://therabands.se
WC Version: 3.0.5
Log Directory Writable: ?
WP Version: 4.7.5
WP Multisite: –
WP Memory Limit: ? 40 MB - Vi rekommenderar att du anv?nder minst 64MB i minne. L?s: ?ka minnet som allokeras till PHP
WP Debug Mode: –
WP Cron: ?
Language: sv_SE
### Server Environment ###
Server Info: Apache
PHP Version: 7.0.18-0ubuntu0.16.04.1
PHP Post Max Size: 100 MB
PHP Time Limit: 0
PHP Max Input Vars: 1000
cURL Version: 7.47.0
OpenSSL/1.0.2g
SUHOSIN Installed: –
MySQL Version: 5.7.18
Max Upload Size: 50 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
WC Database Version: 3.0.5
WC Database Prefix: wp_
woocommerce_sessions: ?
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?
woocommerce_shipping_zones: ?
woocommerce_shipping_zone_locations: ?
woocommerce_shipping_zone_methods: ?
woocommerce_payment_tokens: ?
woocommerce_payment_tokenmeta: ?
MaxMind GeoIP Database: ?
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (23) ###
Autoptimize: av Frank Goossens (futtta) – 2.1.2
GetSiteControl Widgets: av getsitecontrol – 2.0.4
Kraken Image Optimizer: av Karim Salman – 2.6.2
MailChimp for WooCommerce: av MailChimp – 2.0.0
PixelYourSite PRO: av PixelYourSite – 6.1.3
Regenerate Thumbnails: av Alex Mills (Viper007Bond) – 2.2.6
Storefront Powerpack: av WooThemes – 1.3.1 – 1.4.1 finns tillg?nglig
WooCommerce Dynamic Pricing & Discounts: av RightPress – 1.1.2
Woo Custom and Sequential Order Number Lite: av VJInfotech – 1.1
WooCommerce Advanced Free Shipping: av Jeroen Sormani – 1.1.1
Advanced Messages for WooCommerce: av Jeroen Sormani – 1.1.1
WooCommerce e-conomic Integration: av wooconomics – 1.9.25
WooCommerce EU VAT Number: av WooCommerce – 2.2.0 – 2.3.0 finns tillg?nglig
WooCommerce Klarna Gateway: av WooCommerce – 2.3.6 – 2.3.11 finns tillg?nglig
WooCommerce Stripe Gateway: av WooCommerce – 3.1.8
WooCommerce AdWords Conversion Tracking: av Wolf+B?r GmbH – 1.3.5
WooCommerce Google Analytics Pro: av SkyVerge – 1.3.3 – 1.3.4 finns tillg?nglig
WooCommerce AdWords Dynamic Remarketing: av Wolf + B?r GmbH – 1.3.3
WooCommerce: av Automattic – 3.0.5 – 3.0.9 finns tillg?nglig
Yoast SEO Premium: av Team Yoast – 4.7.1
WooCommerce Product Feed Manager: av Michel Jongbloed – 1.7.4
Yoast SEO: Local: av Team Yoast and Arjan Snaterse – 4.7.1
Yoast SEO: WooCommerce: av Team Yoast – 4.7
### Settings ###
API Enabled: ?
Force SSL: ?
Currency: SEK (SEK)
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)
### WC Pages ###
Butikbas: #4 - /shop/
Varukorg: #5 - /cart/
Kassan: #6 - /cart/checkout/
Mitt konto: #7 - /my-account/
### Theme ###
Name: therabands theme
Version: 1.0
Author URL:
Child Theme: ?
Parent Theme Name: Storefront
Parent Theme Version: 2.1.8 – 2.2.3 finns tillg?nglig
Parent Theme Author URL: https://woocommerce.com/
WooCommerce Support: ?
### Templates ###
Overrides: theraband-shop/woocommerce/cart/proceed-to-checkout-button.php
theraband-shop/woocommerce/loop/sale-flash.php
theraband-shop/woocommerce/single-product/product-image.php
theraband-shop/woocommerce/single-product/sale-flash.php
### Klarna ###
Test mode: Enabled Your Klarna Checkout account must be in test mode for all configured countries in order for it to work
please get in touch with Klarna to check your account status
Sweden: ?
Villkorssida: ?
]]>
This plugin looks fantastic. I just tried out the Lite demo. However, can you tell me which number formats are available in the free version and which ones are available in the pro version? The free version lists and saves all formats, but only appears to obey the default date-orderID format, not the startfrom-orderID format.
]]>Bonjour
Impossible de sauvegarder les changements dans le panneau admin “Order Number”
Bouton sauvegarder semble cassé, impossible de cliquer dessus ??
Merci de m’aider