Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Payment Screen | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Payment Screen

Payment Screen

Posted: June 27, 2013 at 1:12 pm

Viewing 8 reply threads


Kimber Lintz

June 27, 2013 at 1:12 pm

I am getting code under the credit card (using Stripe) form. Also I have two empty boxes under offline payment. (see image below) Anyone know how to fix these?

http://thestarawards.com/wp-content/uploads/2013/06/event-esspresso.png

  • This topic was modified 11 years, 7 months ago by Kimber Lintz.
  • This topic was modified 11 years, 7 months ago by Kimber Lintz.


Garth

  • Support Staff

June 27, 2013 at 4:47 pm

Hi Kimber,

Are you modifying the templates? The layout of that page is not a standard WordPress theme or layout with Event Espresso.

I think those empty boxes are related to activated offline gateways (first guess). What offline payment gateways do you have activated? Can you remove any unused offline gateways?


Kimber Lintz

June 28, 2013 at 10:20 am

Hi Garth,

We aren’t modifying any of the templates. When we uploaded the software that’s how everything looked. All payment gateways are turned off with the exception of the Invoice gateway.


Dean

  • Support Staff

June 28, 2013 at 12:49 pm

Hi Kimber,

I did a test registration on your site to take a closer look at this. What is happening is the theme is formatting the page content and adding paragraph tags where there shouldnt be any, in this case around some hidden links that help us show the invoice details.

Often the theme is using code like this http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode.

You could try adding raw around the [ESPRESSO_EVENTS] shortcode, or see if the theme has similar code to the above and remove it.


Kimber Lintz

June 28, 2013 at 1:17 pm

Hi Dean,

Neither one seemed to work, as I am still getting these boxes.


Dean

  • Support Staff

June 28, 2013 at 1:26 pm

Is it possible to get your login details in order to look into this?

If so, please send them via http://staging.eventespresso.com/send-login-details/

NOTE: login details need to be Admin level.


Dean

  • Support Staff

June 28, 2013 at 1:36 pm

Hi,

This is from your themes functions.php file, pretty much at the start

function my_formatter($content) {
	$new_content = '';
	$pattern_full = '{(\[raw\].*?\[/raw\])}is';
	$pattern_contents = '{\[raw\](.*?)\[/raw\]}is';
	$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);

	foreach ($pieces as $piece) {
		if (preg_match($pattern_contents, $piece, $matches)) {
			$new_content .= $matches[1];
		} else {
			$new_content .= wptexturize(wpautop($piece));
		}
	}

	return $new_content;
}
	
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');

add_filter('the_content', 'my_formatter', 99);

This function is what is modifying the default behaviour of WordPress and subsequently causing the extra and unnecessary < p > tags. You could test the behaviour by removing that script.

Important: If you try this, you will need to make sure you have FTP access, and you have backed up your files, as even a small error in the code can lock up your site, until you deactivate the theme via FTP (rename the folder).

If you are not confident with this you could refer to your webdeveloper or the them author.


Kimber Lintz

June 28, 2013 at 3:10 pm

Hey Guys,

What I actually ended up doing was creating a different directory and adding a wordpress site to that directory. I then used the default wordpress theme to create just a blank page. http://thestarawards.com/register

Everything seems to be working much better. Thanks for your help!


Garth

  • Support Staff

June 29, 2013 at 11:37 pm

Thanks for reporting back.

Viewing 8 reply threads

The support post ‘Payment Screen’ 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 - Staging Server