Support

Home Forums Event Espresso Premium paypal express can't be deactivated

paypal express can't be deactivated

Posted: August 20, 2022 at 12:03 am


vetpenny

August 20, 2022 at 12:03 am

after I activate the PayPal Express , it showed on the paragraph as follow:

PayPal Express Settings:

Fatal error: Uncaught TypeError: Argument 2 passed to LearnDash\Hub\Controller\Projects_Controller::maybe_append_auth_headers() must be of the type string, null given, called in /home/gipenny/public_html/wp-includes/class-wp-hook.php on line 307 and defined in /home/gipenny/public_html/wp-content/plugins/learndash-hub/src/controller/class-projects-controller.php:106 Stack trace: #0 /home/gipenny/public_html/wp-includes/class-wp-hook.php(307): LearnDash\Hub\Controller\Projects_Controller->maybe_append_auth_headers(Array, NULL) #1 /home/gipenny/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) #2 /home/gipenny/public_html/wp-includes/class-wp-http.php(232): apply_filters(‘http_request_ar…’, Array, NULL) #3 /home/gipenny/public_html/wp-includes/class-wp-http.php(650): WP_Http->request(NULL, Array) #4 /home/gipenny/public_html/wp-includes/http.php(196): WP_Http->head(NULL, Array) #5 /home/gipenny/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/strategies/displa in /home/gipenny/public_html/wp-content/plugins/learndash-hub/src/controller/class-projects-controller.php on line 106


Tony

  • Support Staff

August 22, 2022 at 8:26 am

Hi there,

Thank you for the report.

Event Espresso sends a request to confirm the logo URL input into the field is valid and that the img actually exists at that location, however it is also sending that request for an empty value.

Normally that’s fine, the request will fail and EE will handle the failure as expected, however, in the above, LearnDash is hooking into the request and requires a value that has been set so then throws a fatal error.

I’ve created a ticket to investigate this further

The support post ‘paypal express can't be deactivated’ 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