ramzesimus
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Fatal Error on searchHey @beautyofcode,
Thanks for your reply!
You’re right, the fatal error appears on default search. Actually, you only need to add
your-site.com/?s=test
What I found out that the issue appears if both WooCommerce and LearnPress plugins are active. I’m sending you the system report
` WordPress Environment WordPress address (URL): https://search-test.local<br>Site address (URL): https://search-test.local<br>WC Version: 8.5.1<br>REST API Version: ? 8.5.1<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.1<br>Log Directory Writable: ?<br>WP Version: 6.4.2<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment Server Info: nginx/1.16.0<br>PHP Version: 8.1.23<br>PHP Post Max Size: 1,000 MB<br>PHP Time Limit: 1200<br>PHP Max Input Vars: 4000<br>cURL Version: 8.4.0<br>(SecureTransport) LibreSSL/3.3.6 SUHOSIN Installed: –<br>MySQL Version: 8.0.16<br>Max Upload Size: 300 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.5.1<br>WC Database Prefix: wp_<br>Total Database Size: 28.88MB<br>Database Data Size: 23.22MB<br>Database Index Size: 5.66MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wp_learnpress_files: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_learnpress_order_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_learnpress_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_learnpress_question_answermeta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_question_answers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_quiz_questions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_learnpress_section_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_sections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_user_item_results: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_learnpress_user_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_learnpress_user_items: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 2.48MB + Index: 0.06MB + Engine InnoDB<br>wp_postmeta: Data: 4.52MB + Index: 3.02MB + Engine InnoDB<br>wp_posts: Data: 14.52MB + Index: 0.28MB + Engine InnoDB<br>wp_term_relationships: Data: 0.19MB + Index: 0.09MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.08MB + Index: 0.11MB + Engine InnoDB<br>wp_termmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wp_terms: Data: 0.09MB + Index: 0.09MB + Engine InnoDB<br>wp_thim_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts attachment: 1<br>custom_css: 3<br>nav_menu_item: 101<br>page: 209<br>post: 593<br>product: 178<br>wp_block: 13<br>wp_global_styles: 2<br>wp_navigation: 3<br>wp_template: 6<br>wp_template_part: 2 Security Secure connection (HTTPS): ?<br>Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.<br>Hide errors from visitors: ? Active Plugins (3) LearnPress: by ThimPress – 4.2.5.9<br>WooCommerce: by Automattic – 8.5.1<br>WordPress Importer: by wordpressdotorg – 0.8.2 Inactive Plugins (0) Settings 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) 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) Connected to Woo.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – WC Pages Shop base: #6 - /shop/<br>Cart: #7 - /cart/<br>Checkout: #8 - /checkout/<br>My account: #9 - /my-account/<br>Terms and conditions: ? Page not set Theme Name: Twenty Twenty-Four<br>Version: 1.0<br>Author URL: https://www.ads-software.com<br>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<br>WooCommerce Support: ? Not declared Templates Overrides: – Admin 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>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 Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-linked<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-01-20 16:14:43 +00:00<br>Options: ?<br>Notes: 63<br>Onboarding: completed Action Scheduler Complete: 3<br>Oldest: 2024-01-19 16:15:47 +0000<br>Newest: 2024-01-19 16:15:47 +0000 Failed: 1<br>Oldest: 2024-01-19 16:16:10 +0000<br>Newest: 2024-01-19 16:16:10 +0000 Pending: 1<br>Oldest: 2024-01-20 16:15:47 +0000<br>Newest: 2024-01-20 16:15:47 +0000 Status report information Generated at: 2024-01-19 16:19:07 +00:00<br>`
Best Regards!
RamzesimusHi @savvasha ,
Thanks for your suggestion! Unfortunately, it won’t work in our case since it should be an adjustable variable on the league table level, not a player.
In general, it should be something similar to the Adjustable tab functionality, but with a column.
Best Regards!
RamzesimusHi @savvasha ,
Thanks! It fixes the issue.
Btw do you know when the next plugin will be released? It would be great to have a fixed plugin version rather than apply the fix for each installation. Thanks anyway!
Best Regards!
RamzesimusForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Gutenberg for Player postsHi @savvasha ,
Thanks for your prompt reply!
Hope to see it in future updates. Keep up the good work!
Best Regards!
RamzesimusForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Is plugin closed?@rochesterj Yeeeeaaah! I knew it! ?? Thanks for the update!
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Is plugin closed?Many thanks! ??
Best Regards!
RamzesimusAh, I see. Thanks for your answer. Just a last one, the Home team is always the first one in the event if Reverse Order is not selected, right?
Best Regards!
RamzesimusI’m sorry that I wasn’t clear.
1. Yes, the title is correct (Eagles vs Kangaroos).
2. No, the Home team should be Kangaroos based on the selected Venue (see screenshots https://take.ms/WOASo and https://take.ms/UUHsL )I tried to create different events, but the result is the same. The home team is always the first one no matter what Venue is selected.
Best Regards!
RamzesimusActually, I don’t need the reverse order option at all. It was your suggestion in the first reply to check if it works ??
However, only for some events teams appeared in an incorrect column (Home or Away). You’re right, that the first team in the event is always displayed as a Home team under the Home column in the list, but the problem is that manually selecting the venue doesn’t take any effect.
See the next screenshots
https://take.ms/Rj3rB
https://take.ms/j2ll0Best Regards!
RamzesimusHi @savvasha
Sorry for the late reply.
Unfortunately, this doesn’t fix the issue. It swaps the team’s position for all events. As a result, team positions in other events became incorrect. See next screenshot
Before Fix + Reverse order On
https://take.ms/SZ4f0After Fix + Reverse order On
https://take.ms/72pFxI hope we can find another solution.
Best Regards!
RamzesimusHi @savvasha ,
Thanks for your fast reply!
Unfortunately, the Reverse Order option doesn’t fix the issue. Please check the following short screencast https://take.ms/fpKTU
Best Regards!
RamzesimusHi @sportspressser,
You could try something like this.
$results = get_post_meta( $event->ID, 'sp_results', true ); $teams = array_unique( get_post_meta( $event->ID, 'sp_team' ) ); if (count($teams) > 1) { $team1 = $teams[0]; if (!empty($results)) { if (!empty($results[$team1])) { if (isset($results[$team1]['outcome']) && !empty($results[$team1]['outcome'][0])) { if ( $results[$team1]['outcome'][0] == 'win' ) { echo '1st team won'; } } } } }
Best Regards!
RamzesimusThanks @savvasha @rochesterj It works now! ??
Best Regards!
RamzesimusHi @savvasha ,
Thanks for the info! jQuery Migrate Helper plugins helps if switched to the legacy mode. Waiting for the plugin update impatiently ??
Best Regards!
Ramzesimus