Home › Forums › WoodMart support forum › Split: Selecting category triggers long Ajax load and then changes with page reload
Split: Selecting category triggers long Ajax load and then changes with page reload
- This topic has 9 replies, 2 voices, and was last updated 2 years, 2 months ago by Elise Noromit.
-
AuthorPosts
-
February 16, 2022 at 2:06 am #353348
anaoudaParticipanti have the same issue , how to solve it please
February 18, 2022 at 12:07 am #354065
Elise NoromitMemberHello,
Have you checked the issue with the deactivated plugins?
Best Regards
February 18, 2022 at 12:34 pm #354231
anaoudaParticipanti’ve deactivated all plugins …… only have woocommerce and woodmart core activated and still have the problem with product categories widget which display the categories tree in side bar
and the same problem with the pagination links when click on it it show ajax loading for 6-8 seconds then the page refresh for 6-8 seconds to display the page
please visit my site and test it yourself
thanks in advanceFebruary 18, 2022 at 11:36 pm #354355
Elise NoromitMemberHello,
Please , provide your site admin access (insert the site credentials into the Private content block under the message area) and confirm the permission for plugins deactivation, switching to the parent or default theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.
Please describe the step-by-step actions to reproduce the problem.
Best Regards
February 19, 2022 at 12:50 am #354368
anaoudaParticipant1- when open shop it takes more time than usual
2- when pressing on any category in sidebar or when click on page 2,3,… in pagination row :
it triggers ajax loading for 6-8 seconds without loading products then the page reloading for 7-9 seconds
3- number of products per page should be 12 products .. but the page display 11 or 9 or sometimes 40 product not the number i write in theme settings
4- also i have this error
[18-Feb-2022 23:32:31 UTC] PHP Warning: First parameter must either be an object or the name of an existing class in /home/u488831557/domains/waffarqersh.com/public_html/wp-content/themes/woodmart/inc/helpers.php on line 254February 19, 2022 at 8:26 pm #354544
Elise NoromitMemberHello,
When I try to open a category it takes several seconds to open and show all the products: https://gyazo.com/d70d2b8f94e62674bc608481fe9fb57e and shop page: https://gyazo.com/f7e07d0f1d2ffa53f9de095a7a88a219
How can I see the error you mention? I do not see it in the console.
Best Regards
February 19, 2022 at 11:13 pm #354567
anaoudaParticipantclick on any category in sidebar in shop page you will see ajax loading for 7 seconds then the page will refresh
click on any number in pagination links in shop page you will see the same issuethe error is in error.log in hosting files
February 21, 2022 at 10:45 am #354777
Elise NoromitMemberHello,
We have checked the site with Storefront and the site is slow on the default theme as well.
We can suggest the code that would increase the AJAX time so that the page would not reload.
add_filter( 'woodmart_pjax_timeout', function(){ return 30000; } );
Add this code to the functions.php of the child theme.
Best Regards
February 21, 2022 at 3:02 pm #354857
anaoudaParticipanthello sir,
if you logged in and open any category you will find slow queries (5)
and duplicate queries (12)
screen shots attachedAttachments:
You must be logged in to view attached files.February 22, 2022 at 12:19 pm #355075
Elise NoromitMemberHello,
We will fix duplicates in our nearest update, as for the speed it is the same on the Storefront.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
Tagged: Category filter page reload only
- You must be logged in to create new topics. Login / Register