Posted: September 8, 2015 at 7:22 pm
|
I’m using the latest version of EE and the Promotions plugins. I have a customer who has close to 20 promo codes to track various marketing efforts. When we create a new Event we have to edit all 20 promo codes to add the new event to them. This is a lot of extra work for the customer considering them add multiple events weekly. How can we add a promo code which will work for all events, even future ones? I thought adding a promo code and specifying the Event Category would add that promo code to all future events in the category but it doesn’t. Any help would be greatly appreciated! |
Hi Dave, How are you today? You can edit a promo code and Select All to have that code apply to all existing events. http://www.screencast.com/t/aoFmrEO7q You will have to edit each promotion that you want applied, but that is the option for right now. However, we plan to make your request available with a new “cart” scope code that will apply to anything in the cart, not specific events with the “event” scope. Does that help? |
|
|
That would be great if the “cart” promo option was available. Unfortunately the current version is going to require a lot of extra work every time we create an event. Would you happen to have an ETA of when the “cart” promo option will be available? |
Hi Dave, Sorry, we don’t have an ETA on the cart promo option. |
|
|
Is there anything I can change within the code of the plugin to support this sooner? This is a must have for us. |
Hi Dave, If you or a PHP developer on your team would like to add the feature, it can be added sooner via a pull request. You can request access to the Promotions add-on repository via this form: |
|
Update: The Global Promotion feature is available now as it was included in the latest update of the promotions add-on. You can use it to set a promotion to apply to all current and future events. |
|
|
I upgraded the Promotions plugin and EE from the WordPress admin dashboard but now when we go to EE > Promotions it returns the error: The EE_Promotion_Event_Scope class was not found. EE_Promotion – scope_obj – 398 |
Hi Dave, it sounds like the update partially completed. Could you deactivate and remove the promotions add-on through your WP dashboard and download a new copy and upload and activate? Here are the version numbers: Event Espresso 4.8.21 — |
|
|
Same error. I deleting the plugin and then installed it directly but still shows: The EE_Promotion_Event_Scope class was not found. EE_Promotion – scope_obj – 398 |
Alright, could you try these steps? Go to Event Espresso –> Promotions. Then click on the Settings tab and then click on Save: http://cl.ly/image/0P33073w0y2Q — |
|
|
That page just hangs. It seems it tries to contact your server after I click Save under Update Settings. I can tell this since it also shows the following under ================================ RSS Error: WP HTTP Error: Connection timed out after 10001 milliseconds From the Forums Can you please make sure your server is not blocking our server. The IP is 69.46.29.42 The static IP of the site is 69.46.29.137 |
|
Please keep in mind I was going to the page EE > General Settings > Save when it just hangs and show the connection errors to your RSS feeds for News. While I have been troubleshooting I had to restore from a previous backup to get the site working… I then tried to update the plugins again but it returns an error that it cannot connect to your servers. Something on your end is blocking our server. Please look into this. |
|
Also after I do upgrade the plugins there is no option to go to Promotions > Settings. I can get to the Pr motions page but it returns the error: The EE_Promotion_Event_Scope class was not found. EE_Promotion – scope_obj – 398 |
With the fresh copy of the promotions add-on active, and error display turned off/WP_DEBUG set to false, is there a settings tab that you can click on from the Promotions page? If so you should be able to click the settings page and save the settings, which will fix the error you saw. |
|
|
There is no Settings tab when I go to EE > Promotions. Only the error and 1 promo code I see listed when there should be 70 of them. When i click on the 1 promo code it goes to a blank page. |
It’s not initializing correctly. Here’s what you can do: 1) Deactivate Event Espresso 4 core and all the add-ons from your WP plugins page. |
|
|
I have discovered the problem only occurs when I have the following plugin active as well: Event Espresso – MailChimp (EE4.4.5+) Version 2.3.0.p If I activate that plugin it breaks the latest version of the Promotions plugin. For now I disabled the EE MailChimp plugin. |
Hi Dave, Can you update to the latest version of the MailChimp add-on? That should fix things for you. |
|
|
I got MailChimp upgrade and fixed the problem but I also notice my calendar doesn’t work now at http://paintthetowncitrus.com/calendar-of-events/ I am using the latest version Event Espresso – Calendar (EE 4.3+) Version 3.2.6.p I’m using the shortcode: [ESPRESSO_CALENDAR] Also any ideas why I have to manually upgrade your plugins? WordPress normally alerts me if there is an available plugin update. |
|
Also people can’t register for events anymore after the recent upgrade. Visit https://paintthetowncitrus.com/events/beths-citrus-p-jones-2/ and try to add an Adult Admission to the Cart. it just reloads the page and doesn’t work properly. Please advise. |
|
I am using the latest version of EE and all plugins and still people cannot register for events. It just reloads the page when they try to add a ticket to their cart. Any ideas? |
|
As a test I disabled all WordPress plugin except the required ones for my theme and Event Espresso. I then tried to sign up for an event… it took me to the Checkout page but it just showed the shortcode [ESPRESSO_CHECKOUT]. It seems EE shortcodes no longer work with the latest version of EE. |
|
some things I found… If I have Event Espresso – MER – Multi Event Registration (EE 4.7.0+) version 2.0.6.p activated an event page just reloads when I try to add tickets to the cart. If I disable that plugin it shows a button “Register Now” instead of “Add tickets to cart”. If I click Register it takes me to the checkout page but it just shows the shortcode [ESPRESSO_CHECKOUT] |
Re: the shortcode not working. It’s only on your site where the Registration checkout page isn’t parsing the [ESPRESSO_CHECKOUT] shortcode. Can you go to Event Espresso > General Settings > Critical Pages, verify the settings, and save? If the configuration is stuck, you can also create a new page, set the [ESPRESSO_CHECKOUT] shortcode on it, and set the Registration Checkout page setting to point to the new page. Re: the calendar. There isn’t any calendar JavaScript or CSS on the page, so it could be a configuration issue. This might be fixed by going in and re-saving your Calendar Settings, and resaving the page that has the calendar shortcode on it. As far as the plugin updates go, WordPress will not alert you if there’s an Event Espresso plugin, EE.com sends the notifications and your server should receive them so long as there isn’t anything blocking EE.com from your server. |
|
|
>>> Can you go to Event Espresso > General Settings > Critical Pages, verify the settings, and save? Tried that, checkout page still just shows the shortcode. Calendar… tried saving the settings still no luck. Plugin updates… your server is not alerting our server of new updates. What is the IP address of your server that sends the alerts? I’d like to add it to our firewall whitelist. I had to go ahead and restore the site from a backup I made before I applied the recent EE and plugin updates. As you can see now the site does function properly, even the calendar at http://paintthetowncitrus.com/calendar-of-events/ I did clone the “updated” site to http://paintthetowncitrus.com/backup/ which you can see the calendar at http://paintthetowncitrus.com/backup/calendar-of-events/ still doesn’t work and no one can register for an event. I’ll try updating the plugins again on the production site but i don’t see any problems on our end that is causing this nor have any other changes been made other than upgrading EE and its plugins. |
The config on your updated site is probably messed up. If you take the database backup from your production site (where everything works), clone that to a site, and then run the updates there that should work. Today the IP address for ee.com is 104.131.191.190. |
|
|
I cloned the site and yes some plugins showed they needed to be updated except for the following: EE MailChimp It only alerted my that EE and Promotions needed updates when it should also alert MailChimp and People needed updates. Any further ideas? |
|
Here’s what I just tried and still all of the latest problems are occurring with the latest version of EE and plugins. I deleted EE core and all plugins… then installed EE core first, promotions and then the others. All problems still exist. When I restore from a backup to the older version I do not have any of these problems with the site. EE shortcodes no longer work for the calendar and checkout page with the latest version of EE. Also people cannot register for events. Any further ideas? |
|
Alkso, yes after I installed the plugins again I went clicked Save for all of the settings including EE core and plugins…. still EE is not functioning properly. |
|
There’s definitely something wrong with the recent EE core update. After restoring my site to a working copy of the previous version I then tried to FTP the recent EE plugin to /public_html/wp-content/plugins/event-espresso-core-reg As soon as the upload was completed the calendar no longer showed at http://paintthetowncitrus.com/calendar-of-events/ and the registration process stopped working too. I really need this looked into further. I don’t see any issue son our end that is causing this. All of the recent problems point to something wrong with the EE core update. |
|
After hours of troubleshooting this I have determined the shortcodes in the latest version of EE do not work if I have the plugin WPBakery Visual Composer at http://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 activated. I’m using Visual Composer 4.8.1 which is the latest and required for my theme and site. I need EE fixed so it will work with this plugin. The previous version of EE worked fine with this plugin. Please investigate and fix. |
That’s strange. My site that runs Visual Composer isn’t affected by EE’s current version. Can you send a copy of the current version of your theme and a copy of your version of VC so we can investigate further? You can either post dropbox-type download links here or attach the zip files to an email and send to support at eventespresso.com and we can take a look. |
|
|
I’m using the the latest version of Total 3.2.0 at http://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019 which comes with Visual Builder 4.8.1 |
Can you send us a copy of the theme to support[at]eventespresso.com so we can install and test this please? |
|
|
Ok I’ve emailed the latest version of the Total theme to support[at]eventespresso.com some more testing I have done… I disabled all Widgets on the page at http://paintthetowncitrus.com/calendar-of-events/ including the ones in the right sidebar and footer but still the calendar doesn’t show if Visual Composer is active. |
One thing that you could try is bumping up the amount of available memory for WordPress. Since you’re finding that plugin x works if plugin y is deactivated, that could be an indication that your server is running low on memory. So when you deactivate plugin y, an amount of memory if freed up, which will prevent any potential PHP memory exhausted issues. |
|
|
Thanks for the suggestion but I already ruled that out. Within CloudLinux LVE I have memory limit set to unlimited. Also within my PHP config I have memory limit set to 4gig. |
Did you raise the limit that WP can get from the available memory in the wp-config.php file? eg.
It turns out we did not receive an email from you, and it may be because the attachments you tried to send were over 10mb. Can you upload the files to a publicly available file sharing service like dropbox? |
|
|
Here’s the theme at **Removed** I set wp-config.php as follows which didn’t help: define( ‘WP_MEMORY_LIMIT’, ‘2048M’ ); What’s strange is I installed a fresh copy of WordPress, the Total theme, EE, calendar, promotions, people and authorize.net plugins at http://paintthetowncitrus.com/fresh-install/calendar/ and it does show the calendar correctly. On the productions site I tried disabling pretty much everything (widgets, plugins, menu, logo, footer, CSS customization) and still the calendar won’t show. Even tried deleting and reinstalling Visual Composer.
|
Thanks for posting a copy of the theme. I loaded up the Total theme and the current version of Visual Composer with the current versions of EE4, the calendar, and the promotions add-on and I’m not seeing any breakage. The calendar still loads and the event registration works as expected. Can you enable WP_DEBUG logging on the production site, then reload the calendar page? That should log an error and give us something to go on. You can enable WP_DEBUG logging by editing the wp-config.php file, then replacing what’s there for WP_DEBUG with this:
Then you check for a debug.log file in the wp-content folder. |
|
|
Enabling debug doesn’t show any errors on the calendar page but I think I figured out the problem. It’s the plugin Templatera (Template Manager for Visual Composer on Steroids). I noticed everything works if I disable Templatera and enabled Visual Composer. Seems like Templatera is a plugin for Visual Composer so when Visual Composer was disable it disabled Templatera functionality as well. So at this point it seems to be working with Templatera disabled and Visual enabled. Thanks for all of your help! |
Hi Dave, Thank you for letting us know, I’m glad you found the cause. Would you mind sending us a copy of that add-on? I’d like to take a look and see if there is anything we can do to prevent this in the future. |
|
|
It can be installed from within the Total theme. It comes with that theme. |
Ah, ok. Thanks. I’ll do some digging and see what I can find. |
|
The support post ‘Global Promotion for All Future Events’ 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.