Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kmsgli

    (@kmsgli)

    @threadi
    Thank you so much for your help, it is much appreciated I will mark this as resolved.

    Thread Starter kmsgli

    (@kmsgli)

    @bcworkz I believe you are talking about something like this?

    $form_var = "<form action='' method='post'>
    <input type='email' id='email' name='email'><br><br>
    <input type='submit'></form>";
    
    return $form_var;

    That no longer gives an error but it does not post the results as expected when submit is hit.

    @threadi you solution works perfectly, just so I understand this is an issue with echo occurring to quickly so the ob_star() / ob_get() command places that function into a buffer and is executed later avoiding the issue entirely?

    Thread Starter kmsgli

    (@kmsgli)

    I have tried my plugin between two sites I maintain with the same issue and different themes on each site.

    Either way I have tried deactivating everything but the plugin I am working on and activating twenty twenty one theme.

    Still the issue persists.

    Unsure if this is helpful but I have multiple WordPress installations on one server using different folders for each website in the /srv/http/ folder (using Apache vhosts to direct traffic). This all works great and I have not had any issues setup this way however I read somewhere this error can arise if in the general settings you do not make site address example.com/root_of_wordpress_install/

    I tried this but it would not allow me to login as I kept site url with the scheme example.com/ as I do not want to change that for each site (had to go into the database and change the site address back to gain access again).

    Is this possibly my issue or am I going down the wrong path as my current setup works fine other then this strange issue?

    • This reply was modified 2 years, 5 months ago by kmsgli.
Viewing 3 replies - 1 through 3 (of 3 total)