trademark2k6
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Prioritising checkout error messsagesThanks for the reply. The links you provided is for inserting new content.
The two messages I am dealing with are standard woocommerce core messages. I just think the priority of the “email already in use” should be higher than the “coupon limit reached” message.
Thanks
Hi
For the reply. I’m not looking to replace the messages as both messages serves its purpose.
I just want to change the priority of the messages so that it first checks email and then checks coupon usage limit.
I did some digging and I note that this isn’t to do with this plugin but the way the core WC functions.
To rephrase my question, hopefully it’s easier to understand:
Is it possible to make the below default woocommerce code run as priority before the code that creates the “coupon limit exceeded” message?
if ( email_exists( $email ) ) { return new WP_Error( 'registration-error-email-exists', __( 'An account is already registered with your email address. Please login.', 'woocommerce' ) ); } ...
I need to learn how to install such applications. At the moment I am relying on the cloudways admin panel to monitor my server. But it’s not exactly live.
I did yesterday have a IP address that was attackih which was picked up by wordfence and also cloudways. But generally and honestly I don’t know how to check which IPs have accessed the site at a specific time. I’ll need to research!
Many thanks. I just noticed most of my websites were staggered already, with the exception of one website. So 3 our of 4 site shall had different scanning schedules, and the other two had the same, which I have now changed.
The cpu spikes don’t seem to correlate with the wordfence scans at all either.
I did use updraftplus to take backups but I have disabled this now and now rely on the cloudways auto backups that happen 6am. Again I don’t think the cpu spikes correlate with this either.
I’m far from a expert. This is my first vps. I usually use shared hosting and only just made the leap now. I can’t seem to understand what’s going on. Even when cpu isn’t maxed out, I can see moments where 60-70% is being use for 5-10 mins. But again, I can’t link this to a particular Cron job or visitor action.
Hi pplong
Thank you for coming back and answering. Should I deactivate and activate 4/5 sites an hour or two apart from each other? So they don’t again have scheduled times that are very close together?
Also – apart from when the scans are taking place (which will obviously eat into the cpu time), should the wordfence plugin pretty much not effect cpu speed?
On my monitoring logs I am seeing my cpu usage maxing our a few times a day. None of my other plugins really do anything intense. Only 1/5 websites are “live” so the rest shouldn’t really have any traffic (probably just me and one other person browsing). And the 1/5 site I am talking about should really only have traffic after 5pm (London time) as it’s a online website for a restaurant for customers to place orders. However my cpu is maxing out even first thing in the morning.
Hi
Also to note, I actually have two separate wordfence start Cron jobs. Is this normal?
Thanks
ZedHi sorry to dig up a old thread
I had similar issues with CPU maxing our. I have 5 wp sites on a vulture 2gb vps.
I actually clone my website and then modify it for each client each time. So I do suspect I am copying across settings (as per your email above).
What would be the best way arround this? Would deleting and reenabling the plugin work?
Thank
ZHi Eli
FYI – I managed to fix it. I enabled php debugging so errors are displayed. Turns out I had a error because the class.wp.php was deleted. I just had to replace the file from a fresh copy of WordPress and it all seemed to work fine from there on.
Kinda Regards
ZThink this is linked with my error. So please reply with the resolution. Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] Formula to check value against anotherThe only thing with the equation you have below is that all these are fine:
B1 = 1
B2 = 1
B3 = 1
B4 = 2But B11 and B21 and B22 etc also =1, when in fact they should be 2.
Forum: Plugins
In reply to: [Calculated Fields Form] Formula to check value against anotherThank you very much! I knew there would be a way!
Forum: Plugins
In reply to: [Calculated Fields Form] Symbol for sliderThank you!
Hello Saiful
I just transferred the Nameservers over so it may not have taken effect. Please try again: https://www.bringthefood.co.uk
It is just styling issues I have. Do you do custom coding? I am sure you can sort it out very quickly. I have emailed you seperatly about this at [email protected]