Brave Michael
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Site origin + yoast SEO export impossibleOkay thanks Andrew!
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Site origin + yoast SEO export impossibleHi Andrew, I’ve encountered the same error. When Yoast 14.9+ is active and you click the Download Layout button, the following JS error occurs:
Uncaught TypeError: wp.data.select(...) is null getCurrentBlockPosition wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 displayImportExport wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 jQuery 9 displayImportExport wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 tabClickHandler wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 jQuery 2 siteorigin-panels.min.js:1:9630 getCurrentBlockPosition wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 displayImportExport wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 jQuery 9 displayImportExport wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 tabClickHandler wp-content/plugins/siteorigin-panels/js/siteorigin-panels.min.js?ver=2.11.4:1 tabClickHandler self-hosted:1171
- This reply was modified 4 years, 5 months ago by Brave Michael.
- This reply was modified 4 years, 5 months ago by Brave Michael.
Forum: Plugins
In reply to: [Maintenance] Issue with WOOCOMMERCEI’ve JUST spent an hour tracking down this specific issue.
Wordpress hooks into the ‘lostpassword_url’ filter with a priority of 10.This maintenance plugin hooks into that filter with a priority of 999 and it’s ALWAYS active, no matter if maintenance mode is enabled or not.
Fix for now is to disable the Maintenance plugin unless you really need to use it.
I added a fix for this issue myself in my theme:
function ensure_unique_username($username) { if (\username_exists($username)) { $username = ensure_unique_username($username. zeroise(wp_rand(0, 99), 2)); } return $username; } add_filter('woocommerce_new_customer_data', function($data){ //Fix for Wordfence tampering with usernames and then not checking if they are still unique afterwards. $data['user_login'] = ensure_unique_username($data['user_login']); return $data; }, 100, 1);
Viewing 4 replies - 1 through 4 (of 4 total)