-
Author
-
April 9, 2016 at 00:11 #115414
joshveach
ParticipantHello, Have a conflict with applying discounts using the PaidMembershipsPro plugin and get “Error applying discount code [1].”
I don’t know when the problem began but I do know at one point discounts were working fine with the Kleo theme.
I have confirmed with my host (WP Engine) that it is not a caching issue. WP & plugins all up-to-date. I disabled plugins which didn’t work.
Tested the TwentyFifteen theme and the discounts worked without problem.
Could you help me identity what could be causing the error? Thanks in advance for your help!
April 11, 2016 at 15:10 #115629Laura
ModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 13, 2016 at 20:19 #116381Radu
ModeratorHi,
Please do next :
Update the theme to latest version 4.0.4 and the afferent plugins, you can check the plugin update status from wp-admin -> appearance -> install plugins.
If this is useless please follow these steps to enable wp debug:
- Connect to your server by FTP
- Look in root directory of your WordPress install and open wp-config.php
- Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
COPY CODEdefine( 'WP_DEBUG', true );- After this line add this:
COPY CODEdefine( 'WP_DEBUG_LOG', true );WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).
Repeat the described actions and then check the debug.log file and let me know what error appears.
If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.
After you have disabled the plugins try to see if the error persists.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 14, 2016 at 01:54 #116477joshveach
ParticipantHello and thanks for your reply,
Theme & plugins have been updated. Error persists with all other plugins disabled – I . Log is attached.
Error that appears onscreen:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init()
Thanks
April 14, 2016 at 16:54 #116603Radu
ModeratorOk
Please do the following
1. Login to FTP go to wp-admin -> wp-content/themes/kleo/
2. Delete paid-memberships-pro folder.
3. Reupload the theme files over the existing theme files ( first download latest theme version 4.0.5 )
4. Check again
Let me know
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 15, 2016 at 01:23 #116747joshveach
ParticipantCompleted these steps, unfortunately no change.
April 15, 2016 at 18:28 #116879Radu
ModeratorHi,
Please check all related links from here : https://www.google.com/search?safe=off&q=PaidMembershipsPro+Error+applying+discount+code+%5B1%5D maybe there is some solution or cause
Let me know
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 23, 2016 at 01:02 #118528joshveach
ParticipantHi, yes that was the first place I went. However through deactivating other plugins and activating default themes, it is clear that the conflict is theme related. After receiving your last message I even created a ticket with PaidMembershipsPro and they confirmed it is theme related.
There has to be something going on that is causing this error. Are there any other steps we can take to try to troubleshoot?
April 25, 2016 at 16:01 #118744Radu
ModeratorHi,
Unable to reproduce your described error, https://drive.google.com/file/d/0Bxo5b6iHWRMwRHVaeFpiMXpyQkE/view
Can you please make a video in that you provide steps by steps to reproduce the issue ?
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 25, 2016 at 16:03 #118745Radu
ModeratorIf you install on a subdomain kleo and pmpro you are able to reproduce the issue ?
Also try to reproduce that with the child theme deactivated, activate Kleo parent theme instead the child.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.