• Resolved almostworking

    (@almostworking)


    I get a 404 Error page when the user clicks on the sign-up button that is linked to a page with a contact form 7 form and the details of the sign-up page are displayed in the URL. It has always worked fine until the upgrade.

    Here is the button link:

    <?php global $post; echo '<a id="signup" class="moreinfo" href="/signup?title='.urlencode(get_the_title($post->ID)) .' am '.gmdate("j.n.y", $start) .' in '.get_the_title( $entry['location']).'" >Sign up</a>'; ?>

    Any ideas how I can fix that? It’s pretty urgent.

    Thank you!

    https://www.ads-software.com/plugins/contact-form-7-dynamic-text-extension/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same problem her after updating to 4.4
    Using javascript we change reservation links to something like siteurl/programme/reserveer?title=Movie%20Title
    This is used to show a reservation form with title filled in and then e-mailed to the user and added to the reservation list.
    After updating to WP 4.4 the link results in a 404.

    Hope it can be resolved soon. I’ll revert to 4.3 for now…

    Plugin Author sevenspark

    (@sevenspark)

    Yeah this wouldn’t be related to the DTX, if you’re getting a 404, the plugin hasn’t even ever run. You probably just need to encode your URL properly

    I think, i’d found it.
    If your <form> has an input-field named ‘title’ its value is wrongly used to “query” the target page form DB. Of course there is none with pagename=’xxx’ AND title=’your entry’. I simply renamed the input-field in my plugin…

    Indeed ‘title’ is a reserved word:
    https://codex.www.ads-software.com/Reserved_Terms

    Plugin Author sevenspark

    (@sevenspark)

    Yup, good call, joergy42! And a good reminder that it’s always important to namespace your variables in a modular system like WordPress ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The plugin not working correctly after WP update 4.4’ is closed to new replies.