Posted: September 15, 2015 at 8:00 pm
We get the following error when trying to use a promotional code: An unknown error occurred on the server while attempting to process your request. Please refresh the page and try again or contact support. |
|
Do you have a code I can try to test on your website? I tried using a bogus code, and it showed that the code was not valid: |
|
Hi Seth, Please try test553 Thanks |
|
Hi Susan, I ran a test registration and ran into the same problem. Can you temporarily enable WP_DEBUG on the site so we can catch any errors being thrown please? (Note any errors will be visible to your sites visitors whilst WP_Debug is enabled) The admin-ajax.php file is returning error 500 internal server error which usually means a fatal error is being thrown – http://take.ms/zVqPt If you have access to the servers error logs you may also find the error shown there. |
|
Hi Tony, When I go to the backend and click on “Promotions” I see: An EE_Error exception was thrown! code: EE_Promotion – scope_obj – 398
|
|
Can you open the ‘Settings’ tab within Promotions? If so can you simply click to save the settings there. Is the error then removed? |
|
When clicking on “Promotions” there is no settings tab rendered. |
|
Can you FTP in and check to see if your copy of the promotions add-on has this file: wp-content/plugins/eea-promotions/lib/scopes/EE_Promotion_Event_Scope.lib.php If it doesn’t, you can download a fresh copy of the promotions add-on from your account page, and re-install. |
|
Hi Josh, yes it does. I also re-downloaded the plugin and re-uploaded it to ensure there was no issue during the upload process. |
|
Hi Susan, are you uploading through SFTP or FTP? If so, could you try re-installing by removing the existing version and then uploading the zip through WordPress plugins in your WP dashboard? If that is not available, then please try an alternative SFTP or FTP client for the manual upload. — |
|
Hi Lorenzo, I deactivated the plugin and re-uploaded the plugin through FTP and still not working. |
|
Hi Susan, are you able to remove both the core plugin and the promotions plugin and then get fresh copies and install through the WP dashboard instead of using an SFTP / FTP client? We aren’t purposefully asking the same question over and over but we have seen incomplete installations through FTP / SFTP cause strange issues. If your site does not allow uploads through the WP dashboard, then please let us know and in this case, I would try a different SFTP / FTP client to manually upload again. — |
|
You could also verify that the file’s permissions are set to allow them to be read. |
|
September 18, 2015 at 10:45 am I uploaded the files through the WP uploaded and still no luck. Chmodded files and folders to 777 and still no luck… chmodded folders back to 775 and files back to 644 still no luck…. What next? |
|
September 18, 2015 at 10:52 am I just wanted to let you guys know that with debug enabled no errors are appearing when I click on “Promotions”, however I still get an error when I try a coupon such as test553 |
|
September 18, 2015 at 11:13 am When you go to the Promotions admin page, can you open the ‘Settings’ tab now? |
|
Yes I can save. |
|
Do you have WP_DEBUG set to true, and is there an event with a code we can test on at the moment? |
|
Try test553. Debug is enabled. |
|
Anything? |
|
Hi Susan, Which event is that code currently applied to? I tested on a couple of events but the code is not valid on those events. When you create the promo code you apply that code to events – http://take.ms/pY4ja So in my example the code can only be applied to the ‘Active Event’ event. Can you link us to an event that your promo code applies to please? |
|
I applied it to all events but for some reason it isn’t taking effect. Can we provide you backend access to take a look? |
|
? |
|
If you can provide temporary login details using this form I’ll take a look: |
|
Hi Tony, access has been sent through the form. |
|
September 22, 2015 at 10:43 am Hi Susan, I looked over your promotions and found that the test promo code you provided had been trashed, is this a recent change or has the code been trashed whilst attempting to use the code? (trashed codes cannot be used which would explain the above) I tested your currently active code on one of your events and it worked without a problem. I do see the problem with the events selection on your site, so far I’ve been unable to reproduce it locally but will continue to investigate. |
|
Hi Tony, When you say: I do see the problem with the events selection on your site, so far I’ve been unable to reproduce it locally but will continue to investigate. You are referring to the fact I am unable to apply the code “bigdiscount” to all events correct? This is definately problematic. Also, how would you do fixed dollar discount? I see there is two options: 1) Percent Where is it getting these types from? |
|
Yes, there is something very strange happening with the event list there. It is possible to get the events to all list there (click ‘sort’ and you’ll find events you previously did not) but it isn’t working as expected. Currently I suspect its being cause by some form of plugin conflict although I’m running through various testing to see if I can reproduce first.
Those are pulled from the default price types. If you go to Event Espresso -> Pricing -> Price Types (tab) Do you see Percent and ‘Hamilton huskies discount’ listed there? |
|
Hi Tony, I’ll upgrade all plugins including EE4 on Saturday and will let you know the outcome. |
|
Still not able to select all events after upgrade. Can you take a closer look? |
|
Come on guys… let’s get this working as expected!!! |
|
Hi Susan, I’m sorry for the delay in getting back to you, this bug took some tracking down, hitting a few dead ends on the way! We’ve found the cause and have created a ticket for our developers to investigate and fix, we will update this thread with any news. Currently if you click the ‘sort’ link to sort ascending – http://take.ms/6XEtT You should see the events that you previously could not select. |
|
The support post ‘Problem With Promotional Code Plugin Latest EE4’ 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.