add_submenu_page being called without parent_slug
-
Perhaps this falls under PHP 8.2 deprecation notices, but the PayPal gateway (and probably others) are trying to add a submenu item without a parent item. Regardless of deprecations this ends up throwing, this simply isn’t how this function is supposed to be used.
If I replace
null
with thetec-tickets
menu item slug, I get the expected link, but wind up on a 404 page. So I’m not sure what’s trying to be accomplished here.We don’t even have PayPal set up as a payment gateway at this time. It’s possible we once did, but we do not at this time. The Payments settings page, under the PayPal tab, shows our connection is not set up. So really, I don’t see why any of this code should be running at all.
FWIW:
Tribe__Tickets__Commerce__PayPal__Handler__IPN::get_config_status()
returns'complete'
tribe_get_option( 'ticket-paypal-enable', false )
returnstrue
TEC\Tickets\Commerce\Gateways\PayPal\Merchant::is_connected()
returnsfalse
- You must be logged in to reply to this topic.