lh23
Forum Replies Created
-
Forum: Plugins
In reply to: [2FAS Prime — Two Factor Authentication] Resetting userIt worked, thank you very much!
Forum: Plugins
In reply to: [Event Tickets and Registration] Error on Checkout pageSame here. I will also file a ticket.
Hi Anton,
I forgot to mention that I tried with all plugins disabled. I enabled the debug.log and got this immediately after repeating the operation:PHP Notice: Trying to get property ‘post_type’ of non-object in /var/www/vhosts/myurl.com/wp-includes/class-wp-query.php on line 4094
Forum: Plugins
In reply to: [Media Library Assistant] MLA with Posts Table ProThank you! I was on the right track, it turned out that I also needed to specify that Posts Table Pro should search only for ‘attachments’ – the following code worked for me:
[posts_table post_type=”attachment” term=”attachment_category:newsletter”]Thanks for all of your always excellent support.
Forum: Plugins
In reply to: [Flow-Flow Social Feed Stream] Footer PaddingI am also looking to delete that padding. Can you give me a hand please?
Forum: Plugins
In reply to: [Media Library Assistant] Caption blocking pagination controlsI spoke too soon. Based on your comment about the theme I found the offending section in my theme’s style.css and commented it out. All of my galleries are MLA galleries anyway. Now the caption shows up right beneath the file (instead of only on hover), which is great. Thanks again!
Forum: Plugins
In reply to: [Media Library Assistant] Caption blocking pagination controlsThank you for the help. Your plugin is very complex (for me!) but the level of support you provide is incredible. Unfortunately your suggestions didn’t help but I will keep poking around to see if I can find something that works.
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] Zero charge for certain itemsThat did it! Thank you so much. Same to you!!
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] Zero charge for certain itemsHi @vyskoczilova,
I am just trying to tell it that if the cart subtotal is zero, not to apply the fee./** Woocommerce – don’t add Stripe fee if only a free purchase
*/
function my_pay4pay_handle_free( $do_apply , $amount , $cart_subtotal , $current_payment_gateway ) {
if ($cart_subtotal == 0)
return false;
else
return $do_apply;
}
add_filter( “woocommerce_pay4pay_apply”, ‘my_pay4pay_handle_free’ , 10 , 4 );I think the two things I’m having trouble with are getting the cart subtotal:
if ($cart_subtotal == 0)
I have also tried: WC()->cart->subtotal == 0Also, does this code go in functions.php or class-pay4play.php
Thanks again
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] Zero charge for certain itemsHi Karolina, I don’t expect you to offer free support but thought I would ask. I am trying this code and getting errors, but I am guessing at some of the terms:
/** Woocommerce – don’t add Stripe fee if only a free purchase
*/
function my_pay4pay_handle_free( $do_apply , $amount , $cart_subtotal , $current_payment_gateway ) {
if ( amount_is_0() )
return false;
else
return $do_apply;
}
add_filter( “woocommerce_pay4pay_apply”, ‘my_pay4pay_handle_free’ , 10 , 4 );Thanks for the help. Just to close the loop here, this is Stablehost’s response. We’ll see what happens next time:
In the very first response it was mentioned that
“An error occurred while updating UpdraftPlus – Backup/Restore: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. vendor/phpseclib/phpseclib/phpseclib/Net/error_log”
It logs the errors only so it’s not an important file.
And it’s not a security issue with the server because it changes the permission only when you upgrade the plugin. That said, I made some changes to the file and hopefully it won’t happen again.
Hi David, Stablehost corrected the permission, I updated, and it changed back again during the update. They corrected it to my username:
-rw-r–r– 1 username username 97 Dec 22 09:08 error_logI updated the plugin via the WP Dashboard, and then the permission changed back to:
-rw-r–r– 1 root root 97 Jan 25 13:08 error_logNot sure what to say! Thanks for the help.
Forum: Plugins
In reply to: [Pay for Payment for WooCommerce] Zero charge for certain itemsThank you for the reply, that may be beyond my abilities but I will play around with it sometime!
Thanks for the plugin as well.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Google API ErrorFound this page after spending time troubleshooting; I’m on php 7.1.2. Hopefully it is resolved soon! Any updates or should I downgrade to 7.0?
Forum: Fixing WordPress
In reply to: Plugins not giving me update notificationsFor the last few days this is the only error I’ve been getting (same one every day):
[Thu Dec 12 18:00:23 2013] [emerg] [client 157.55.32.153] (22)Invalid argument: mod_fcgid: can’t lock process table in pid 31927
I should also add that when I was on 3.7.1, every time I logged into my Dashboard I would get the yellow bar at the top saying ‘upgrade to WP 3.7.1!’ Even though I was already running it. When I’d go to the Updates page, that notification would disappear and it would recognize that I was already on 3.7.1. Reinstalling made no difference, nor did having my host refresh the core files. Now I’m on WP 3.8 and the same issue is occurring – telling me I still need to upgrade to it.