Site crashed adding in jetpack_allow_per_post_subscriptions as code

  • Unknown's avatar

    Hello! My goal is to add-in code that will allow me to limit which new posts are emailed to my subscriber list. In doing some reading in the forums – I installed the plugin Snippet and added in the code jetpack_allow_per_post_subscriptions. I activated it and now my site is down and I can’t uninstall Snippet either as I get the following error ‘Parse error: syntax error, unexpected end of file in /home5/giftergr/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(384) : eval()’d code on line 1’ – how do I fix this?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    To fix the error, use ftp or the file manager in your hosts control panel to delete the code-snippets folder from /wp-content/plugins/

    Once that folder is deleted, you should regain access to the site.

    If you need further help for a self-hosted site, please try posting your question in the WordPress.org support forums.

    There are two different versions of WordPress.

    These forums only provide support for the WordPress.com version; your site appears to use the self-hosted version from WordPress.org.

    To learn about the differences between the two versions of WordPress (.com vs.org), please see this guide.

    Good luck!

  • The topic ‘Site crashed adding in jetpack_allow_per_post_subscriptions as code’ is closed to new replies.