amorgaut
Forum Replies Created
-
Update
After some time when the user came back to website its first cart has been set automatically to “abandonned” and the second one has its “last seen” value been updated
I’m not sure if its a 100% woocommerce behavior or a “live cart” plugin one
Some potential information such dashboard widget could show:
- Main Information
- number of active carts
- Financial
- number of applied coupon
- average and total value of active carts
- with VAT details like in the woocommerce repports
- Inventory
- number of products in active carts
- Shipping
- number of carts requiring shipments (useful to prepare time for that)
- total amount of shipping fees
Forum: Plugins
In reply to: [La Sentinelle antispam] PHP mktime error shown on the pageTested with both PHP 7.4 & PHP 8.1
It looks to work!
Thank you so much!
Forum: Plugins
In reply to: [La Sentinelle antispam] PHP mktime error shown on the pageI’ve tried PHP 8.1 and it’s worse
Fatal error: Uncaught TypeError: mktime(): Argument #6 ($year) must be of type ?int, string given in /.../wp-includes/class-wp-date-query.php:316 Stack trace: #0 /.../wp-includes/class-wp-date-query.php(316): mktime(0, 0, 0, 12, 31, '%2021') #1 /.../wp-includes/class-wp-date-query.php(294): WP_Date_Query->validate_date_values(Array) #2 /.../wp-includes/class-wp-date-query.php(219): WP_Date_Query->validate_date_values(Array) #3 /.../wp-includes/class-wp-date-query.php(228): WP_Date_Query->sanitize_query(Array, Array) #4 /.../wp-includes/class-wp-date-query.php(173): WP_Date_Query->sanitize_query(Array) #5 /.../wp-includes/class-wp-comment-query.php(914): WP_Date_Query->__construct(Array, 'comment_date') #6 /.../wp-includes/class-wp-comment-query.php(458): WP_Comment_Query->get_comment_ids() #7 /.../wp-includes/class-wp-comment-query.php(367): WP_Comment_Query->get_comments() #8 /.../wp-includes/comment.php(244): WP_Comment_Query->query(Array) #9 /.../wp-content/plugins/la-sentinelle-antispam/functions/lasent-remove-spam.php(42): get_comments(Array) #10 /.../wp-includes/class-wp-hook.php(307): la_sentinelle_remove_comments('') #11 /.../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #12 /.../wp-includes/plugin.php(474): WP_Hook->do_action(Array) #13 /.../wp-includes/load.php(1100): do_action('shutdown') #14 [internal function]: shutdown_action_hook() #15 {main} thrown in /.../wp-includes/class-wp-date-query.php on line 316
Moreover
– the errors are still only shown when “la sentinelle” is activated
– La sentinelle is clearly visible in the stack trace this time#9 /.../wp-content/plugins/la-sentinelle-antispam/functions/lasent-remove-spam.php(42): get_comments(Array)
Forum: Plugins
In reply to: [La Sentinelle antispam] PHP mktime error shown on the pageThanks for you feedback about PHP 8.0
Unfortunately PHP 8 is in beta support by wordpress
https://make.www.ads-software.com/core/handbook/references/php-compatibility-and-wordpress-versions/
But well, last remaining issues looks to be deprecation notice messagesWoocommerce seems to be compatible
https://github.com/woocommerce/woocommerce/issues/27674But not sure for the other plugins…
I’m not very confortable to update it right now
I’ll have to check them first- This reply was modified 3 years, 1 month ago by amorgaut.
Forum: Plugins
In reply to: [La Sentinelle antispam] PHP mktime error shown on the pageLooks like those websites are having the same issue than me:
– https://altoconseil.com/lectures/
– https://biosrenovable.com/author/bios/
– https://micronutrition-prevention.fr/And I’m sure there is plenty more
I can not show it on mine right now as I had to disable to stop breaking the SEO
Forum: Plugins
In reply to: [La Sentinelle antispam] PHP mktime error shown on the pageThis breaks also the generated sitemaps ??
Forum: Plugins
In reply to: [Booking Addon for WooCommerce] How to add bookings manually?A little hack I did for my own use case
I created a “slot blocker” product that is:
– price 0 €
– bookable (of course)
– hidden from catalog
– protected by password (in visibility)
– and non referencableI tried to use it to block some slot using the same calendar item as my other products
It’s very limited and in fact doesn’t works that well:– ok for my use case
– if I modify the client in the order from the backoffice it doesn’t modify the person who did the booking
– I can not modify the booked product in the booking
– I can not add any note to the booking– NOT OK
– the slot is not blocked at all!!!!
– same issue when booking from any product, many people can book the same slot while I configured the item to allow only 1 booking by time slot…- This reply was modified 4 years, 3 months ago by amorgaut.
- Main Information