Title: technicalx's Replies | WordPress.org

---

# technicalx

  [  ](https://wordpress.org/support/users/technicalx/)

 *   [Profile](https://wordpress.org/support/users/technicalx/)
 *   [Topics Started](https://wordpress.org/support/users/technicalx/topics/)
 *   [Replies Created](https://wordpress.org/support/users/technicalx/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/technicalx/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/technicalx/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/technicalx/engagements/)
 *   [Favorites](https://wordpress.org/support/users/technicalx/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 163 total)

1 [2](https://wordpress.org/support/users/technicalx/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/technicalx/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/technicalx/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/technicalx/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/technicalx/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/technicalx/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] FATAL: W3TC completely blanks REST API responses (0 bytes) on POST/GET requests](https://wordpress.org/support/topic/fatal-w3tc-completely-blanks-rest-api-responses-0-bytes-on-post-get-requests/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/fatal-w3tc-completely-blanks-rest-api-responses-0-bytes-on-post-get-requests/#post-18866294)
 * There is no 2.9.2 version, only 2.9.1 and 2.9.3 – [https://en-au.wordpress.org/plugins/w3-total-cache/advanced/](https://en-au.wordpress.org/plugins/w3-total-cache/advanced/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] lol trash plugin](https://wordpress.org/support/topic/lol-trash-plugin/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/lol-trash-plugin/#post-18866288)
 * This is the same error as my post – [https://wordpress.org/support/topic/coupons-cause-square-to-fail/](https://wordpress.org/support/topic/coupons-cause-square-to-fail/)
 * it is not negative order total, it is negative line item. My post has example
   function to test with, but I have not done a proper isolation test yet.
    -  This reply was modified 2 weeks, 1 day ago by [technicalx](https://wordpress.org/support/users/technicalx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Coupons cause Square to fail](https://wordpress.org/support/topic/coupons-cause-square-to-fail/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/coupons-cause-square-to-fail/#post-18866287)
 * Yes there is a 10% loyalty discount. using functions to apply negative fee, you
   can probably test this to see the error.
 *     ```wp-block-code
       function prefix_add_discount_line( $cart ) {$chosen_methods = WC()->session->get( 'chosen_shipping_methods' );$chosen_shipping_no_ajax = $chosen_methods[0];if ( 0 === strpos( $chosen_shipping_no_ajax, 'local_pickup' ) ) {// Define the discount percentage$discount = $cart->subtotal * 0.1;// Add your discount note to cart$cart->add_fee( __( 'Collection discount applied', 'yourtext-domain' ) , -$discount );}}
       ```
   
 * These are the plugins.
 *     ```wp-block-code
       Active plugins (80)Ultimate Addons for WPBakery Page Builder by Brainstorm Force – 3.19.22Advanced Woo Search by ILLID – 3.58Better Search Replace by WP Engine – 1.4.10Block Specific Plugin Updates by Dinesh Karki – 3.3.2Better Notifications for WP by Made with Fuel – 1.9.9.1Classic Editor by WordPress Contributors – 1.6.7Code Snippets by Code Snippets Pro – 3.9.5WooCommerce Delivery & Pickup Date Time Pro by CodeRockz – 1.4.57Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd by SeedProd – 6.19.9Custom Classes by Justin Tadlock – 1.0.0Custom Login by Austin Passy – 5.1.2.2Yoast Duplicate Post by Enrico Battocchi & Team Yoast – 4.6Enable jQuery Migrate Helper by The WordPress Team – 1.4.1301 Redirects by WebFactory Ltd – 2.83Equal Height Columns by MIGHTYminnow, Mickey Kay, Braad Martin – 1.2.1Google for WooCommerce by WooCommerce – 3.6.0Site Kit by Google by Google – 1.175.0Gravity Forms by rocketgenius – 2.2.6.1Header and Footer Scripts by Anand Kumar – 2.4.2IgniteWoo Updater by IgniteWoo.com – 3.1 – Network enabledImagify by Imagify Image Optimizer – Optimize Images & Convert WebP & Avif – 2.2.7WPCode Lite by WPCode – 2.3.5InfiniteWP - Client by Revmakx – 1.13.5WPBakery Page Builder by Michael M - WPBakery.com – 6.7.0Klaviyo by Klaviyo, Inc. – 3.7.3Lockdown WP Admin by Sean Fisher – 2.3.2Loco Translate by Tim Whitlock – 2.8.3Lucky Orange by Lucky Orange – 2.1.1Notifications Center by Florian Chaillou – 1.5.2Object Cache 4 everyone by fpuenteonline – 2.3Optin Cat Personal by Fatcat Apps – 2.1.0Password Strength for WooCommerce by WP Zone – 1.0.3Post SMTP by Post SMTP – 3.9.0N-Media WooCommerce PPOM PRO by Najeeb Ahmad – 16.0Ninjalytics Free (formerly Product Sales Report) by BerryPress – 2.0.2PW WooCommerce Bulk Edit by Pimwick, LLC – 2.140Regenerate Thumbnails by Alex Mills (Viper007Bond) – 3.1.6Slider Revolution by ThemePunch – 5.4.8.3Woocommerce Delivery Calculator On Product Page by Magerips – 1.8Say What? by Ademti Software – 2.2.6CBD Cakes Custom Slips by Shortie Designs –Simple CAPTCHA Alternative with Cloudflare Turnstile by Elliot Sowersby, RelyWP – 1.37.0Simple History by Pär Thernström – 5.24.1UpdraftPlus - Backup/Restore by TeamUpdraft, DavidAnderson – 1.26.2Header Builder by UpSolution – 2.2User Switching by John Blackbourn – 1.11.2Variation Swatches for WooCommerce by Emran Ahmed – 2.2.3Advanced Free Delivery for WooCommerce by Jeroen Sormani – 1.1.7.1Extended Coupon Features for WooCommerce FREE by Soft79 – 3.4.2WooCommerce Customer/Order/Coupon Export by SkyVerge – 5.5.3 (update to version 5.5.7 is available)WooCommerce Dynamic Pricing by Lucas Stark – 3.1.6 (update to version 3.4.12 is available)Eway Payments for Woo by Eway – 3.9.2WooCommerce Google Analytics Pro by SkyVerge – 1.8.8 (update to version 2.2.2 is available)WooCommerce Advanced Product Quantities by WP BackOffice – 2.1.9Booster for WooCommerce by Pluggabl LLC – 7.11.4WooCommerce Legacy REST API by WooCommerce – 1.0.5WooCommerce Loyalty Rewards by IgniteWoo.com – 4.2.3WP WooCommerce Mailchimp by Saint Systems – 2.5.1WooCommerce Min/Max Quantities by WooCommerce – 2.4.11 (update to version 5.2.8 is available)WooCommerce PDF Invoices & Packing Slips (HW held back) by Ewout Fernhout – 999.2.9.0PPOM for WooCommerce by Themeisle – 33.0.18WooCommerce Tax by WooCommerce – 3.5.1WooCommerce Smart Coupons by StoreApps – 4.3.0 (update to version 9.74.1 is available)WooCommerce Square by WooCommerce – 5.2.0 (update to version 5.3.1 is available)WooCommerce Zapier by OM4 Software – 2.10.1 (update to version 2.19.0 is available)WooCommerce by Automattic – 10.6.1Wordfence Security by Wordfence – 8.1.4Yoast SEO by Team Yoast – 27.2ManageWP - Worker by GoDaddy – 4.9.32WP Admin No Show by Doug Sparling – 1.7.0WP All Export Pro by Soflyy – 1.9.7WP Crontrol by John Blackbourn – 1.21.0WP File Manager by mndpsingh287 – 8.0.3WP Migrate by WP Engine – 2.7.7WP Rocket by WP Media – 3.21.0WP All Export - WooCommerce Export Add-On Pro by Soflyy – 1.0.10Remote print addon for WooCommerce PDF Invoices - PrintNode by WebToffee – 1.0.2WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Delivery Labels (Pro) (HW held back) by WebToffee – 999.4.1.8Woocommerce Automatic Order Printing | Woocommerce Google Cloud Print by Xperts Club – 3.7YITH WooCommerce Wishlist by YITH – 4.13.0
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Coupons cause Square to fail](https://wordpress.org/support/topic/coupons-cause-square-to-fail/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/coupons-cause-square-to-fail/#post-18861836)
 * It’s not a zero amount transaction. It is a normal amount with a discount coupon
   in it. Screenshot of Order details at [https://ibb.co/r2GBJ0Sv](https://ibb.co/r2GBJ0Sv)
   
   Rolling back plugin to previous version fixes the problem.
 * ![](https://ibb.co/r2GBJ0Sv)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Shortcodes in Calendar page 2 don’t work](https://wordpress.org/support/topic/shortcodes-in-calendar-page-2-dont-work/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/shortcodes-in-calendar-page-2-dont-work/#post-18774372)
 * I have fixed this bug with a workaround. put this in functions.php
 * `add_filter('em_calendar_output', function($output, $args) {
   // fixes shortcodes
   not being translated in final output for ajax requests, eg page 2 of calendars.
   $output = do_shortcode($output);return $output;}, 10, 2);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Prime Mover - Migrate WordPress Website & Backups] Include Inactive Plugins in single site export?](https://wordpress.org/support/topic/include-inactive-plugins-in-single-site-export/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/include-inactive-plugins-in-single-site-export/#post-18702108)
 * i understand it’s a good default.
 * my use case for this is development websites where I need the inactive plugins.
   Also client migrations where I shouldn’t be removing plugins.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-in-One WP Migration and Backup] Raising upload limit still doesn’t let me upload the backup](https://wordpress.org/support/topic/raising-upload-limit-still-doesnt-let-me-upload-the-backup/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/raising-upload-limit-still-doesnt-let-me-upload-the-backup/#post-18652238)
 * This is not resolved. After raising the upload limit AND successfully uploading
   the file it says Import Failed.
 * This is not working as designed.
 * Import failed
 * `Your file exceeds the upload limit set by your host web server.
   Our [Unlimited Extension](https://servmask.com/products/unlimited-extension?utm_source=file-upload-webserver&utm_medium=plugin&utm_campaign=ai1wm)
   bypasses this!If you prefer a manual fix, follow our step-by-step guide on [raising your upload limit](https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP 2-step verification] verification codes sent when wp_set_current_user() used](https://wordpress.org/support/topic/verification-codes-sent-when-wp_set_current_user-used/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/verification-codes-sent-when-wp_set_current_user-used/#post-18602634)
 * `if(function_exists('wp2sv')){ wp2sv()->get('auth')->setCookie($user_id, $remember);}`
 * Does work, however editing the Switch User plugin core code isn’t a viable option.
   I need a function filter which can handle the same.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP 2-step verification] verification codes sent when wp_set_current_user() used](https://wordpress.org/support/topic/verification-codes-sent-when-wp_set_current_user-used/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [8 months ago](https://wordpress.org/support/topic/verification-codes-sent-when-wp_set_current_user-used/#post-18598180)
 * This doesn’t appear to work when I attach to filter “attach_session_information”
   from Switch User plugin by John Blackbourn. the 2FA still happens when using 
   Switch User.
   My function runs, I see the log.
 * `function custom_session_filter($user_id, $old_user_id, $new_token, $old_token){
   
   add_action('wp2sv_trusted_request','__return_true');add_action('wp2sv_handle',
   function ($wp2sv) {$wp2sv->make('handler')->passed();}, 9);error_log('wp2sv_trusted_request
   attach_session_information ');}add_filter('attach_session_information', 'custom_session_filter',
   99, 4);
 * This is the code in plugin
 *     ```wp-block-code
       add_filter( 'attach_session_information', $session_filter, 99 );wp_clear_auth_cookie();wp_set_auth_cookie( $user_id, $remember, '', $new_token );wp_set_current_user( $user_id );remove_filter( 'attach_session_information', $session_filter, 99 );
       ```
   
    -  This reply was modified 8 months ago by [technicalx](https://wordpress.org/support/users/technicalx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IP Location Block] Must Use plugin mode doesn’t show Stats and Logs](https://wordpress.org/support/topic/must-use-plugin-mode-doesnt-show-stats-and-logs/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/must-use-plugin-mode-doesnt-show-stats-and-logs/#post-18575234)
 * I think the options becomes corrupted after saving some settings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iQ Block Country] is blocking robots.txt](https://wordpress.org/support/topic/is-blocking-robots-txt/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/is-blocking-robots-txt/#post-18333746)
 * pretty sure rankmath handles robots.txt
 * guessing Yoast SEO would too
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[iQ Block Country] is blocking robots.txt](https://wordpress.org/support/topic/is-blocking-robots-txt/)
 *  Thread Starter [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/is-blocking-robots-txt/#post-18331523)
 * Worked it out. Had to select Blocking of specific Post types and turn on Pages.
 * Somewhat complex to set up blocking of just one page.
 * Suggest to use Opera Browser free VPN to test out settings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] I like this plugin, but… (funnelkit stripe promotion)](https://wordpress.org/support/topic/i-like-this-plugin-but-funnelkit-stripe-promotion/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/i-like-this-plugin-but-funnelkit-stripe-promotion/#post-18314875)
 * I hate this upsell.
 * > [View post on imgur.com](https://imgur.com/a/IUBoMBB)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FunnelKit Payment Gateway for Stripe WooCommerce] who’s to blame for ads in the dashboard?](https://wordpress.org/support/topic/whos-to-blame-for-ads-in-the-dashboard/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/whos-to-blame-for-ads-in-the-dashboard/#post-18314870)
 * Here it is, very annoying to see such a tactic. I also have product feed pro (
   not for long!)
 * > [View post on imgur.com](https://imgur.com/a/IUBoMBB)
    -  This reply was modified 1 year, 1 month ago by [technicalx](https://wordpress.org/support/users/technicalx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Add to Cart labels for WooCommerce] Version 1.5 causes website to crash – and it appears that I can’t roll back!](https://wordpress.org/support/topic/version-1-5-causes-website-to-crash-and-it-appears-that-i-cant-roll-back/)
 *  [technicalx](https://wordpress.org/support/users/technicalx/)
 * (@technicalx)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/version-1-5-causes-website-to-crash-and-it-appears-that-i-cant-roll-back/#post-18309463)
 * 1.5 has only 1 file in it.
 * Modify your 1.3 version to be 1.5.0.1 or something like that to allow 1.6 to 
   work – assuming it’s fixed!

Viewing 15 replies - 1 through 15 (of 163 total)

1 [2](https://wordpress.org/support/users/technicalx/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/technicalx/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/technicalx/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/technicalx/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/technicalx/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/technicalx/replies/page/2/?output_format=md)