Support

Home Forums Event Espresso Premium Fatal error: object of class wp_http_cookie could not be..(HELP!)

Fatal error: object of class wp_http_cookie could not be..(HELP!)

Posted: February 26, 2015 at 5:15 pm

Viewing 11 reply threads


Khalid Joharji

February 26, 2015 at 5:15 pm

Greetings,

the only disabled payment option i have is PyaPal Standard
am using EE4

I have around 80 people registered, and they all said they made the payment but it did not reflect in my eventespresso, it states that many are incomplete payment, others are abandonment.

although i tried myself and made the payment and what i ended up is that my payment was successful in paypal but when i returned to my website this error showed up

Catchable fatal error: Object of class WP_Http_Cookie could not be converted to string in /home/content/20/12108020/html/wp-includes/formatting.php on line 3769

and it shows up in the eventespresso as if they payment were abandonment!

the styled am using via “My Custom CSS Options plug in” is

.ee_grid_box h2 {
line-height: 17px;
}

.tckt-slctr-tkt-details-td span:nth-of-type(4),
.tckt-slctr-tkt-details-tbl th,
.tckt-slctr-tkt-details-tbl td:nth-child(3),
.tckt-slctr-tkt-details-tbl td:nth-child(4),
.tckt-slctr-tkt-details-tbl td:nth-child(5),
.tckt-slctr-tkt-details-tbl td:nth-child(6) {
  display: none;
}

<script type='text/javascript'>
window.__wtw_lucky_site_id = 34064;

	(function() {
		var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
		wa.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://cdn') + '.luckyorange.com/w.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
	  })();
	</script>

please help me ASAP


Dean

February 27, 2015 at 1:22 am

Hi,

We came across this issue once before, the customer was using a plugin called WordFence (a security plugin). Are you using this plugin or any other security plugins?

The short term resolution for that client was to disable the security plugin, as the problem only occurred when it was enabled. No formal resolution was found.


Khalid Joharji

February 27, 2015 at 3:15 am

Hi Dean,

No, am not using WordFence plugin and not using any secruity plugin whatsoever,

the following is all plug ins that i have

activated
Akismet
CM Answers
Contact Us
Contact Us Form
Easy Gallery
Event Espresso
Event Espresso – Barcode Scanner (EE 4.6.0+)
Event Espresso – Calendar (EE 4.3+)
Event Espresso – Events Table View Template (EE4.4.9+)
Event Espresso – Grid View Template (EE4.4.9+)
Event Espresso – Infusionsoft (EE4.4+)
Event Espresso – MailChimp (EE4.4.5+)
Event Espresso – Social Sharing (EE4.4.4+)
Event Espresso – Stripe Gateway (EE 4.6.0+)
Event Espresso – Ticketing (EE4+)
Floating Social Media Links
Go Daddy Quick Setup
Google Analytics
Google Forms
Jetpack by WordPress.com
JS Support Ticket
Juiz Social Post Sharer
Lucky Orange | Chat, heatmaps, polls, visitor recordings, live analytics.
My Custom CSS
Welcome to WordPress
WordPress Importer

inactivate
Mail Subscribe List
PunchTab for WordPress
The Events Calendar
Social Media Feather
WPS Coupons Management
WP Simple Paypal Shopping cart
WP Support Plus


Dean

February 27, 2015 at 3:31 am

Thanks!

It looks like this is an EE issue, though at first the developers and I didn’t think it was. We are currently resolving a fix for it that will be included in the next version.


Khalid Joharji

February 27, 2015 at 3:34 am

What can i do currently to resolve this?

If i went to each transaction page and clicked “Make a Payment” does that going to reflect on my paypal account and consider the payment complete?


Tony

  • Support Staff

February 27, 2015 at 6:00 am

Which version number of Event Espresso 4 are you using?

Event Espresso makes no changes to your PayPal account, only the transaction within Event Espresso itself.

When looking within one of the transactions, do you see any payments, like this? – http://take.ms/WHsBM


Khalid Joharji

February 27, 2015 at 6:07 am

am using EE4 the latest version.

Yes, some of them are abandonment and looks like the picture while in this example when i did the process myself the payment were actually dedicated from my account.

while most of the others their status is “incomplete” and they say they also got dedicated from their accounts

i bought a token for priority support and provided you with access to the website.


Josh

  • Support Staff

February 27, 2015 at 11:56 am

Hi Khalid,

There’s an update ready that includes a fix for the wp_http_cookie issue. Normally the wp_remote_request for the PayPal IPN does not set a WP_http_cookie in its response, but this version adds a way for Event Espresso to handle it if it does. If you go to your Event Espresso > General Settings page and save the settings, you’ll get an update notification on your WP Plugins page.

As an aside, in the CSS that you posted, there’s a block of JavaScript code in there. That may or may not be allowed to be input in your CSS plugin. So if you’re having troubles with that code executing, that’s probably why.

There are other WP plugins that allow you to inject custom JavaScript onto front end pages, or you can also add custom JavaScript via a custom function in your theme’s functions.php file. There a lot of tutorials on the web that outline how to add custom JavaScript to a WordPress site that you can find by doing a quick search.


Khalid Joharji

February 27, 2015 at 12:18 pm

Josh,

I just updated the plugin, I thought i get the update notification automatically and am not sure why these steps are required to show the update. thanks for sharing this.

as for

As an aside, in the CSS that you posted, there’s a block of JavaScript code in there. That may or may not be allowed to be input in your CSS plugin. So if you’re having troubles with that code executing, that’s probably why.

Could you be more specific to which line you are pointing that block of javascript? so i can delete it entirely for now and add it back properly the way you mentioned later on?

these codes are one for three functions:

1- Fixing the grid view text over the picture
2- hiding the sold tickets, available seats
3- adding the online chat with lucky orange


Josh

  • Support Staff

February 27, 2015 at 12:27 pm

The entire block of JavaScript, outlined in pink here, should not be added via a custom CSS plugin. CSS plugins are for adding CSS, not JavaScript.


Khalid Joharji

February 27, 2015 at 12:29 pm

Josh,

It’s all black nothing is pinkish, but i guess you mean:

<script type='text/javascript'>
window.__wtw_lucky_site_id = 34064;

	(function() {
		var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
		wa.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://cdn') + '.luckyorange.com/w.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
	  })();
	</script>


Lorenzo Orlando Caum

  • Support Staff

February 27, 2015 at 12:53 pm

Hi, that is correct:

http://cl.ly/image/3n2d1L071d1F

It should be moved out of the file since CSS files are for holding styles. You should be able to update it via the settings are for My Custom CSS.


Lorenzo

Viewing 11 reply threads

The support post ‘Fatal error: object of class wp_http_cookie could not be..(HELP!)’ 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