xorbal
Forum Replies Created
-
Forum: Plugins
In reply to: [Donations via PayPal] Help using radio buttonsHi, here’s the code for the dropdown that works:
// Add a drop down menu for donation purposes
function paypal_purpose( $purpose ) {
return '
<select name="item_name">
<option value="Donation to Org 1">Donate to Org 1</option>
<option value="Donation to Org 2">Donate to Org 2</option>
<option value="Donation to Org 3">Donate to Org 3</option>
</select>
';
}
add_filter( 'paypal_donations_purpose_html', 'paypal_purpose' );
Forum: Plugins
In reply to: [WP-FFPC] call_user_func_array expects parameter 1 to be a valid callbackHi,
I recently started getting “Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in…” whenever I installed a plugin. I’m using WP 4.4 and php7.
Then I found this: https://wordpress.stackexchange.com/questions/128864/getting-a-warning-call-user-func-array-error-whenever-i-install-update-a-pl
After going through all WP-FFPC files, I found that commenting line 187 in wp-ffpc-class.php did the trick.
//add_action( 'upgrader_process_complete', array ( &$this->plugin_upgrade ), 10, 2 );
I guess I’ll just have to uncomment it to re-save settings after updating the plugin.
Anybody know a better way?
Thanks and happy new 2016!
Forum: Plugins
In reply to: [W3 Total Cache] W3 Total Cache not serving all images from cloudfrontSame problem here. I’m using a Cloudfront distribution pushing mainly images from an S3 bucket and some of my images are being served from Cloudfront but others refuse to download from Cloudfront and are being served from my local server.
Forum: Plugins
In reply to: [Sequential Order Numbers for WooCommerce] Order ID in Order Received PageThanks! I had indeed modified and customized the Thank You page.
Thanks for your help! As you pointed out I hadn’t checked the Discussion button to allow comments for that post. Once I allowed comments, the ‘No Comments’ tag came back on. Interestingly, the ‘allow comments’ check button now shows up under the Saved Page.
Anyway, problem solved! Thanks!!
It’s only happening on the single post page and on the mail blog page but only for that specific post.
You can see it here:
https://www.agequisite.com/blog/
It’s the 3rd post entitled “Bangs are Cheaper than Botox”