Title: kmsgli's Replies | WordPress.org

---

# kmsgli

  [  ](https://wordpress.org/support/users/kmsgli/)

 *   [Profile](https://wordpress.org/support/users/kmsgli/)
 *   [Topics Started](https://wordpress.org/support/users/kmsgli/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kmsgli/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kmsgli/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kmsgli/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kmsgli/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kmsgli/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin echo error](https://wordpress.org/support/topic/plugin-echo-error/)
 *  Thread Starter [kmsgli](https://wordpress.org/support/users/kmsgli/)
 * (@kmsgli)
 * [4 years ago](https://wordpress.org/support/topic/plugin-echo-error/#post-15775925)
 * [@threadi](https://wordpress.org/support/users/threadi/)
    Thank you so much for
   your help, it is much appreciated I will mark this as resolved.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin echo error](https://wordpress.org/support/topic/plugin-echo-error/)
 *  Thread Starter [kmsgli](https://wordpress.org/support/users/kmsgli/)
 * (@kmsgli)
 * [4 years ago](https://wordpress.org/support/topic/plugin-echo-error/#post-15775878)
 * [@bcworkz](https://wordpress.org/support/users/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](https://wordpress.org/support/users/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?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin echo error](https://wordpress.org/support/topic/plugin-echo-error/)
 *  Thread Starter [kmsgli](https://wordpress.org/support/users/kmsgli/)
 * (@kmsgli)
 * [4 years ago](https://wordpress.org/support/topic/plugin-echo-error/#post-15772193)
 * 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 4 years ago by [kmsgli](https://wordpress.org/support/users/kmsgli/).

Viewing 3 replies - 1 through 3 (of 3 total)