Support

Home Forums Event Espresso Premium Mijireh Fatal error: Cannot use object of type WP_Error

Mijireh Fatal error: Cannot use object of type WP_Error

Posted: May 17, 2017 at 8:49 pm


Christine Doyle

May 17, 2017 at 8:49 pm

This is the full error message:
Fatal error: Cannot use object of type WP_Error as array in /home4/ab45863/public_html/2017/wp-content/plugins/event-espresso-core-reg/caffeinated/payment_methods/Mijireh/EEG_Mijireh.gateway.php on line 233

And I see that mijireh is now redirecting to CloudSwipe, and I can’t get any information from them as yet.

It’s only a problem using the mijireh portal, not with Paypal.

Suggestions?

Chris


Christine Doyle

May 17, 2017 at 8:53 pm

From the webpage:

Mijireh-checkout-logo
Cloudswipe-logo
A brand new Mijireh is reborn as CloudSwipe

There are lots of nice improvements in CloudSwipe:

Custom subdomain
Faster and more secure checkout page
Brand new dashboard with an improved user experience
Built-in translations for English, French, Spanish and more coming soon
Support for over 170 payment gateways
Professional setup included ($49 value)
Many more improvements
Special Offer

We’re offering existing Mijireh customers $50 off off their first year of CloudSwipe at only $100 for the first year (normally $150). This will start a brand new 12 month billing period from the time that you upgrade.

Important (WooCommerce Only)

Right now we can only migrate Mijireh customers using WooCommerce as their integration. We are working hard to provide more integrations for CloudSwipe in the future.

Migration Steps

We’ll take care of migrating your Mijireh account information:

Sign in credentials will be the same
Your gateway configuration/credentials will be migrated
To get started, simply confirm this change by entering your Mijireh account password below and enter your payment details to start your discounted CloudSwipe subcription.


Josh

  • Support Staff

May 17, 2017 at 9:46 pm

That’s interesting. Does your version of Event Espresso 4 have the following for line 233 of the
EEG_Mijireh.gateway.php file?
$response_body = isset( $response[ 'body' ] ) ? json_decode( $response[ 'body' ] ) : '';

You can contact Cloudswipe for support to see if they’re still actively supporting Mijireh at this point or if they’ve completely stopped processing payments via Mijireh. They told us they were going to plan on continuing supporting existing Mijireh customers.


Christine Doyle

May 17, 2017 at 10:42 pm

Josh – What folder should that be in?


Christine Doyle

May 17, 2017 at 10:52 pm

Ah! wp-content > plugins > event-espresso-core-reg > caffeinated > payment_methods > Mijireh

Line 233 says:
$response_body = isset( $response[ ‘body’ ] ) ? json_decode( $response[ ‘body ] ) : ”;

Which looks to me to be exactly the same as what you put in your message.

The CloudSwipe folks think this should still be working.

I am also dealing with my hosting site to make sure that they haven’t done something that is blocking this process.


Tony

  • Support Staff

May 18, 2017 at 3:20 am

There is an issue with the request to Mijireh used to confirm the transaction and it is returning a WP_Error object in place of the actual response.

If you check within Event Espresso -> Payment Methods -> Logs you’ll find multiple log entries, usually for a ‘working’ Mijireh payment there are 4 per transaction, for your’s I’m guessing you’ll have 3.

Either way take a look at the logs for an entry that shows ‘get payment status request_args’, like this – http://take.ms/2mmuL

What do you have in the ‘response’ section of that log entry?


Christine Doyle

May 18, 2017 at 7:18 am

response
errors
http_request_failed
cURL error 77: Problem with the SSL CA cert (path? access rights?)

(and nothing in the error_data section)

… so this makes me think it’s a server/hosting issue. What do you think, and any suggestions for how to work this out?


Josh

  • Support Staff

May 18, 2017 at 7:34 am

The cURL error is most likely a server/hosting issue, and usually what’s needed is the server software needs to be brought up to date.

The support post ‘Mijireh Fatal error: Cannot use object of type WP_Error’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 6 months ago ago

Topic Tags

Notifications

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