Support

Home Forums Multiple Event Registration Add-on Error when testing PayPal and EE shopping cart for multiple event purchase

Error when testing PayPal and EE shopping cart for multiple event purchase

Posted: August 9, 2012 at 11:33 am


Cindi Landreth

August 9, 2012 at 11:33 am

I get the following error when I am testing multiple event purchasing via Events Expresso shopping cart.
 
Fatal error: Cannot redeclare apply_htmlentities() (previously declared in /home/cirrusde/public_html/wp-content/plugins/event-espresso.3.1.22.1.P/includes/process-registration/add_attendees_to_db.php:35) in /home/cirrusde/public_html/wp-content/plugins/event-espresso.3.1.22.1.P/includes/process-registration/add_attendees_to_db.php on line 35

I’m using Paypal sandbox and I am following these instructions:
http://eventespresso.com/forums/2011/03/testing-your-paypal-ipn/
http://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/

I would appreciate any advice or insights on how I can resolve this.

Thanks!


Josh

  • Support Staff

August 9, 2012 at 12:12 pm

Hi Cindi,

You can resolve this by updating to the latest version of Event Espresso. The function has been changed from “apply_htmlentities” to “espresso_apply_htmlentities” so that it shouldn’t clash with other plugins.

Here is a link to the documentation that includes step by step instructions for updating Event Espresso: http://eventespresso.com/wiki/updating-event-espresso/


Cindi Landreth

August 9, 2012 at 2:53 pm

Thanks Josh,

Will upgrading to the new version of EE affect any of the customization I have done and will I have to redo all of it?

OR

will cusomizations remain in place when I update to new version?

Thanks


Josh

  • Support Staff

August 9, 2012 at 3:04 pm

If you’ve customized the files inside the Event Espresso plugin directory, updating will overwrite them.

If you’ve made CSS customizations, these can be copied over to /wp-content/uploads/espresso/templates. Templates can be copied over there as well, but there have been some changes to the templates recently. So if you’ve made changes to the templates, these should be merged to the new templates. If it’s in a template, these can be copied over to /wp-content/uploads/espresso/templates. We recommend using Diffmerge to help merge changes into custom templates. There is more information in this guide: http://eventespresso.com/wiki/put-custom-templates/


Cindi Landreth

August 22, 2012 at 9:22 am

Josh, In the instructions you provided:
“1 – In order for the event_espresso_style.css to be used, you need to activate it in the Template Settings -> Enable default style sheet? by setting that to Yes.”

Is “Enable style sheet” the same as “Enable legacy style sheets? ”
Under Stylesheet Options> Legacy Styles?

I’m not finding ‘Enable default Style sheet’ anywhere on the Template Settings page.

Thanks


Chris Reynolds

  • Support Staff

August 22, 2012 at 10:18 am

Is “Enable style sheet” the same as “Enable legacy style sheets? ”
Under Stylesheet Options> Legacy Styles?

No, they are not the same, and I think actually the “Enable default style sheet” option has been removed because I don’t see it in .26, either. Uploading an event_espresso_style.css to your /wp-content/uploads/espresso/templates directory should include your custom styles. Alternately you can make any CSS changes to your theme.

The support post ‘Error when testing PayPal and EE shopping cart for multiple event purchase’ 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.

Status: closed

Updated by  Chris Reynolds 8 years, 5 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!