Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#58625 closed defect (bug) (invalid)

Woocommerce Confilcit with AffiliateWP

Reported by: alex76sw's profile alex76sw Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

I added AffiliateWP and everything seems to be ok until I’m at Affiliate-area, where my affiliates have the option to click on a few tabs like Statistics, Graphs, Referrals, etc.

Once I click on these tabs, I get an error message.

There has been a critical error on this website.

Learn more about troubleshooting WordPress.

I contacted my host to see if they could see any problems, and they pointed out woocommerce and AffiliateWP. I contacted AffiliateWP first and they say there is a conflict between your theme and AffiliateWP. So, now I’m reaching out to you.

This is what AffiliateWP wrote:

There is definitely a conflict with the trio of Jupiter X child, WooCommerce and the Affiliate Area page screens. And, it’s the specific Jupiter X child theme you have active, the other one in your themes page works.

So If I deactivate WooCommerce then the AffiliateWP screens work with the Jupiter X child theme version you have active, or the flip side of a different theme with WooCommerce and AffiliateWP active works just fine.

They also found that cart.php is outdated. jupiterx/lib/templates/woocommerce/cart/cart.php version 7.4.0 is out of date. The core version is 7.8.0,
They said:

Since the critical error crash is very specific to WooCommerce and the template files, I would suggest reaching out to them or your theme support to see if updating those can resolve the error of the combination of products here.

I would also suggest searching your site’s debug or php log files for this same error to see if it is generated in other locations as well:

PHP Fatal error: Uncaught ValueError: Path cannot be empty in /nas/content/live/swmain/wp-content/plugins/woocommerce/includes/wc-template-functions.php:53\

Here is the error message I get from my host:
PHP Fatal error: Uncaught ValueError: Path cannot be empty in /nas/content/live/swmain/wp-content/plugins/woocommerce/includes/wc-template-functions.php:53\nStack trace:\n#0 /nas/content/live/swmain/wp-includes/class-wp-hook.php(308): wc_template_redirect()\n#1 /nas/content/live/swmain/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/swmain/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#3 /nas/content/live/swmain/wp-includes/template-loader.php(13): do_action('template_redire...')\n#4 /nas/content/live/swmain/wp-blog-header.php(19): require_once('/nas/content/li...')\n#5 /nas/content/live/swmain/index.php(17): require('/nas/content/li...')\n#6 {main}\n thrown in /nas/content/live/swmain/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 53, referer: https://www.stormywellington.com/affiliate-area/

How can you help me fix this problem?
What do you need from me so you can take a look.

Thank you,

Change History (1)

#1 @mukesh27
18 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed

Hi and welcome to WordPress Core Trac!

Sorry to hear you are having trouble with your site. Unfortunately, Trac is for bug fixes and improvements to the core software, not plugins.

The support forums would be more helpful for individual site help, particularly the WooCommerce forum in this case or contact that theme support author for more guidance.

Your issue might relate to this report: https://wordpress.org/support/topic/order-with-0-amount/

Last edited 18 months ago by mukesh27 (previous) (diff)
Note: See TracTickets for help on using tickets.