Hi,
I Need help!
Describe the problem/error/question
I’m experiencing an issue connecting n8n to my WordPress site via the REST API. Here’s a structured overview of the problem and what I’ve tried so far:
Website
-
Domain: https://deaimeesters.com
-
WordPress version: 6.8.3
-
Plugins installed (currently all deactivated for testing): Yoast SEO, Easy Accordion, Litespeed Cache (removed), WPForms Lite, Ultimate FAQ Accordion, Popup Maker, WM Mail SMTM, WP CLI Login Command Server
n8n Setup
-
Node: WordPress
-
Resource: Post
-
Operation: Get Many
-
Credentials: WordPress Admin + Application Password + URL: (https://deaimeesters.com/wp-json/wp/v2/posts)
Problem / Error
-
When executing the node in n8n, I receive the error:
CreateListFromArrayLike called on non-object
And
No fields - item(s) exist, but they're empty
- Inspecting the REST API directly in the browser or Postman (https://deaimeesters.com/wp-json/wp/v2/posts) returns HTML of the homepage instead of JSON.
Steps Taken So Far
-
Deactivated all plugins to rule out plugin interference.
-
Cleared any caches (Litespeed cache removed).
-
Confirmed WordPress Admin user exists and an Application Password is generated for API authentication.
-
Tested endpoint in Postman without authentication → still returns homepage HTML.
Current Status
-
Endpoint still returns the homepage HTML instead of JSON.
-
n8n cannot retrieve posts due to this issue.
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "fb41a96d-7a81-45b4-be4c-b1ca5257ba84",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"operation": "getAll",
"returnAll": true,
"options": {}
},
"type": "n8n-nodes-base.wordpress",
"typeVersion": 1,
"position": [
208,
0
],
"id": "338874b7-0b88-44fd-9bbd-d78831374c5d",
"name": "Get many posts",
"credentials": {
"wordpressApi": {
"id": "wrBnAtIn57WqdU0X",
"name": "Wordpress account"
}
}
}
],
"connections": {
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get many posts",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1ddd1cb5022722f0b813f5bff507a91d557b32665482d3db2eff5b79ef8b16de"
}
}
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: