AnonymousInactive
Btw, Im seeing a lot of notices on the New Relic console, which may have something to do with the report issue:
Error message
E_WARNING: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
Stack trace
…call_user_func_array called at /srv/wordpress/wordpress/wp-includes/
plugin.php (214)
…/wordpress/wordpress/mw-public/themes/webipack/woocommerce/
archive-product.php (140)
…/wordpress/wordpress/mw-public/themes/webipack/woocommerce/
archive-product.php (120)
in genesiswooc_archive_product_loop called at ? (?)
…call_user_func_array called at /srv/wordpress/wordpress/wp-includes/
plugin.php (505)
… called at /srv/wordpress/wordpress/mw-public/themes/genesis/lib/
framework.php (39)
…/wordpress/wordpress/mw-public/themes/webipack/woocommerce/
archive-product.php (206)
in include called at /srv/wordpress/wordpress/wp-includes/template-loader.php (74)
in require_once called at /srv/wordpress/wordpress/wp-blog-header.php (16)
in require called at /srv/wordpress/wordpress/index.php (17)
and also:
Error message
E_WARNING: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
Sample stack trace
…call_user_func_array called at /srv/wordpress/wordpress/wp-includes/
plugin.php (214)
…ordpress/mw-public/plugins/genesis-connect-woocommerce/lib/
template-loader.php (252)
…wordpress/mw-public/plugins/genesis-connect-woocommerce/templates/
taxonomy.php (55)
in genesiswooc_product_taxonomy_loop called at ? (?)
…call_user_func_array called at /srv/wordpress/wordpress/wp-includes/
plugin.php (505)
… called at /srv/wordpress/wordpress/mw-public/themes/genesis/lib/
framework.php (40)
…wordpress/mw-public/plugins/genesis-connect-woocommerce/templates/
taxonomy.php (62)
in include called at /srv/wordpress/wordpress/wp-includes/template-loader.php (74)
in require_once called at /srv/wordpress/wordpress/wp-blog-header.php (16)
in require called at /srv/wordpress/wordpress/index.php (17)
They both have multiple occurrences while im navigating those pages.
AnonymousInactive
Hey Ross,
I just had to point the plugin to the template file, which by default is `woocommerce/archive-product.php”.
Once i’ve done that it started to work beautifully.
Thanks again.
Hey Luis this is your problem then.
When the field is getting cleared this means that S&F cannot find a template with that name in your theme folder.
If you are using a child theme try copying the template over in to that folder. Also make sure the template name has the full file path, so if it is in a sub folder, include that too.
If you are using a woocommerce template, then this needs to be copied over from the woocommercce plugin folder to your theme.
Thanks
AnonymousInactive
Thank you for the suggestion Ross.
I’ve tried to insert the template filename, it does behave differently but it still doesn’t output anything. I do see the requests on the console, but they seem to be always retrieving the complete list.
This is a WooCommerce products list, so i’ve tried with the default search.php
and also tried to insert the default WooCommerce search archive page, which is archive-product.php
. When I insert the second filename and save the settings, the form clears that input and shows it as blank.
Any tips?
AnonymousInactive
I have created a search form UI with a single taxonomy field and a submit button. The taxonomy is “Product Categories” (using with woocommerce) and the input type is checkbox. This form is placed in a sidebar widget on the frontend. The filter is working correctly, when checking categories I get the correct result. However, the checkboxes for the categories selected to not remain checked on the result page (I am not using ajax).
The result URL looks like this: /product-category/lorem/ipsum/?sfid=2305 where lorem is a parent category of ipsum.
Any idea why this is?
AnonymousInactive
Hi Ross,
Could you please assist me with following issue? It is running on live website and used by lot of users so any help would be appreciated as currently filtering is not really usable at all.
I am using taxonomies for filtering results, but when selecting corresponding taxonomy in S&F form, it is filtering wrong results. You can see that on following page:
http://www.czechpoint101.com/find-property/
If you select Location: Ostrava, it should filter property with Ostrava location (name is present in the title). Also the number of items displayed in brackets seems to be wrong. There are currently in total 13 properties but it’s displaying various different numbers.
I am using WooCommerce and products with custom taxonomies: https://infinit.io/link/kelis/3b6Q3Em
S&F Form is setup as following:
https://infinit.io/link/kelis/5KCbPnu
https://infinit.io/link/kelis/H5NXGqS
I am also using custom php file for search results:
http://inft.ly/3fzw9A2
I am using S&F v1.1.6. I did not try to upgrade as the activation does not seem to work for me. I am using local and live installation and tried to disable both licenses and then activate only one but the page just reloads and nothing says it’s activated.
Thanks,
Petr
AnonymousInactive
I have a form configured to filter two custom taxonomies, one using checkboxes the other using a dropdown.
Im using the widget version and filtering WooCommerce products. When I first enter the shop, i get the following:
https://www.dropbox.com/s/1qgxd6cjlo5ewtg/Screenshot%202014-11-01%2015.18.12.png?dl=0
As you can see the form has nothing set, and the url is the store’s base url “/shop/”.
When I activate a checkbox for the plans filter, the contents do get filtered and the URL now shows:
“/product-category/bookings/?sfid=344&_sf_ajax_timestamp=1414855142753”
But then I remove the selection from that same checkbox, the page seems to do an Ajax refresh but the contents stays the same, as do the URL that still contains the navigation to the product category:
“/product-category/bookings/?sfid=344&_sf_ajax_timestamp=1414855142753”
Am I missing something or there’s a problem here?
Thank you.
AnonymousInactive
Hi Ross,
I am dealing with issues when filtering WooCommerce products and thought it might help to update the plugin (I have v1.1.6). I am using local and live installations and cloning plugin (WP Migrate). It seems that when pulling the database to local site I can see S&F plugins on both sites are displayed as activated, however there are no updates available on plugin page. When I tried to deactivate both licenses and activate one license again, it does not do anything.
Could you please let me know how to proceed further?
Thanks,
Petr
AnonymousInactive
Hi Marjan, Ross, that does indeed sound uncannily llike the problem I am referring to but I just want to double check.Do you mean to say that when each individual product link is clicked on it should take the user to the woocommerce product page? But right now it just refreshes the results page? Also the user should be able to activate the filter while remaining on that page, just like in the movies demo. If so, then yep that is certainly not working for me either at the moment and I await the update.Regardless, I would still very much like to see the template filed for the demos, in particular the movies one because I like their setup.Thank you
AnonymousInactive
Perhaps I can figure it out myself if I can see the demo template files…
Basically I want to setup pages just like the demos so that a user can filter the products and then clicking on the product link takes them to the product with information, photo, related products, attributes etc just like in the normal woocommerce. If it is possible to put the search form on the product page so that the user can then quickly return to the product menu without having to change URLS, just like in the movies demo that would be even better.
I think if I can see the templates I can probably figure everything out.
I just found the tutorial a bit too simple and doesn’t really explains things for me.