Posted: June 8, 2018 at 7:08 am
|
Hi, I submitted a ticket earlier about Braintree not working. I was unable to get back in front of the project for a while but I want to now go ahead and get this resolved. When I try to activate Braintree I get what shoes in the image at the bottom. If I try to reload the Braintree activation URL link . I get a popup in chrome that says there are “Unsafe Scripts” that are trying to load. If I select to load those unsafe scripts then it turns my site HTTPS Red. I was suggested in my other thread to add this code:
But I do not believe that this is a WordPress issue so debugging had no effect. |
Hi there,
It doesn’t need to be a ‘WordPress issue’, the snippet above enables error logging to a debug.log file in wp-content so if any errors are being thrown on the above request but not shown they should show in the file mentioned. Did you add that code to your wp-config.php file? Also, it could be an issue with capabilities on your account, can you go to: Event Espresso -> Maintenance -> Reset/Delete Data. Click on ‘Reset Event Espresso Capabilities’ only (the other features on that page will remove your event data so make sure you click the correct button) – http://take.ms/vRgcZ Then retest activating the payment method. (If you have the WP_Debug code active when testing this any errors should then be logged). |
|
Hi there, May I ask can you check the debug.log file located in the wp-content folder of your server? Specifically are there any PHP Fatal Errors in the log file? |
|
|
@Tony Ah, okay. Yes I added the code there. I will try that.
|
|
@Tony I tried that, did not work. Still no debug.log. Should I create that file or should it be created automatically? |
If the server’s file permissions allow it, the debug.log file will be created automatically. So you can create the file since apparently WP cannot. |
|
|
I’ve created the debug.log file but it stays empty. Following all the above hasn’t added anything to the file. I’m not getting an error message on this or anything, it’s just like the plugin has no content so it’s not displaying anything. |
The thing is WordPress would still generate a header and footer if this were a matter of the plugin having no content. What’s more than likely happening here is there’s a fatal error being through and your server isn’t allowed to write to debug.log. So here are two other options to find that fatal error: 1) Check the server’s PHP error logs, your web host may be able to help with that. |
|
and a third option: 3) Install this plugin and view its log page after attempting to activate the Braintree add-on: |
|
|
I had my server check the PHP Error Logs and they found nothing. They said it was a plugin problem and not a server or site issue. I tend to agree as I had not problems until I updated Event Espresso from last years version to the current version. |
OK, thank you for checking. You could try reinstalling the Braintree add-on with a fresh copy downloaded from your account page. If that doesn’t help, we’re going to need to somehow figure out a way to capture the error, with or without the cooperation of your web host. Just so you’re aware of what the Braintree add-on settings page will look like when no errors are thrown, here’s what it looks like on one of our testing sites: |
|
|
I’ve just tried that. No effect. That’s what it was before I updated. I see the green button to activate it, just when I click that it brings me to that empty settings page, WP Sidebar and header is all there, just an empty EE Page. Tell me what you need an I’ll make it happen. |
One thing to check for is a capabilities issue. If you go to Event Espresso > Maintenance > Reset page, then click the Reset Event Espresso Capabilities button, does the page begin loading as expected? If not, another thing to check for is the potential for a plugin conflict. If all other plugins on the website are deactivated does the issue persist? |
|
|
I did a plugin check and found the rouge plugin: Event Espresso – Payment Methods Pro (Version 1.0.0.dev.003). When I deactivated it I could activate Braintree. Upon reactivating the plugin Braintree still works. It appears that the plugin is only stopping it from activating. |
You should delete that older version of Payment Methods Pro and replace with the current version (currently 1.0.1.p). You can download the current version of Payment Methods Pro from your account page. |
|
|
Will do, thank you |
The support post ‘Braintree Not Working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.