'GiveSaleBanners', [ 'apiRoot' => esc_url_raw(rest_url('give-api/v2/sale-banner')), 'apiNonce' => wp_create_nonce('wp_rest'), ] ); wp_enqueue_style('givewp-admin-fonts'); } /** * Helper function to determine if the current page Give admin page * * @since 2.17.0 */ public static function isShowing(): bool { return isset($_GET['post_type']) && $_GET['post_type'] === 'give_forms'; } }
Fatal error: Uncaught Error: Class "Give\Promotions\InPluginUpsells\SaleBanners" not found in /htdocs/wp-content/plugins/give/src/Promotions/ServiceProvider.php:55 Stack trace: #0 /htdocs/wp-content/plugins/give/src/Promotions/ServiceProvider.php(34): Give\Promotions\ServiceProvider->bootPluginUpsells() #1 /htdocs/wp-content/plugins/give/give.php(442): Give\Promotions\ServiceProvider->boot() #2 /htdocs/wp-content/plugins/give/give.php(277): Give->loadServiceProviders() #3 /htdocs/wp-includes/class-wp-hook.php(341): Give->init('') #4 /htdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #5 /htdocs/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /htdocs/wp-settings.php(593): do_action('plugins_loaded') #7 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #8 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #9 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #10 /htdocs/index.php(17): require('/htdocs/wp-blog...') #11 {main} thrown in /htdocs/wp-content/plugins/give/src/Promotions/ServiceProvider.php on line 55