I installed the plugin and activated. All successful. Then I clicked add new and the form came up, but it has a <?php at the top and I wanted to add some OG codes, so I cancelled the form, then looked at the four option – html, js etc, which were all toggled to an off state. As I didn’t see a meta tag example, I turned on the HTML sample and clicked edit and instantly got a HTTP ERROR 500. Had to delete the plugin manually from the plugin folder to get the site up.
I have reproduced the error again on another WP install in a different account (my test server). The error only happened when you turn on the HTML Snippit. Here are the logs:
Parse error: syntax error, unexpected ‘<‘ in /home/xxx/public_html/wordpress2/wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’d code on line 6