CalculatorPro Calculators shortcode not displaying

Prior to the Pro upgrade, the shortcode for CalculatorPro Calculators worked and displayed the calculators, now it does not. Please advise. https://hotflashdiva.com/weight-calculators/ . Thanks

Hello @janfox,

Thanks for writing in!

You are experiencing the issue because there is a JS error on the page:

Mixed Content: The page at 'https://hotflashdiva.com/weight-calculators/' was loaded over HTTPS, but requested an insecure script 'http://api.calculatorpro.com/calc/1489?callback=jQuery18202794466034446068_1564713599505&_=1564713599921'. This request has been blocked; the content must be served over HTTPS.```

This means CORS (Cross Origin Resource Sharing) issue. The script must be loaded via https since your current domain is using https too. 

Is there any settings for the Calculator Pro? We would love to check it out if you wouldn't mind providing us access to your site. You can create a secure note in your next reply and insert the WP credentials there. To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

I just sent the sign in credentials via secure note. Thanks for your help.

Also, I did upgrade to SSL at the same time of the Pro conversion so don’t believe it’s a Pro issue now that you mention. Thanks

Hi @janfox,

Yes, its a mixed content issue as the plugin CalculatorPro Calculators is requesting resources via http:

Please access your .htaccess file via FTP and add the following lines.

Header add Access-Control-Allow-Origin: http://www.bluestarmarinefl.com/
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"



If that did not work, try to reinstall the plugin (not sure if this will work though as they’re using absolute link on the plugin core files).

If the issue persists, please contact the plugin developer as it seems they only offer SSL on their enterprise package.
https://www.calculatorpro.com/pricing/

Thanks,

Thanks so much for your help but it didn’t work. I will look for other options. Much appreciated.

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.