davethedon
Forum Replies Created
-
Thanks for getting back to me. Never had a problem with the interface and the feeds all seem to work, so I think actively creating functions to discount multisites is counterproductive. For the most part, unless you need to create a plugin that encompasses multisites, coding a plugin for a single site should be enough unless you’re doing something within WordPress that’s hacky. WordPress Core itself knows how to handle multisites and WooCommerce too.
If you’re not officially supporting multisites, maybe just go with the flow and say “your mileage may vary,” while also restoring the network active plugin check. ??Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Bug in Relevanssi IntegrationHi Oleg,
My apologies – you’re absolutely right. I dug into the issue and found that a custom plugin was hooked into the “relevanssi_hits_filter” filter and did flip the IDs into objects indiscriminately, and for no good reason either. Easy fix.
Thanks for your help!Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Bug in Relevanssi IntegrationHi,
Any news on this? Just to clarify, on the search page the product filters don’t show up on the product search page specifically because of a 500 error in the ajax request caused by the Relevanssi integration not getting the post IDs, but rather the post objects from the aforementioned function. It does not affect the regular catalog (store/category) pages.Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Bug in Relevanssi IntegrationHi Oleg,
It’s the search page. Do a product search and the filters will not show up when using Relevanssi.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Bug in Relevanssi IntegrationHi Oleg,
I saw that parameter was added to the query but the relevanssi_do_query() function seems to do its own processing to return post objects instead regardless.
The documentation also mentions that there is no return type, but that isn’t true, and your plugin is assigning the return value to $posts, which I’ve debugged and they contain post objects – not IDs.
Best,
DaveHi Elliot. I updated the plugin on Friday and the issue still persists. Have you had any luck with replicating it on your end, or do you require any futher troubleshooting efforts/testing from me?
This occurs on my end as well. In addition to the behavior mentioned in my GF thread (https://www.ads-software.com/support/topic/gravity-forms-submission-issue/), Elliot, the 403 would occur after a validation error. This is without the widget loaded, as it disappears once validation fails.
However, it works fine if no validation errors occurs. The form submits perfectly (using the Managed widget).Hey owebsolutions. You could be onto something…
Hey Salih. Is yours a multisite?Hi Elliot,
I have a test site that mirrors the live site and disabled all plugins on the network and on the site, and then only activated GForm and SCFT. The result was exactly the same:
https://freeimage.host/i/HcJ40Nt
It’s a standard contact GForm; what you see is what you get, without any addons or integrations enabled. The form submits via ajax.
So what happens is if you were to fill the form in and miss out on a mandatory field, it would obviously prompt you. From there the console shows an error: turnstile is not defined. Then if I correct the problem and submit the form, it produces a 403 (again, showing in the console).In a case where the Disable button option is on, the button will not re-enable after the incomplete submission.
- This reply was modified 2 years, 1 month ago by davethedon. Reason: Additional context
Hi Elliot,
Any luck replicating this issue; can I be of further help?
Hi Elliot,
Yup – forms work as normal when disabled in the aforementioned scenarios. Also, all plugins are up-to-date.
Also, very logical re. just disabling the login form! Makes perfect sense. ??
Or, perhaps better yet…
/** * Custom "is_plugin_active" function. * * @param string $plugin * @return bool */ if ( !function_exists( 'cft_is_plugin_active' ) ) { function cft_is_plugin_active( $plugin ) { return ( in_array( $plugin, apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || ( function_exists( 'cft_is_plugin_active_for_network' ) && cft_is_plugin_active_for_network( $plugin ) ) ); } } /** * Custom "is_plugin_active_for_network" function. * * @param string $plugin * @return bool */ if ( is_multisite() && !function_exists( 'cft_is_plugin_active_for_network' ) ) { function cft_is_plugin_active_for_network( $plugin ) { $plugins = get_site_option( 'active_sitewide_plugins' ); if ( isset( $plugins[ $plugin ] ) ) { return true; } return false; } }
- This reply was modified 2 years, 1 month ago by davethedon.
Hi,
Any update on this?
Hmmmm… I’m still seeing it in the feed (disabled all the general settings, regenerated the feeds, and hard refreshed the feed URL multiple times).
<rss xmlns:g="https://base.google.com/ns/1.0" version="2.0"> <channel> <title>Google Shopping Ireland</title> <link>https://wptest.deceifermedia.com</link> <description>WooCommerce Product Feed PRO - This product feed is created with the Product Feed PRO for WooCommerce plugin from AdTribes.io. For all your support questions check out our FAQ on https://www.adtribes.io or e-mail to: [email protected] </description> <item> <g:id>18</g:id> <g:title>Electro-Voice RE320</g:title> <g:description>Maximum versatility for broadcasting, podcasting, and music production Variable-D proximity control minimizes positional and off-axis tonal shifts Integrated humbucking coil and integral pop filters provide virtually noiseless performance Unique dual-voicing switch selects from two response curves: General purpose curve for voice and instrument production Kick drum curve for bass drums and some voices</g:description> <g:link>https://wptest.deceifermedia.com/product/ev-re320/?utm_source=Google Shopping&utm_campaign=Google Shopping Ireland&utm_medium=cpc&utm_term=18</g:link> <g:image_link>https://wptest.deceifermedia.com/wp-content/uploads/2018/02/re320.jpg</g:image_link> <g:availability>in_stock</g:availability> <g:price>EUR 315</g:price> <g:sale_price>EUR 315</g:sale_price> <g:product_type>Microphones||Dynamic Microphones</g:product_type> <g:condition>New</g:condition> <g:shipping> <g:country>IE</g:country> <g:service>Ireland Flat rate IE</g:service> <g:price>EUR 9.99</g:price> </g:shipping> <g:shipping> <g:country>IE</g:country> <g:service>Ireland Free shipping IE</g:service> <g:price>EUR 0</g:price> </g:shipping> <g:identifier_exists>no</g:identifier_exists> </item> </channel> </rss>
Yup. It’s in my screenshots.
https://drive.google.com/drive/folders/1vz5PbhUODbAEf98ThaucpbjhwDOMrsW5?usp=sharing