Warning: Undefined array key "affiliates" in /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php on line 75

Warning: foreach() argument must be of type array|object, null given in /srv/www/auvoriaprime.com/releases/20250402144211/vendor/illuminate/collections/Arr.php on line 264

Warning: Undefined array key "customers" in /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php on line 76

Warning: foreach() argument must be of type array|object, null given in /srv/www/auvoriaprime.com/releases/20250402144211/vendor/illuminate/collections/Arr.php on line 264

Fatal error: Uncaught DivisionByZeroError: Division by zero in /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php:78 Stack trace: #0 /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php(34): AuvoriaPrime\Essentials\AffiliateToCustomerRatioSC::get_percentage(Object(DateTimeImmutable)) #1 /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php(18): AuvoriaPrime\Essentials\AffiliateToCustomerRatioSC::affiliate_to_customer_ratio(Array) #2 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/shortcodes.php(434): AuvoriaPrime\Essentials\AffiliateToCustomerRatioSC::{closure:AuvoriaPrime\Essentials\AffiliateToCustomerRatioSC::add_custom_shortcodes():18}(Array, '', 'ap-sc-affiliate...') #3 [internal function]: do_shortcode_tag(Array) #4 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(ap\\-sc...', 'do_shortcode_ta...', '<div class="wp-...') #5 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/class-wp-hook.php(324): do_shortcode('<div class="wp-...') #6 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters('<div class="wp-...', Array) #7 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/blocks/post-content.php(50): apply_filters('the_content', '<!-- wp:group {...') #8 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/class-wp-block.php(537): render_block_core_post_content(Array, '<!-- wp:group {...', Object(WP_Block)) #9 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/class-wp-block.php(517): WP_Block->render() #10 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/blocks.php(2191): WP_Block->render() #11 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/blocks.php(2243): render_block(Array) #12 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/block-template.php(260): do_blocks('<!-- wp:templat...') #13 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/template-canvas.php(12): get_the_block_template_html() #14 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-includes/template-loader.php(106): include('/srv/www/auvori...') #15 /srv/www/auvoriaprime.com/releases/20250402144211/web/wp/wp-blog-header.php(19): require_once('/srv/www/auvori...') #16 /srv/www/auvoriaprime.com/releases/20250402144211/web/index.php(6): require('/srv/www/auvori...') #17 {main} thrown in /srv/www/auvoriaprime.com/releases/20250402144211/web/app/plugins/ap-essentials/src/AffiliateToCustomerRatioSC.php on line 78