Posted: March 17, 2023 at 6:27 am
Hi, trying to get the square plugin to work. It connects via my username/password, then prompts me to complete the authorization process, and I get a critical error. Please advise. Fatal error: Uncaught TypeError: Argument 2 passed to EE_Gateway::log() must be an instance of EE_Base_Class or null, string given, called in /home/jrinnova/public_html/wp-content/plugins/eea-square-gateway/modules/EED_SquareOnsiteOAuth.module.php on line 845 and defined in /home/jrinnova/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/payment_methods/EE_Gateway.lib.php:345 Stack trace: #0 /home/jrinnova/public_html/wp-content/plugins/eea-square-gateway/modules/EED_SquareOnsiteOAuth.module.php(845): EE_Gateway->log(Array, ‘Payment_Method’) #1 /home/jrinnova/public_html/wp-content/plugins/eea-square-gateway/modules/EED_SquareOnsiteOAuth.module.php(125): EED_SquareOnsiteOAuth::errorLogAndExit(Object(EE_Payment_Method), ‘{“webhook_actio…’, Array, false) #2 /home/jrinnova/public_html/wp-includes/class-wp-hook.php(308): EED_SquareOnsiteOAuth::requestAccess(”) #3 /home/jrinnova/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #4 /home/jrinnova/public_html/wp-includes/p in /home/jrinnova/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/payment_methods/EE_Gateway.lib.php on line 345 |
|
Hi there, I’m looking into this for you. |
|
Hi there, I’ve been able to reproduce this error. I’d recommend, that you download 4.10.46.p from your account page, then deactivate 5.0.0.p and install and replace EE5 with 4.10.46.p. Does that make sense? |
|
Okay will give it a shot thanks. |
|
That worked thanks. |
|
Great. I’ll try to let you know when a new update is available that resolves that issue. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account