Support

Home Forums Event Espresso Premium E-Mail Template (2)

E-Mail Template (2)

Posted: May 26, 2017 at 3:16 pm

Viewing 5 reply threads


crier-eventapp

May 26, 2017 at 3:16 pm

Hello,

since I updated the Plugin to the newsest Version I can’t customize the E-Mail Template.

There is a warning so I cant save my custom tempalte:
Warning: sprintf(): Argument number must be greater than zero in /pages/94/2c/d0012998/home/htdocs/demo.crier-eventapp.de/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Event_Shortcodes.lib.php on line 67

What can I do?


Josh

  • Support Staff

May 26, 2017 at 6:49 pm

The warning you’re seeing is likely coming from a typo in the translation for that string. Are you using a custom language file?

Alternatively you can turn off WP_DEBUG and add
@ini_set( 'display_errors', 0 );
to your wp-config.php file.


crier-eventapp

May 27, 2017 at 4:43 am

Hey Josh, yes I#m using a custom language file.
How can I find that failure in this file?


Tony

  • Support Staff

May 29, 2017 at 6:54 am

Open up your PO file and look for this string:

This will parse to the Feature image for the event, %1$ssize%2$s can be set to determine the size of the image loaded by the shortcode. The %1$swidth%2$s and/or %1$sheight%2$s can also be set to determine the width and height of the image when output. By default the shortcode will load the %1$sthumbnail%2$s image size.

Do you have that translated without the placeholders? %1$s and %2$s


Josh

  • Support Staff

May 29, 2017 at 12:14 pm

Here’s a link to the string in question from the GlotPress site:

https://is.gd/KO0Zap


crier-eventapp

May 30, 2017 at 11:04 am

Thank you! – It works now!

Viewing 5 reply threads

The support post ‘E-Mail Template (2)’ 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.

Event Espresso