Subject: Issue with [_post_url] and [_post_title] in Contact Form on Product Pag
-
Dear Contact Form 7 Support Team,
I’m currently experiencing an issue with one of my contact forms that is embedded across all product pages on my WooCommerce site.
To identify which product the contact form is related to, I’m using the
[_post_url]
and[_post_title]
tags in the message body. This has generally worked well for me, but I recently started using the Premmerce Permalink plugin to remove the/product
slug from my URLs, and I believe this change may be causing errors in the server log.Here’s the error that is being generated in my server logs:
openat() "/var/www/vhosts/xxxx.uk/devsites.xxxx.uk/balnecroftnew/wp-json/contact-form-7/v1/contact-forms/67593/refill" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: devsites.xxxx.uk, request: "GET /balnecroftnew/wp-json/contact-form-7/v1/contact-forms/67593/refill HTTP/2.0", host: "devsites.xxxx.uk", referrer: "https://devsites.xxx.uk/balnecroftnew/specific-product-url/"
(Note: Specific server details have been obscured for privacy.)
I’d greatly appreciate your assistance in resolving this issue, as I rely on the contact form to provide product-specific inquiries. If you need any additional information or details about my setup, please don’t hesitate to ask.
The form is actually working well including the tags, i just want to get rid of the server error logs as there are loads everytime someone visits a product page.
Thank you very much for your time and support.
Best regards,
Daniel
- The topic ‘Subject: Issue with [_post_url] and [_post_title] in Contact Form on Product Pag’ is closed to new replies.