Skip to content

Custom Post Settings (to apply to each syndicated post) stopped working for custom namespaces #168

@fl0om

Description

@fl0om

After upgrading FeedWordPress to the latest version (2025.1211 ), my custom field mappings have stopped working. This setup has been working perfectly for several years without any changes to the source XML or settings.

I am using Custom Post Settings to map metadata to WordPress custom fields using a custom namespace.

  • Key: ISBN
  • Value: $(custom_ns:ISBN)

The syntax follows the instructions provided in the plugin interface (similar to the $(media:content/@url) example), but it now fails to fetch the data. The logs show that the value is returned as "none".

2026/01/13 15:11:53 [error] 30123#30123: *110060602 FastCGI sent in stderr: "PHP message: Post ID 942721: Invalid or missing ISBN: none" while reading response header from upstream, client: 127.0.0.1, server: example.com, request: "POST /wp-admin/admin.php?page=feedwordpress%2Fsyndication.php&visibility=Y HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "example.com", referrer: "https://example.com/wp-admin/admin.php?page=feedwordpress%2Fsyndication.php"

Steps taken:

  • Verified that the XML source still contains the <custom_ns:ISBN> tag and the correct namespace definition (xmlns:custom_ns="...").
  • Re-saved the settings to ensure no corruption in the database.

It seems like the XPath-like parser in the new version has issues resolving custom namespaces that were previously handled correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions