gilles66
Forum Replies Created
-
Thanks I found the solution.
Hi,
I have the same problem on “php deprecated” in my logs, and the updated plugin beta version?stills generate this message “[22-May-2024 09:14:00 UTC] PHP Deprecated: Creation of dynamic property Mailtpl_Mailer::$opts is deprecated in /xxx/wp-content/plugins/email-templates/includes/class-mailtpl-mailer.php on line 49”.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] PHP Fatal errorHi Pepe.
I discovered in my theme the use of
woocommerce_available_payment_gateways
filter, with a return value empty (in some case), instead of an array of gateways.
This was the origin of the error.
Nevertheless I consider that your function should manage this case, avoiding a fatal error.
Thank you a lot.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] PHP Fatal errorI don’t think that there is custom code targeting gateways.
Here is the system status
` WordPress Environment</p> <p class=””>WordPress address (URL): https://www.lecercle.fr<br>Site address (URL): https://www.lecercle.fr<br>WC Version: 8.6.1<br>REST API Version: ? 8.6.1<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 1 Go<br>WP Debug Mode: ?<br>WP Cron: –<br>Language: fr_FR<br>External object cache: – Server Environment</p> <p class=””>Server Info: nginx/1.25.2<br>PHP Version: 8.1.23<br>PHP Post Max Size: 128 Mo<br>PHP Time Limit: 300<br>PHP Max Input Vars: 10000<br>cURL Version: 7.68.0<br>OpenSSL/1.1.1f</p> <p class=””>SUHOSIN Installed: –<br>MySQL Version: 10.11.5-MariaDB-1:10.11.5+maria~ubu2004<br>Max Upload Size: 128 Mo<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database</p> <p class=””>WC Database Version: 8.5.2<br>WC Database Prefix: ISxDzk0_<br>Taille totale de la base de données: 253.59MB<br>Taille de la base de données: 147.43MB<br>Taille de l’index: 106.16MB<br>ISxDzk0_woocommerce_sessions: Données : 1.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB<br>ISxDzk0_woocommerce_order_items: Données : 3.52MB + Index : 1.52MB + Moteur InnoDB<br>ISxDzk0_woocommerce_order_itemmeta: Données : 21.56MB + Index : 18.06MB + Moteur InnoDB<br>ISxDzk0_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB<br>ISxDzk0_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_woocommerce_payment_tokenmeta: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_actionscheduler_actions: Données : 1.14MB + Index : 0.70MB + Moteur InnoDB<br>ISxDzk0_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_actionscheduler_logs: Données : 2.52MB + Index : 1.19MB + Moteur InnoDB<br>ISxDzk0_aryo_activity_log: Données : 0.30MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_blc_filters: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_blc_instances: Données : 0.05MB + Index : 0.05MB + Moteur InnoDB<br>ISxDzk0_blc_links: Données : 0.23MB + Index : 0.11MB + Moteur InnoDB<br>ISxDzk0_blc_synch: Données : 0.08MB + Index : 0.05MB + Moteur InnoDB<br>ISxDzk0_cky_banners: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_cky_cookies: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_cky_cookie_categories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_comments: Données : 4.52MB + Index : 2.36MB + Moteur InnoDB<br>ISxDzk0_easywpsmtp_debug_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_easywpsmtp_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_imagify_files: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB<br>ISxDzk0_imagify_folders: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_options: Données : 4.33MB + Index : 0.20MB + Moteur InnoDB<br>ISxDzk0_pmxe_exports: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxe_google_cats: Données : 0.39MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxe_posts: Données : 0.17MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxe_templates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_files: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_hash: Données : 0.28MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_history: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_images: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_imports: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_posts: Données : 0.41MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_pmxi_templates: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_postmeta: Données : 71.61MB + Index : 58.05MB + Moteur InnoDB<br>ISxDzk0_posts: Données : 13.50MB + Index : 3.53MB + Moteur InnoDB<br>ISxDzk0_rank_math_404_logs: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_rank_math_analytics_objects: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_rank_math_internal_links: Données : 0.06MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_rank_math_internal_meta: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_rank_math_redirections: Données : 0.47MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_rank_math_redirections_cache: Données : 0.19MB + Index : 0.06MB + Moteur InnoDB<br>ISxDzk0_smush_dir_images: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_termmeta: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_term_relationships: Données : 0.09MB + Index : 0.06MB + Moteur InnoDB<br>ISxDzk0_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_trustindex_google_reviews: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_usermeta: Données : 10.52MB + Index : 10.94MB + Moteur InnoDB<br>ISxDzk0_users: Données : 1.52MB + Index : 0.83MB + Moteur InnoDB<br>ISxDzk0_wc_admin_notes: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_wc_admin_note_actions: Données : 0.09MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_wc_customer_lookup: Données : 0.44MB + Index : 0.38MB + Moteur InnoDB<br>ISxDzk0_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_wc_orders: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB<br>ISxDzk0_wc_orders_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_wc_order_addresses: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB<br>ISxDzk0_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_wc_order_operational_data: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB<br>ISxDzk0_wc_order_product_lookup: Données : 3.52MB + Index : 5.03MB + Moteur InnoDB<br>ISxDzk0_wc_order_stats: Données : 1.52MB + Index : 0.75MB + Moteur InnoDB<br>ISxDzk0_wc_order_tax_lookup: Données : 1.52MB + Index : 0.45MB + Moteur InnoDB<br>ISxDzk0_wc_product_attributes_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wc_product_meta_lookup: Données : 0.14MB + Index : 0.28MB + Moteur InnoDB<br>ISxDzk0_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>ISxDzk0_wpfm_backup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>ISxDzk0_wpr_rocket_cache: Données : 0.08MB + Index : 0.13MB + Moteur InnoDB<br>ISxDzk0_wpr_rucss_used_css: Données : 0.25MB + Index : 0.28MB + Moteur InnoDB Post Type Counts</p> <p class=””>acf-field: 463<br>acf-field-group: 51<br>acfe-dbt: 1<br>attachment: 1244<br>chef: 9<br>oembed_cache: 3<br>page: 143<br>plateau: 131<br>plateau_pour_cube: 99<br>post: 2<br>product: 415<br>revision: 1920<br>rm_content_editor: 1<br>shop_order: 8934<br>user_request: 6<br>wpcf7_contact_form: 1 Security</p> <p class=””>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (29)</p> <p class=””>Advanced Custom Fields: Extended: par ACF Extended – 0.8.9.5<br>ACF QuickEdit Fields: par J?rn Lund – 3.3.1<br>Admin Color Schemes: par WordPress Core Team – 3.0.0<br>Advanced Custom Fields PRO: par WP Engine – 6.2.7<br>Activity Log: par L’équipe d’Activity Log – 2.9.1<br>WordPress Backup & Security Plugin – BlogVault: par Backup by BlogVault – 5.47<br>Broken Link Checker: par WPMU DEV – 2.2.4<br>CF7 – Custom Error Messages: par David Pokorny – 1.4<br>Classic Editor: par Contributeurs et contributrices WordPress – 1.6.3<br>Contact Form 7: par Takayuki Miyoshi – 5.8.7<br>CookieYes | GDPR Cookie Consent: par CookieYes – 3.2.0<br>GTM4WP – A Google Tag Manager (GTM) plugin for WordPress: par Thomas Geiger – 1.20<br>DynaMo: par WP SYNTEX – 1.2<br>Easy WP SMTP: par Easy WP SMTP – 2.2.0<br>Modèles d’e-mail: par wpexpertsio – 1.4.3<br>GDPR Data Request Form: par audrasjb – 1.7<br>Imagify: par Imagify – Optimiser d’images & conversion WebP – 2.1.3.1<br>Loco Translate: par Tim Whitlock – 2.6.6<br>Maintenance: par WebFactory Ltd – 4.08<br>Regenerate Thumbnails: par Alex Mills (Viper007Bond) – 3.1.6<br>Safe SVG: par 10up – 2.2.2<br>Rank Math SEO: par Rank Math – 1.0.213<br>User Switching: par John Blackbourn & les contributeurs – 1.7.3<br>Which Template File: par Gilles Dumas – 5.0.0<br>WooCommerce Stripe Gateway: par WooCommerce – 8.0.0<br>WooCommerce: par Automattic – 8.6.1<br>Widgets pour les avis Google: par Trustindex.io – 11.6<br>WP Rocket: par WP Media – 3.15.6<br>WPS Hide Login: par WPServeur<br>NicolasKulka<br>wpformation – 1.9.13.2 Inactive Plugins (4)</p> <p class=””>Advance Ecommerce Tracking: par theDotstore – 3.7.2<br>Auto Hide Admin Bar: par Marcel Bootsman – 1.6.3<br>Facebook for WooCommerce: par Facebook – 3.1.10<br>Get Options: par Gilles Dumas – 2.6.0 Dropin Plugins (2)</p> <p class=””>advanced-cache.php: advanced-cache.php<br>maintenance.php: maintenance.php Must Use Plugins (1)</p> <p class=””>Kinsta Must-use Plugins: par Kinsta Team – 3.0.1 Settings</p> <p class=””>API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: right_space<br>Thousand Separator:<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)</p> <p class=””>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p class=””>Connected to Woo.com: –<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages</p> <p class=””>Base de la boutique: #1623 – /produits-traiteur/<br>Panier: #238 – /panier/<br>Commander: #239 – /commande/<br>Mon compte: #240 – /mon-compte/<br>Conditions générales de vente et d’utilisation: #159 – /cgv/ Theme</p> <p class=””>Name: Le cercle<br>Version: 20240129<br>Author URL: https://gillesdumas.com<br>Child Theme: ? – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement<br>nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant</p> <p class=””>WooCommerce Support: ? Templates</p> <p class=””>Overrides: lecercle/woocommerce/archive-product.php<br>lecercle/woocommerce/cart/cart-empty.php<br>lecercle/woocommerce/cart/cart-shipping.php version 7.3.0 est obsolète. La version du noyau est 8.6.0<br>lecercle/woocommerce/checkout/payment.php<br>lecercle/woocommerce/checkout/review-order.php<br>lecercle/woocommerce/emails/customer-on-hold-order.php<br>lecercle/woocommerce/emails/customer-processing-order.php<br>lecercle/woocommerce/myaccount/form-login.php<br>lecercle/woocommerce/myaccount/navigation.php<br>lecercle/woocommerce/myaccount/orders.php<br>lecercle/woocommerce/single-product/add-to-cart/simple.php<br>lecercle/woocommerce/single-product/meta.php<br>lecercle/woocommerce/single-product/product-image.php<br>lecercle/woocommerce/single-product/related.php</p> <p class=””>Outdated Templates: ?</p> <pre class=”wp-block-code”><code> Apprenez comment mettre à jour</code></pre> <p class=””>Admin</p> <p class=””>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page</p> <p class=””>Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field</p> <p class=””>Daily Cron: ? Next scheduled: 2024-03-01 19:21:51 +02:00<br>Options: ?<br>Notes: 199<br>Onboarding: completed Action Scheduler</p> <p class=””>Complete: 1 421<br>Oldest: 2024-01-30 13:56:25 +0000<br>Newest: 2024-03-01 13:50:56 +0000</p> <p class=””>Failed: 395<br>Oldest: 2021-08-07 19:32:48 +0000<br>Newest: 2023-11-23 06:02:02 +0000</p> <p class=””>Pending: 3<br>Oldest: 2024-03-01 13:51:56 +0000<br>Newest: 2024-03-02 12:02:20 +0000 Status report information</p> <p class=””>Generated at: 2024-03-01 15:51:54 +02:00<br>`
- This reply was modified 8 months, 3 weeks ago by gilles66.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] PHP Fatal errorIn the file /wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php
I replaced
public function reorder_available_payment_gateways( $gateways ) {
by
public function reorder_available_payment_gateways( $gateways ) {
return $gateways;Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] PHP Fatal errorNo, Stripe’s fields don’t appear in unexpected places in my front office, still the first gateway proposed to the clients.
I solved this issue by adding the code
return $gateways;
on the top of the function.
So now for me, Stripe doesn’t reorder the list of available payment gateways but it is not important for me at this time. The most important is that my client can access to the back-office and manage the orders. (they have many orders every day)
Keep in mind my ticket because in my opinion this is a bug from your plugin, that you should solve for the next release.
Thank you for your rapid answer, have a good day.
Thank you for this answer.
So I created a javascript fix :
$( ‘body’ ).on( ‘checkout_error’, function () {
if ( $( “ul.woocommerce-error:contains(Vous devez choisir une heure de livraison)” ).length ) {
$( ‘p.form-row#heure_de_livraison_field’ ).addClass( ‘woocommerce-invalid’ );
}
else {
$( ‘p.form-row#heure_de_livraison_field’ ).removeClass( ‘woocommerce-invalid’ );
}
});Hope this can help someone else.
We are developing a auction website, the customer receives the email at registration, but not all users will follow the verification process.
We want to define a rule that the user must be verified for bidding. So if the user see the product page and wand to make a bid and he’s not verified, we want to give him a way to do it.
We need this functionality, what option can you offer ?
Forum: Plugins
In reply to: [Enhanced Ecommerce Google Analytics for WooCommerce] too much logsPlease don’t resolve until you release a new version correcting the issue.
Forum: Plugins
In reply to: [MDTF - Meta Data and Taxonomies Filter] PHP8.1 FATAL ERRORVersion 2.2.4
Strange, as your last one is 1.3.0.1.
I don’t know what to say.
Forum: Plugins
In reply to: [The Events Calendar] event start date format – missing year in current yearHi.
Changing this behaviour seems impossible since it is hard coded in the plugin.
In the file wp-content\plugins\the-events-calendar\common\src\functions\template-tags\date.php there is the function tribe_format_date() in which I can read :
—————————–
// only show the year in the date if it’s not in the current year
$with_year = $date_year == $cur_year ? false : true;if ( $display_time ) {
$format = tribe_get_datetime_format( $with_year );
} else {
$format = tribe_get_date_format( $with_year );
}
—————————–A filter at this point would be welcome.
Something like this :$with_year = apply_filters( ‘tribe_remove_year_for_current_year’, $with_year );
Thanks
GillesForum: Plugins
In reply to: [Contact Form 7] Validate emailHi.
I lost two hours today on this page
https://contactform7.com/2015/03/28/custom-validation/
because of an error.Replace the priority from “20” to “5” and it will work.
This page is not up to date !!!
Forum: Plugins
In reply to: [Plugin Name: Admin filter posts by year] question pluginThe plugin doesn’t group posts, but but just filter them, after a year selection has been made from the dropdown menu.
Forum: Plugins
In reply to: [Plugin Name: Admin filter posts by year] question pluginNo.
This is not the purpose of this plugin.
But I am sure that I’d be possible to create it.
Feel free ! ??Forum: Plugins
In reply to: [WP Excel CMS] plugin brokenHum.
It didn’t work because I tried to upload an .ods file and not xls file