WooCommerce trigger not working anymore after upgrading to PHP >8.1

Describe the problem/error/question

After upgrading the PHP version of my WordPress from 8.1 to 8.2 or 8.3, the n8n node “WooCommerce Trigger” with order.created doesn’t work anymore. The flow got deactivated and cannot be activated anymore.

What is the error message (if any)?

In the overview and stdout it says:

Workflow could not be activated:

Parse Error: Header overflow

Tried resetting/readding the API key, there it says HPE_HEADER_OVERFLOW

What I see in the WordPress logs is this:

8.1, working:
"DELETE //wp-json/wc/v3/webhooks/123?force=true&consumer_key=ck&consumer_secret=cs HTTP/1.1" 200 666 "-" "axios/1.8.2"

8.3, no longer working:
"DELETE //wp-json/wc/v3/webhooks/123?force=true&consumer_key=ck&consumer_secret=cs HTTP/1.1" 404 104 "-" "axios/1.8.2"

No idea why it would throw a 404 on 8.3 with the very same query.

If I roll back the PHP version to 8.1 it immediately starts working again. Does anyone have an idea what’s going on before I go down the rabbithole?

Information on your n8n setup

  • n8n version: 1.84.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloudron
  • Operating system: Ubuntu 24

Hey @msbt

It sounds like an issue with the php configuration, did you previously change anything in the older version around headers?

Hey @Jon,
thanks for getting back to me. It’s pretty much the same config in a lamp stack, where just the php version is swapped, so not sure how that could change the headers. I will do some more testing on a fresh instance, maybe a plugin is behaving differently on 8.3 than 8.1

Ok quick update here: I’ve made a clone of the website and deactivated all plugins and enabled them 1 by 1 to see if anything trips the API calls. Apparently it stops working after enabling a plugin called “Query Monitor”. So I guess this is solved, I’ll bark up another tree, sorry for the noise :wink:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.