Title: Plugin keeps adding &#8220;&lt;?php&quot; which makes plugin not work.
Last modified: January 10, 2018

---

# Plugin keeps adding “<?php" which makes plugin not work.

 *  [cmiddlet78](https://wordpress.org/support/users/cmiddlet78/)
 * (@cmiddlet78)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/)
 * When entering php snippet, it keeps adding “<?php” in the beginning of the code
   which cause me to get error message “Parse error: syntax error, unexpected ‘<‘
   in “. I have tried clearing and re-entering code and it keeps adding “<?php” 
   to the beginning. Plugin not functional for me at the moment. I use to use this
   plugin but now is unable to.

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

 *  Plugin Author [f1logic](https://wordpress.org/support/users/f1logic/)
 * (@f1logic)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/#post-9853736)
 * this version onwards plugin adds <?php tag wherever required
    but it should not
   break anything please post the snippet which you are trying to create we shall
   check it here and update you
 * or we can check directly in your site , if you could provide your admin login
   at our support desk > [https://xyzscripts.com/support/](https://xyzscripts.com/support/)
    -  This reply was modified 8 years, 4 months ago by [f1logic](https://wordpress.org/support/users/f1logic/).
 *  Thread Starter [cmiddlet78](https://wordpress.org/support/users/cmiddlet78/)
 * (@cmiddlet78)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/#post-9855768)
 * Submitted issue to [https://xyzscripts.com/support/](https://xyzscripts.com/support/).
   Thank you. The code worked for the old version but not the updated one.
 *  [phantomfoot](https://wordpress.org/support/users/phantomfoot/)
 * (@phantomfoot)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/#post-9860760)
 * Same issue here. It used to work great, but now it automatically adds <?php at
   the beginning which breaks the plugin functionality. The page which the shortcode
   is placed on does not load.
 * Please can this be fixed asap? Users can add <?php tag manually anyway if it 
   is needed.
 *  Plugin Author [f1logic](https://wordpress.org/support/users/f1logic/)
 * (@f1logic)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/#post-9861070)
 * could you pls try adding closing tag ?> also for time being and see if it helps

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

The topic ‘Plugin keeps adding “<?php" which makes plugin not work.’ is closed to
new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 3 participants
 * Last reply from: [f1logic](https://wordpress.org/support/users/f1logic/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-keeps-adding-php-which-makes-plugin-not-work/#post-9861070)
 * Status: not resolved