mishaml
Forum Replies Created
-
This doesn’t solve an issue. I think woocommerce and woof sees different number of products. On the first page /shop/ default woocommerce posts are loaded, and when I click on pagination woof handles ajax and it sees different number of products /shop/page/15/ for example. Filter is inserted not as a shortcode but via Set filter automatically.
I don’t have an active licence, but I experience the same issue on my dev site with free version please check https://dev.azi.ua/product-category/11-oblichchya/
Дякую, працює
Forum: Plugins
In reply to: [Nextend Social Login and Register] Migration from another pluginThanks, the problem was fixed after re-downloading plugin.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_usernameFinally, I also try your example code https://gist.github.com/nextendweb-laszlo/8753826f1fdc1fae84342d3b957b18d3#file-nsl-register-link-skeleton-php to implement rest api login on my site. And when I turn off Woocommercee this code seems to work, otherwise it’s not working as expected and returns an error. So I think that Woocommerce somehow interferes with Nextend Social Login
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_username#0 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp-hook.php(324): fix_nextend_error(true)
#1 /home/cp538923/sushijo.cz/dev/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#2 /home/cp538923/sushijo.cz/dev/wp-includes/user.php(366): apply_filters('application_pas...', true)
#3 /home/cp538923/sushijo.cz/dev/wp-includes/user.php(504): wp_authenticate_application_password(NULL, 'ck_c060bcf330ff...', 'cs_c3a66547734c...')
#4 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp-hook.php(324): wp_validate_application_password(false)
#5 /home/cp538923/sushijo.cz/dev/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#6 /home/cp538923/sushijo.cz/dev/wp-includes/user.php(3668): apply_filters('determine_curre...', false)
#7 /home/cp538923/sushijo.cz/dev/wp-includes/pluggable.php(70): _wp_get_current_user()
#8 /home/cp538923/sushijo.cz/dev/wp-includes/user.php(658): wp_get_current_user()
#9 /home/cp538923/sushijo.cz/dev/wp-content/plugins/woocommerce/includes/class-wc-rest-authentication.php(125): get_current_user_id()
#10 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp-hook.php(324): WC_REST_Authentication->authentication_fallback(NULL)
#11 /home/cp538923/sushijo.cz/dev/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#12 /home/cp538923/sushijo.cz/dev/wp-includes/rest-api/class-wp-rest-server.php(197): apply_filters('rest_authentica...', NULL)
#13 /home/cp538923/sushijo.cz/dev/wp-includes/rest-api/class-wp-rest-server.php(436): WP_REST_Server->check_authentication()
#14 /home/cp538923/sushijo.cz/dev/wp-includes/rest-api.php(420): WP_REST_Server->serve_request('/nextend-social...')
#15 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#16 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#17 /home/cp538923/sushijo.cz/dev/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#18 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
#19 /home/cp538923/sushijo.cz/dev/wp-includes/class-wp.php(813): WP->parse_request('')
#20 /home/cp538923/sushijo.cz/dev/wp-includes/functions.php(1336): WP->main('')
#21 /home/cp538923/sushijo.cz/dev/wp-blog-header.php(16): wp()
#22 /home/cp538923/sushijo.cz/dev/index.php(17): require('/home/cp538923/...')I’ve tried to print the backtrace, and all I see is that woocommerce is making it’s authentification for rest route, not any signs of another plugins
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_usernameI found that this error is triggered in wp-includes/user.php. To bypass it I should set filter application_password_is_api_request to false. I’m not sure about why this error occur in my case, however it would be great to implement this fix in plugin in case someone also catches it.
I mean not global roles, but roles in community group.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_usernameThank you, this way I can get correct access token. I found that this error occurs when I use Woocommerce plugin. Without it api returns user id. I’ve installed pro addon, so integration with Woocommerce should work.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_usernameDo you have a code to generate access token, because it seems that in order to test it I should set up full integration with google
Forum: Plugins
In reply to: [Nextend Social Login and Register] Rest api error invalid_usernameAre there any errors in my postman code comparing to your version?
However, may you fix this case so there will be no fatal error at least, even if the coupon wouldn’t work. As far as I understand, you have to check whether WC()->cart exists or whether it is not rest request
But this is only the default message. Is it possible to translate custom message like on my screenshot?
Sorry for disturb, but will you look for this