tonygao
Forum Replies Created
-
Thanks Danny,
The problem seems disappeared now, I guess it was caused by an DNS configuration mistake
The version we are using is 2.3
The exact code of the line that cause the problem is below:
|| (defined(‘DOING_AJAX’) && DOING_AJAX && (false !== strpos($_REQUEST[‘action’], ‘capability-manager-enhanced’)))
Our php version is 7.3.19-1
The error happened when the ‘REQUEST_URI’ like this “//.env” (https://mydomain.com//.env)
Is it possible to change or improve the plugin code that force browser reload scripts ?
when the problem happens, I can see there is error in Firefox console “Uncaught ReferenceError: recaptcha is not defined”
Also, I found the error line of javascript using “nonce” (<script type=”text/javascript” nonce=”lzQFniysaPxqWbsL0Th/Bg”>), will that require the script need to be loaded from server every time when refresh or open the page so it can get a new valid nonce? Sorry, I just guess. I am not familiar with how to use “nonce”
This problem is headache for me now as lots of people use Firefox.
The problem is not on server side, the problem is because of Firefox disk cache or memory cache, if disable both of cache of Firefox and force Firefox load it again from server then the Recaptcha works. Chrome don’t have this problem, I don’t know why Firefox have this problem.
it happens when call “/wp-admin/admin-ajax.php” and the ajax called “/wp-includes/class-wp-hook.php” then triggered “pmpro_add_action_links”
thanks
Thank you very much
Forum: Plugins
In reply to: [Wallet for WooCommerce] Bug report! The topup productThanks
I know that I can use Paypal sandbox to do test but the website already go live.
So, I am looking for a payment gateway for testing purpose only. Found https://www.ads-software.com/plugins/fake-pay-for-woocommerce/ but it only support Woocommerce not PMPro
Forum: Fixing WordPress
In reply to: Error in log file: “Creating default object from empty value”Thanks!
Forum: Plugins
In reply to: [WP Crowdfunding] The price lost in cart!Thanks
I use the PHP function “debug_backtrace” find the problem caused by the “/wp-content/plugins/ultimate-woocommerce-auction/includes/admin/class-uwa-admin.php”
There are about 4 places that use the function “get_item_meta “, need to use the function “wc_get_order_item_meta” if the woocommerce version is higher than 3.0.
That’s it.
- This reply was modified 3 years, 2 months ago by tonygao.
Forum: Plugins
In reply to: [WP Crowdfunding] problem with “Checkout Button text”THank
Forum: Plugins
In reply to: [WP Crowdfunding] problem with “Checkout Button text”I have multiple products in my WooCommerce store, also the “TeraWallet – For WooCommerce” installed. When I buy a cloth in store and choose to pay with the credits in TeraWallet, the Checkout Button text is “Back Campaign Now” but really should be something like “Pay Now” etc.