anahitipoint
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] SItemap XML is not being updated and contains deleted pagesThank you, noted.
Forum: Plugins
In reply to: [Yoast SEO] SItemap XML is not being updated and contains deleted pagesDear Maybellyne
Here are the links please:
- https://paperlesseurope.com/home-page-2/
- https://paperlesseurope.com/ar/book-demo-paperless-document-management-for-sage/
- https://paperlesseurope.com/nb/paperless-software-document-management-for-sage-50-and-200/
- https://paperlesseurope.com/nb/paperless-europe/
- https://paperlesseurope.com/se/home-page/
Thank you
Hi Mirko,
I fixed the issue by adding below code in my functions.php file
if(!is_admin()){ add_action('pre_get_posts', 'set_per_page'); } function set_per_page($query) { global $wp_the_query; if($query->is_post_type_archive('product')&&($query === $wp_the_query)){ $query->set('posts_per_page', 1); } return $query; }
Thank you everyone for the support.
Dear Mirko,
Issue is not about the search feature but actually pagination related thing which is very strange.
I am the developer so there is something odd happening.
No ideas how this can be fixed?
I don’t have anything special in my query. Here it is:
$args = array( 'posts_per_page' => 6, 'post_type' => 'product', 'post_status' => 'publish', 'orderby' => 'ID', 'order' => 'DESC', 'title_filter' => $searching, 'paged' => $paged ); $loop = new WP_Query($args); while ( $loop->have_posts() ) : $loop->the_post(); endwhile; wp_reset_query(); $searching = ($_GET['s']) ? $_GET['s'] : ''; $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1; echo paginate_links( array( 'base' => str_replace([999999999, '&'], [ '%#%', '&' ], html_entity_decode(get_pagenum_link(999999999, false))), 'format' => '/page/%#%', 'mid_size' => 2, 'prev_text' => '←', 'next_text' => '→', 'current' => max(1, get_query_var('paged')), 'total' => $loop->max_num_pages ) );
- This reply was modified 3 years, 2 months ago by anahitipoint.
- This reply was modified 3 years, 2 months ago by anahitipoint.
Hi abwaita,
No I did not use plugins as I custom coded search results page with WP_Query. The only strange issue is with pagination (used WordPress bult in paginate_links) after searching with attributes.
Any idea what can the cause? I checked all possible ways so far no luck, still 404 page.
Thank you
Hi Mirko,
Thank you for the update.
I installed Storefront theme and checked search results. Default search is not searching via attributes as when I search for word “Grey” it is not bringing all products which have Grey as attribute. Seems this can be reason maybe?
Can you please advise how we can find a workarounf to this? If I will need to add searching option with category names will that also create issues?
Thank youDear Mirko,
I clciked on Regenerate button and it keeps on showing a message that “Lookup tables are regenerating” so i kept that tab open, tested pagination in the meantime but still have 404 page.
Here is status as you requsted
——————————————–### WordPress Environment ### WordPress address (URL): https://saldandpepper.ipoint.com.mt Site address (URL): https://saldandpepper.ipoint.com.mt WC Version: 5.7.0 REST API Version: ? 5.7.0 WC Blocks Version: ? 5.7.1 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.6.4 Log Directory Writable: ? WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.23 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1l-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.7.0 WC Database Prefix: stp_ Total Database Size: 4.40MB Database Data Size: 2.65MB Database Index Size: 1.75MB stp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB stp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB stp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB stp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB stp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_actionscheduler_actions: Data: 0.09MB + Index: 0.13MB + Engine InnoDB stp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB stp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB stp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB stp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB stp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_options: Data: 1.03MB + Index: 0.06MB + Engine InnoDB stp_postmeta: Data: 0.30MB + Index: 0.16MB + Engine InnoDB stp_posts: Data: 0.09MB + Index: 0.06MB + Engine InnoDB stp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB stp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB stp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB stp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB stp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB stp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB stp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB stp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB stp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB stp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### acf-field: 18 acf-field-group: 7 attachment: 103 customize_changeset: 12 mailpoet_page: 1 nav_menu_item: 18 page: 11 post: 3 product: 17 product_variation: 36 project: 3 revision: 25 shop_order: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (3) ### Advanced Custom Fields PRO: by Delicious Brains – 5.10.2 Classic Editor: by WordPress Contributors – 1.6.2 WooCommerce: by Automattic – 5.7.0 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: Decimal Separator: . Number of Decimals: 0 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) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #8 - /store/ Cart: #9 - /cart/ Checkout: #10 - /checkout/ My account: #11 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Salt And Pepper Version: latest (update to version 0 is available) Author URL: https://ipoint.com.mt/ 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: saltandpepper/woocommerce/archive-product.php saltandpepper/woocommerce/content-product.php saltandpepper/woocommerce/content-single-product.php saltandpepper/woocommerce/global/quantity-input.php saltandpepper/woocommerce/loop/loop-start.php saltandpepper/woocommerce/loop/orderby.php saltandpepper/woocommerce/loop/result-count.php saltandpepper/woocommerce/single-product/add-to-cart/variable.php saltandpepper/woocommerce/single-product/product-image.php saltandpepper/woocommerce/single-product/product-thumbnails.php saltandpepper/woocommerce/single-product/related.php saltandpepper/woocommerce/single-product.php saltandpepper/woocommerce/taxonomy-product-cat.php ### Action Scheduler ### Complete: 209 Oldest: 2021-08-26 08:10:43 +0000 Newest: 2021-09-23 08:05:06 +0000 ### Status report information ### Generated at: 2021-09-23 11:08:00 +03:00
————————————————-
Thanks a lot for your help and efforts.
Hello,
I don’t have more categories with more then 6 products apart from Grey at the moment. I added 4 roducts to “White” category so you can check searchign white.
https://saldandpepper.ipoint.com.mt/store/ – this is my shop initial page, I will set redirection from /shop to this page.
Please advise if you need further details.
Thank youHi Niall,
Thanks a lot for your swift reply.
So far that’s the only query which i found out that has an issue with the pagination. Other pages like main product category pages where I also have pagination are working perfectly. Issue seems to be related to search results specifically.
Appreciate your help.
Thank youForum: Plugins
In reply to: [WooCommerce] Internal Server Error when submitting checkout formHi namialos,
Check your functions.php. It seems that you also have some code which is in conflict with Woocommerce.
Hope it helps.
Forum: Plugins
In reply to: [WooCommerce] How i can get current variable product image urlDocument on click fixed my issue.
Will be happy if it will help anyone else.
Forum: Plugins
In reply to: [WooCommerce] How i can get current variable product image urlI managed to find the solution after posting the question @marco_81.
You’re welcome @umairkhan812.
Thank you for your code snippet as well.
Forum: Plugins
In reply to: [Contact Form 7 Modules] 500 Server ErrorI also still have it. Functionality is working but still 500 error.
hey i did exactly as shown above but still no luck. I see wrong order. Still the recent one is the last one.
I also deleted the existing cookie but no luck.
Any ideas?
Re the core files updates yes i know but what i could do, i need this part working like this.
Thanks!