vestaxpdx
Forum Replies Created
-
To update. This is really strange, but after rolling back to a prior version and reinstalling the latest version the JS error seemed to of gone.
No idea why or how.
This is also suddenly happening to me in the latest version: 5.6.4
I am getting this JS error.
Uncaught (in promise) Error: Invalid site key or not loaded in api.js
It’s to do with reCAPTCHA integration. If I remove reCAPTCHA integration for contact form 7 then the form will work properly again.
If I roll back the plugin to an earlier version then the JS error goes.
Please fix ASAP we have 100’s of contact forms now not working.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Payment Method Never AppearsThanks you for the heads up about Aelia currency switcher yes it was indeed this plugin causing the issue.
For some reason on the other site we run it had auto added all payment gateways in Aelia currency switcher so didn’t think to check there.
It’s working for GBP now but not for SEK even though Klarna is added as a payment gateway in Aelia currency switcher.
Perhaps that is an account level issue with Klarna and Sweden being enabled.
Thanks again.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Payment Method Never AppearsI can see a couple 401’s but I have created new API details and when saving your plugin never complains. If you enter the wrong API details it does complain when you save.
It seems like your Klarna UK Production credentials are incorrect, please verify or remove these credentials and save again. API error code: 401, Klarna API error message: Unauthorized, Klarna correlation_id:
after entering correct API details I do not see the above message. So I believe they must be correct and working but still with this new set of API details the payment method does not appear.
I find the plugin confusing for entering API details. Which countries should we enter it for? I have just copied the same API details for UK and Sweden since we offer GBP and SEK currency. I have tried Just Sweden or Just UK still the same, no payment method ever appears.
Nowhere in the Klarna dashboard does it say what countries are supported for our account. Maybe it is something go do with that but Klarna support is the worst I have ever experienced.
I hope you can help.
Forum: Plugins
In reply to: [Redux Framework] Fonts crashed after updateSame here this is a major issue.
Google fonts is being loaded over http not https which is why they are not working due to insecure content warning.
Please push a fix soon.
@wpsmort Thank you for the update. I ended up disabling ‘Use Schema.org Markup’ which fixed the issue for me as we do not use it anyway.
I just landed here from google. Exact same issue.
We have an exceptionally large site 10K plus posts and 3k plus pages. Not sure if that has anything to do with it.
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/domains/www.example.com/wp-content/plugins/all-in-one-seo-pack/inc/schema/aioseop-context.php on line 901
'url' => $context->get_url(),
We have fatal errors hidden but it is causing many long loads and strain on our server.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Greek Text In PDF ProblemYes MBString is installed OK.
This was a quite a custom template and in the process we changed the default font family that did not support Greek at all.
Good to know the Open Sans supports it too.
Many thanks for the info!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Greek Text In PDF ProblemFor anyone who may come across this I actually found a much easier fix.
You can just change the font family to the following in your styles.css file.
font-family: "Arial Unicode MS", "Lucida Sans Unicode", "DejaVu Sans", Sans-Serif;
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Greek Text In PDF ProblemOK thanks for the info, will have a go at loading Greek fonts when the delivery is Greece.
Cheers
Forum: Plugins
In reply to: [Simple Google reCAPTCHA] reCAPTCHA Appears on Firefox but not ChromeHi Frank
Thanks for the reply.
Yes I could do that too, but it seems a shame to have to keep that file as included when it is only 6 lines of code.
I would love to know why it is only Chrome it breaks in.
Forum: Plugins
In reply to: [Simple Google reCAPTCHA] reCAPTCHA Appears on Firefox but not ChromeHi
I have debugged and it is to do with Autoptimize plugin.
If you have the optimize JS unchecked it shows in both Friefox and Chrome, if you have it checked it does not show in Chrome but shows in Firefox OK.
I find this very odd, no JS errors are thrown and if there was a problem it should not show on both Firefox and Chrome.
Seems to be some kind of timing issue perhaps. The JS srg() func in main.js just does not get called in chrome.
I can see it should be called via this call.
https://www.google.com/recaptcha/api.js?hl=en_GB&onload=sgr&render=explicit&ver=4.9.5
Autoptimize defers all JS, so perhaps on chrome it simply is not ready yet and the srg() function is not found which is why it does not display.
If I just add a call to srg() in main.js it now works in both Firefox and Chrome with Autoptimize JS enabled.
function sgr() { var recaptcha = document.getElementsByClassName("g-recaptcha"); for (var i = 0; i < recaptcha.length; i++) { grecaptcha.render(recaptcha.item(i), {"sitekey" : sgr_recaptcha.site_key}); } } sgr(); //call it anyway
I am not sure if this is the best way to fix this issue or not, but it does now work with the Autoptimize plugin enabled.
- This reply was modified 6 years, 6 months ago by vestaxpdx.
Cool thanks for that link, will keep an eye on it.
If it happens again I guess I will stick to plain SMTP authentication for now.
Cheers!
Cool that would be helpful.
Can I ask should the token never expire? Or will it always expire after a certain amount of time?
Ok cool
If it is not too complicated to put in a message I am interested to know. I am a web developer and it’s always good to learn new things.