WPCharitable
Forum Replies Created
-
@awisqirani Thanks for the response.
Thanks for that additional information! What I was looking for was text in the same line before “campaign_hide_time_remaining”. Your logs and the sample of the same error you provided at the end confirms this is a PHP “Warning”. It’s not a critical error and the error itself (while should be corrected) shouldn’t be shown on a production site. To prevent this (and any other similar errors generated by any plugins, not yet Charitable) and would be adjusted by setting error logging to off.
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );By the sounds of it, you had error display on at the beginning – similar to how the sample site has this on- because you could read the message. So turning off such warnings after debugging is recommended. It’s possible a plugin might be forcing this on as well.
Let’s focus on the donation button “not appearing” because the error might not be related to that.
“Campaign Summary, Campaign Description, Donate Button” are fields, not layouts. So what I was trying to ask is if you selected a particular template (2 column or a pre-built template maybe with a theme). If you simply created a new 2 column template and added – for example – a donation button… and published the campaign would you still get the error and would the button appear? Follow these steps:
1. Click “Add New” In Charitable to create a new campaign (from the main menu or Campaign page)
2. You should see a list of templates. Click the 2 column template.
3. Name the campaign.
4. Drag over the campaign button to the empty editing field on the right.
5. Save and publish the campaign, then view it live.
The “warning” shouldn’t prevent the donation button from being shown (your sample of the same error proves that) so we are focused on the button issue in particular.
We preformed the same test on a 1.8.2 version and got the donation button to appear, so if it’s not working for you then the best suggestion would be to provide screenshots of each step (or a video if that’s possible). A public URL of the page would also be appreciated – that way we can tell if the button is hidden somehow. We couldn’t locate any errors or warning in your logs outside of the one already discussed but feel free to clear your logs and provide another file in the above text.Meantime, I’ll let our team know and the warning itself will be assuredly resolved in the next update. Thank you!
@awisqirani Thanks for reaching out! Here’s a list of things to try or give back to us for more information.
- Was there any more to the error message (perhaps before the text you shared)? Are you seeing this on the admin or frontend/template?
- Can you give us the steps you took to replicate the issue, so our team can attempt to reproduce it over here?
- Does this show on a blank campaign template (say 2 column) with just the donation button? Do you have any other campaign fields on the campaign page?
- Is this error visible on a public URL (or can you confirm where you are seeing this error message), and if so can you share that?
- Can you confirm what version of Charitable you are running?
If also possible (especially if there is nothing more to the message) can you enable logging as shown on this page. Edit wp-config.php on your WordPress root directory and add:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );When you’ve done this, repeat the issue and you can share the debug.log file that should have been generated (or share the errors in that file you see) with us. You can paste this into https://pastebin.com/ or https://gist.github.com and share a link with us.
Thanks. As soon as you share more information I’ll pass this along to our team!
@bradrickey We glad you love Charitable and hope to continue to make the product better for you! Thank you!
@lwdeddie thank you! very much appreciated!
We are going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation (and note the items we suggested as next testing steps).
Thanks! I hope the wedding went well!
@hollytocfnz Thanks for reaching out. If you are using recurring donations, then you need to contact the support on our website because this forum is only for support for the free plugin. Thanks!
@miwebdesigns plugin continues to work. licenses are for support and extension updates. hope this helps!
@tcoms OMG That’s amazing news. Congratulations! As a parent of three daughters myself, I can certainly urge you to enjoy this time and don’t worry… we will be here ready to help when you return. Thanks for also noting about the storm – we were impacted but made it through just fine. Enjoy yourself and talk soon.
Hi @tcoms
To help you in supplying us more information, I wanted to share what we tried over here (to confirm if you are inserting the donation form in a similar manner or maybe trying this differently).
To confirm your issue, this is what gateway settings we used:
https://a.supportally.com/i/Z5HojaThis is how we inserted w/ Divi a Charitable Donation form shortcode into a blank page/blank Divi layout (note we are not seeing the message):
https://a.supportally.com/i/TRw5lO
https://a.supportally.com/i/88FPQkWe would be more than happy to helping further but perhaps the above might clarify what we were trying (and perhaps you can perform a similar test to ours above). You are free to try our test and the previously mentioned suggestions in the previous reply along with providing the information we mentioned. After you can provide us with this additional information we’ll get back to you as soon as possible. Thanks!
@sterndata thanks for the reminder.
@tcoms Since we cannot reproduce the issue, I would recommend the following:
- If you are using a shortcode, let us know which one you are using and try embedding the shortcode on a default page without Divi.
- Try switching to a default WordPress theme to see if you get different results.
- Copy and paste the information in Charitable’s Tools->System Info into pastebin.com and share with us that link.
- Finally, since don’t know why you would be seeing the error please provide a step-by-step method of what you’re doing. Assume we have Divi and the latest version of Charitable installed.
Thanks!
@tcoms Thanks for reaching out.
This message should only appear for logged in admins, but if you want to remove it this snippet of code should do the trick (the message is filterable).
add_filter( 'charitable_no_active_gateways_notice', '__return_false' );Place this code in your functions.php or a code snippet plugin like WPCode (we recommend the later unless you are a developer – that way if there’s a typo or another error then the site won’t be severely effected).
Let us know if you have further questions on this. Thanks!
@pablopaul Since we haven’t gotten any reports of this issue we would be more than happy to determine why that “critical error” message would be appearing – if it’s Charitable or a conflict with the theme or another plugin… (since the error would stop all rendering of the page making the style “weird”, resolving this would probably resolve this as well)… The error could be a clue to other difficulties. I would suggest turning on WordPress debugging and you’ll get a more detailed error message that you can share, or you can send us access information privately and our team would be more than happy to take a look for you.
Again, we would love to determine what the issue was. We can also assist you in adding a button or a link as well. Thanks!
@owencutajar no problem. Again, that’s a guess. My theory would be proved if you switched themes and/or deactivated the plugins as I suggested. If you STILL get that then let me know. Having an end date is good, but I know that’s a temp solution.
I’m closing this thread but like I said ping me back here if we can help from this end.
Hey @owencutajar thanks for reaching out.
Charitable – as least directly in code – doesn’t generate that string. My guess – based at looking at the source code briefly is that this message is coming from your theme (LoveIcon). I would switch to a default WordPress theme and see if you get different results (clear any cache on your site and in your browser). That might help us further here – this might also be a question for the theme developers.
If you STILL get the message after switching to a default theme do the same test but disable all plugins BUT Charitable. Thanks!
@radu88 thank you for the kind words! glad you are enjoying using Charitable. 🙂