If you have a custom page and it's menu item passes an object argument the path based meta tags wont work.
The problem seems to reside on _metatags_quick_path_based_page() function and more exact in the last check:
!($router_item['page_arguments'][0] instanceof stdClass)
Because of that I had to change my menu entry. Instead of having "node/%node/custom-path" I changed the argument to "node/%/custom-path" and have the node loaded inside the callback using node_load($nid).
Comments
Comment #1
mariusilie commentedComment #2
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.