seuser
Forum Replies Created
-
Forum: Plugins
In reply to: [Footnotes Made Easy] Plugin issues: updateGlad it helped 🙂
Forum: Plugins
In reply to: [Footnotes Made Easy] Plugin issues: updateHi David,
Looking ‘footnotes-made-easy.php’ it seems this code gets called unconditionally when the plugin is active because you have this in the constructor of
class swas_wp_footnotes:
`
if( !empty($_POST[ ‘save_options’ ] ) ) {
`
Would suggest changing this to something like
`
if( !empty( $_POST[ ‘save_options’ ] ) && !empty( $_POST[ ‘save_footnotes_made_easy_options’ ] ) ) {
`
and adding a hidden var to ‘options.php’ like
`
<input type=”hidden” name=”save_footnotes_made_easy_options” value=”1″ />
`
To ensure that this gets called only when this plugin is saved, otherwise your options will be overwritten with empty options if any other plugin or wordpress code submits anything that contains a POST val ofsave_options.The same issue happens with reset options – it is likely reset more often than desired if triggered by some other plugin or core.
Hope that helps!
ScottHi Charles,
There is another php 7.2 notice issue as well:
Notice: Undefined variable: files_not_found in /var/www/html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 343This can be fixed by defining the array initially at the top of
reSmushit::getNonOptimizedPictures()like$files_not_found = array();.Thanks,
Scott- This reply was modified 7 years, 6 months ago by seuser.
You’ll by the way want to make sure it’s using single quotes and not an apostrophe (the installation instructions page on ww.wp.xz.cn automatically converts single quotes to apostrophes unfortunately).
Hi there!
That is all that is needed. You can see the code here checking for just those two constants.
To check if these are defined, in any template you could test like so:
print 'FB_GF_GOCARDLESS_HOSTED_ENVIRONMENT' . ( defined( 'FB_GF_GOCARDLESS_HOSTED_ENVIRONMENT' ) ? ' is defined' : ' is not defined'); print 'FB_GF_GOCARDLESS_HOSTED_READWRITE_TOKEN' . ( defined( 'FB_GF_GOCARDLESS_HOSTED_READWRITE_TOKEN' ) ? ' is defined' : ' is not defined');Thanks,
ScottForum: Plugins
In reply to: [FB GoCardless Hosted for Gravity Forms] Success page redirectGlad you managed to sort it! Apologies for the delayed reply.
Forum: Plugins
In reply to: [WP eCommerce] Paypal Changes could break storeThis discussion is also taking place here:
https://ww.wp.xz.cn/support/topic/paypal-upgradeForum: Plugins
In reply to: [Cart66 Lite :: WordPress Ecommerce] Paypal upgradeThis isn’t really related to WP E-Commerce.
If you have an SSL certificate (ie, visitors browse your site via https://yourdomain.com), you need to make sure your SSL certificate is strong enough. Your host can advise on this. You can also click the ‘lock’ icon next to the address bar in your browser and view the connection details to see information about your certificate.
If you don’t have SSL (the https://) on your site, this doesn’t affect you. See this discussion here where this person asked PayPal and they confirmed they will continue to allow insecure connections:
http://civicrm.stackexchange.com/questions/6369/do-sites-without-ssl-now-need-one-for-paypal-ipnNote: an insecure connection definitely should not be used if any sensitive details are collected on your website. It should really be used at all times for any details, but if you send the visitor off to PayPal where they make the payment itself, there is less risk.
Note2: if you do not use SSL (or use an insecure one), it would be wise not trust what you see in WP-Admin and check your paypal account to ensure you actually received the payment before shipping.